[PhpUnitBridge] fix PHP 5.3 compat
This commit is contained in:
parent
9b8911598b
commit
f7fc3cf6cb
@ -75,7 +75,7 @@ class CoverageListenerTrait
|
||||
|
||||
$covers = $sutFqcn;
|
||||
if (!\is_array($sutFqcn)) {
|
||||
$covers = [$sutFqcn];
|
||||
$covers = array($sutFqcn);
|
||||
while ($parent = get_parent_class($sutFqcn)) {
|
||||
$covers[] = $parent;
|
||||
$sutFqcn = $parent;
|
||||
|
Reference in New Issue
Block a user