Merge branch '4.3' into 4.4
* 4.3: [PhpUnitBridge] fix undefined variables
This commit is contained in:
commit
de346f1fe3
@ -28,29 +28,10 @@ class Deprecation
|
|||||||
const TYPE_INDIRECT = 'type_indirect';
|
const TYPE_INDIRECT = 'type_indirect';
|
||||||
const TYPE_UNDETERMINED = 'type_undetermined';
|
const TYPE_UNDETERMINED = 'type_undetermined';
|
||||||
|
|
||||||
/**
|
private $trace = [];
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
private $trace;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
private $message;
|
private $message;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var ?string
|
|
||||||
*/
|
|
||||||
private $originClass;
|
private $originClass;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var ?string
|
|
||||||
*/
|
|
||||||
private $originMethod;
|
private $originMethod;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
private $triggeringFile;
|
private $triggeringFile;
|
||||||
|
|
||||||
/** @var string[] Absolute paths to vendor directories */
|
/** @var string[] Absolute paths to vendor directories */
|
||||||
@ -262,7 +243,7 @@ class Deprecation
|
|||||||
private static function getVendors()
|
private static function getVendors()
|
||||||
{
|
{
|
||||||
if (null === self::$vendors) {
|
if (null === self::$vendors) {
|
||||||
self::$vendors = [];
|
self::$vendors = $paths = [];
|
||||||
foreach (get_declared_classes() as $class) {
|
foreach (get_declared_classes() as $class) {
|
||||||
if ('C' === $class[0] && 0 === strpos($class, 'ComposerAutoloaderInit')) {
|
if ('C' === $class[0] && 0 === strpos($class, 'ComposerAutoloaderInit')) {
|
||||||
$r = new \ReflectionClass($class);
|
$r = new \ReflectionClass($class);
|
||||||
|
Reference in New Issue
Block a user