Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Fix phpstan function.notFound #9366

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/system/CommonHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function foo_bar_baz(): string
}
}

$this->assertSame($this->dummyHelpers[0], foo_bar_baz());
$this->assertSame($this->dummyHelpers[0], foo_bar_baz()); // @phpstan-ignore-line function.notFound
}

public function testNamespacedHelperNotFound(): void
Expand Down
8 changes: 0 additions & 8 deletions utils/phpstan-baseline/function.notFound.neon

This file was deleted.

1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ includes:
- expr.resultUnused.neon
- function.alreadyNarrowedType.neon
- function.inner.neon
- function.notFound.neon
- generator.returnType.neon
- generator.valueType.neon
- greaterOrEqual.invalid.neon
Expand Down
Loading