Skip to content

Commit f8d8875

Browse files
bug symfony#25230 Use a more specific file for detecting the bridge (greg0ire)
This PR was merged into the 3.4 branch. Discussion ---------- Use a more specific file for detecting the bridge | Q | A | ------------- | --- | Branch? | 3.4 because this patch cannot apply before | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#25228 | License | MIT | Doc PR | n/a Commits ------- 355bbd1 Use a more specific file for detecting the bridge
2 parents 76d356f + 355bbd1 commit f8d8875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if (PHP_VERSION_ID >= 70200) {
2727
}
2828

2929
$root = __DIR__;
30-
while (!file_exists($root.'/composer.json') || file_exists($root.'/bin/simple-phpunit')) {
30+
while (!file_exists($root.'/composer.json') || file_exists($root.'/DeprecationErrorHandler.php')) {
3131
if ($root === dirname($root)) {
3232
break;
3333
}

0 commit comments

Comments
 (0)