Skip to content

Commit b85a134

Browse files
[PhpUnitBridge] fix uninitialized variable
1 parent 1b5a6fd commit b85a134

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

DeprecationErrorHandler/Deprecation.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,15 @@ class Deprecation
5252
*/
5353
private $triggeringFile;
5454

55-
/** @var string[] absolute paths to vendor directories */
55+
/** @var string[] Absolute paths to vendor directories */
5656
private static $vendors;
5757

5858
/**
59-
* @var string[] absolute paths to source or tests of the project. This
60-
* excludes cache directories, because it is based on
61-
* autoloading rules and cache systems typically do not use
62-
* those.
59+
* @var string[] Absolute paths to source or tests of the project, cache
60+
* directories exlcuded because it is based on autoloading
61+
* rules and cache systems typically do not use those
6362
*/
64-
private static $internalPaths;
63+
private static $internalPaths = [];
6564

6665
/**
6766
* @param string $message

0 commit comments

Comments
 (0)