Skip to content

Commit 91e788a

Browse files
authored
refactor: phpstan function.notFound (#9366)
1 parent 046967a commit 91e788a

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

tests/system/CommonHelperTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function foo_bar_baz(): string
148148
}
149149
}
150150

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

154154
public function testNamespacedHelperNotFound(): void

utils/phpstan-baseline/function.notFound.neon

-8
This file was deleted.

utils/phpstan-baseline/loader.neon

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ includes:
1818
- expr.resultUnused.neon
1919
- function.alreadyNarrowedType.neon
2020
- function.inner.neon
21-
- function.notFound.neon
2221
- generator.returnType.neon
2322
- generator.valueType.neon
2423
- greaterOrEqual.invalid.neon

0 commit comments

Comments
 (0)