We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea78fd commit 1bea774Copy full SHA for 1bea774
src/Symfony/Component/VarDumper/Caster/LinkStub.php
@@ -89,7 +89,11 @@ private function getComposerRoot($file, &$inVendor)
89
}
90
91
$parent = $dir;
92
- while (!file_exists($parent.'/composer.json')) {
+ while (!@file_exists($parent.'/composer.json')) {
93
+ if (!@file_exists($parent)) {
94
+ // open_basedir restriction in effect
95
+ break;
96
+ }
97
if ($parent === dirname($parent)) {
98
return self::$composerRoots[$dir] = false;
99
0 commit comments