Skip to content

Commit

Permalink
Made reference to PHPUnit\Util\XML::loadfile php5-compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Aug 9, 2020
1 parent 0e57db8 commit 54bf96a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Resources/TranslationFilesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testTranslationFileIsValid($filePath)
{
$loader = class_exists(Loader::class)
? [new Loader(), 'loadFile']
: 'PHPUnit\Util\XML::loadfile';
: ['PHPUnit\Util\XML', 'loadfile'];

$loader($filePath, false, false, true);

Expand Down

0 comments on commit 54bf96a

Please sign in to comment.