Skip to content

Commit

Permalink
Update BetterReflection to v4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Mar 4, 2020
1 parent 4d69043 commit d56c832
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"nette/utils": "^3.1.1",
"nikic/php-parser": "^4.3.0",
"ondram/ci-detector": "^3.1",
"ondrejmirtes/better-reflection": "^3.5.6",
"ondrejmirtes/better-reflection": "^4.0.1",
"phpstan/phpdoc-parser": "^0.4.3",
"react/child-process": "^0.6.1",
"react/event-loop": "^1.1",
Expand Down
4 changes: 3 additions & 1 deletion tests/PHPStan/Composer/AutoloadFilesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ public function testExpectedFiles(): void
if ($vendorPath === false) {
throw new \PHPStan\ShouldNotHappenException();
}
foreach ($finder->files()->name('composer.json')->in(__DIR__ . '/../../../vendor') as $fileInfo) {
foreach ($finder->files()->name('composer.json')->in(__DIR__ . '/../../../vendor')->exclude([
'ondrejmirtes/better-reflection/test',
]) as $fileInfo) {
$realpath = $fileInfo->getRealPath();
if ($realpath === false) {
throw new \PHPStan\ShouldNotHappenException();
Expand Down

0 comments on commit d56c832

Please sign in to comment.