bug #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 | #25228
| License | MIT
| Doc PR | n/a
Commits
-------
355bbd1
Use a more specific file for detecting the bridge
This commit is contained in:
commit
f8d8875fe9
@ -27,7 +27,7 @@ if (PHP_VERSION_ID >= 70200) {
|
||||
}
|
||||
|
||||
$root = __DIR__;
|
||||
while (!file_exists($root.'/composer.json') || file_exists($root.'/bin/simple-phpunit')) {
|
||||
while (!file_exists($root.'/composer.json') || file_exists($root.'/DeprecationErrorHandler.php')) {
|
||||
if ($root === dirname($root)) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user