Skip to content

Commit d7b5f4c

Browse files
Merge branch '4.4'
* 4.4: Update GitHub PR template [DI] fix related to preloading [HttpKernel] fix compat with legacy DebugClassLoader [WebProfilerBundle] Assign automatic colors to custom Stopwatch categories [DI] use dirname() when possible Simplify usage of dirname() Remove Google references when not needed Simplify usage of dirname() don't dump a scalar tag value on its own line Remove Google references when not needed [DI] fix Preloader [HttpClient] fix calling the buffer-enabling callback [HttpClient] fix php notice on push do not perform string operations on null Require exact match when reading from stdin with a dash
2 parents cc0b8c7 + 33ac60e commit d7b5f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DeprecationErrorHandler/Deprecation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private static function getVendors()
267267
foreach (get_declared_classes() as $class) {
268268
if ('C' === $class[0] && 0 === strpos($class, 'ComposerAutoloaderInit')) {
269269
$r = new \ReflectionClass($class);
270-
$v = \dirname(\dirname($r->getFileName()));
270+
$v = \dirname($r->getFileName(), 2);
271271
if (file_exists($v.'/composer/installed.json')) {
272272
self::$vendors[] = $v;
273273
$loader = require $v.'/autoload.php';

0 commit comments

Comments
 (0)