Skip to content

Commit

Permalink
constants unit test fix for php < 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bkdotcom committed Aug 5, 2024
1 parent c22cde5 commit af62ce1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/Debug/Type/ObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static function ($foo, $bar) {
: null,
'desc' => PHP_VERSION_ID >= 70100
? 'Interface summary'
: null,
: '',
'isFinal' => false,
'type' => null,
'value' => 'never change',
Expand Down Expand Up @@ -975,7 +975,7 @@ public function testAbstraction()
'declaredPrev' => null,
'desc' => PHP_VERSION_ID >= 70100
? 'Inherited description'
: null,
: '',
'isFinal' => false,
'type' => null,
'value' => 'defined in TestBase',
Expand All @@ -992,7 +992,7 @@ public function testAbstraction()
: null,
'desc' => PHP_VERSION_ID >= 70100
? 'constant documentation'
: null,
: '',
'isFinal' => false,
'type' => null,
'value' => 'redefined in Test',
Expand Down
2 changes: 1 addition & 1 deletion tests/Debug/data/ConfusableIdentifiers.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'declaredPrev' => null,
'desc' => PHP_VERSION_ID >= 70100
? '[𐊢]onst <b>desc</b>'
: null,
: '',
'isFinal' => false,
'type' => null,
'value' => 'fσo',
Expand Down

0 comments on commit af62ce1

Please sign in to comment.