From 2f6dc5eed1a834d8c78f575f016e613570ce92f5 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Thu, 19 Sep 2019 16:48:53 +0200 Subject: [PATCH] [PhpUnitBridge] fix uninitialized variable --- .../PhpUnit/DeprecationErrorHandler/Deprecation.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php b/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php index 8879606722..fde0d0efca 100644 --- a/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php +++ b/src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler/Deprecation.php @@ -52,16 +52,15 @@ class Deprecation */ private $triggeringFile; - /** @var string[] absolute paths to vendor directories */ + /** @var string[] Absolute paths to vendor directories */ private static $vendors; /** - * @var string[] absolute paths to source or tests of the project. This - * excludes cache directories, because it is based on - * autoloading rules and cache systems typically do not use - * those. + * @var string[] Absolute paths to source or tests of the project, cache + * directories exlcuded because it is based on autoloading + * rules and cache systems typically do not use those */ - private static $internalPaths; + private static $internalPaths = []; /** * @param string $message