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 b592dcb commit 1b5a6fdCopy full SHA for 1b5a6fd
DeprecationErrorHandler/Deprecation.php
@@ -269,7 +269,7 @@ private static function getVendors()
269
foreach (get_declared_classes() as $class) {
270
if ('C' === $class[0] && 0 === strpos($class, 'ComposerAutoloaderInit')) {
271
$r = new \ReflectionClass($class);
272
- $v = \dirname(\dirname($r->getFileName()));
+ $v = \dirname($r->getFileName(), 2);
273
if (file_exists($v.'/composer/installed.json')) {
274
self::$vendors[] = $v;
275
$loader = require $v.'/autoload.php';
0 commit comments