Skip to content

Commit d56c832

Browse files
committed
Update BetterReflection to v4.0
1 parent 4d69043 commit d56c832

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"nette/utils": "^3.1.1",
2222
"nikic/php-parser": "^4.3.0",
2323
"ondram/ci-detector": "^3.1",
24-
"ondrejmirtes/better-reflection": "^3.5.6",
24+
"ondrejmirtes/better-reflection": "^4.0.1",
2525
"phpstan/phpdoc-parser": "^0.4.3",
2626
"react/child-process": "^0.6.1",
2727
"react/event-loop": "^1.1",

tests/PHPStan/Composer/AutoloadFilesTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ public function testExpectedFiles(): void
1919
if ($vendorPath === false) {
2020
throw new \PHPStan\ShouldNotHappenException();
2121
}
22-
foreach ($finder->files()->name('composer.json')->in(__DIR__ . '/../../../vendor') as $fileInfo) {
22+
foreach ($finder->files()->name('composer.json')->in(__DIR__ . '/../../../vendor')->exclude([
23+
'ondrejmirtes/better-reflection/test',
24+
]) as $fileInfo) {
2325
$realpath = $fileInfo->getRealPath();
2426
if ($realpath === false) {
2527
throw new \PHPStan\ShouldNotHappenException();

0 commit comments

Comments
 (0)