Skip to content

Commit 821dd96

Browse files
committed
PHP 7.1 compatibility
1 parent 528115f commit 821dd96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/PHPFUI/PHPUnitSyntaxCoverage/Extensions.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
class ClassFinder extends \PhpParser\NodeVisitorAbstract
1616
{
1717

18-
private array $classes = [];
19-
private string $currentNamespace = '';
18+
private $classes = [];
19+
private $currentNamespace = '';
2020

2121
public function enterNode(\PhpParser\Node $node) : void
2222
{
@@ -40,7 +40,7 @@ public function getClasses() : array
4040
class Extensions extends \PHPUnit\Framework\TestCase implements \PHPUnit\Runner\Hook
4141
{
4242

43-
private static \PhpParser\Parser $parser;
43+
private static $parser = null;
4444

4545
public static function setUpBeforeClass() : void
4646
{

0 commit comments

Comments
 (0)