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 7ae279b commit 2e77901Copy full SHA for 2e77901
Internal/ComposerPlugin.php
@@ -84,7 +84,7 @@ public function updateAutoloadFile(): void
84
$projectDir = $fs->makePathRelative($projectDir, $vendorDir);
85
$nestingLevel = 0;
86
87
- while (0 === strpos($projectDir, '../')) {
+ while (str_starts_with($projectDir, '../')) {
88
++$nestingLevel;
89
$projectDir = substr($projectDir, 3);
90
}
0 commit comments