diff --git a/tests/system/CommonHelperTest.php b/tests/system/CommonHelperTest.php index 8a41f7972a9e..04e6c9eebb1f 100644 --- a/tests/system/CommonHelperTest.php +++ b/tests/system/CommonHelperTest.php @@ -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 diff --git a/utils/phpstan-baseline/function.notFound.neon b/utils/phpstan-baseline/function.notFound.neon deleted file mode 100644 index 8cc185754011..000000000000 --- a/utils/phpstan-baseline/function.notFound.neon +++ /dev/null @@ -1,8 +0,0 @@ -# total 1 error - -parameters: - ignoreErrors: - - - message: '#^Function foo_bar_baz not found\.$#' - count: 1 - path: ../../tests/system/CommonHelperTest.php diff --git a/utils/phpstan-baseline/loader.neon b/utils/phpstan-baseline/loader.neon index 789d5ef7e1ef..b81067460d0e 100644 --- a/utils/phpstan-baseline/loader.neon +++ b/utils/phpstan-baseline/loader.neon @@ -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