Made reference to PHPUnit\Util\XML::loadfile php5-compatible.
This commit is contained in:
parent
33e7130d65
commit
4bf640543a
@ -23,7 +23,7 @@ class TranslationFilesTest extends TestCase
|
||||
{
|
||||
$loader = class_exists(Loader::class)
|
||||
? [new Loader(), 'loadFile']
|
||||
: 'PHPUnit\Util\XML::loadfile';
|
||||
: ['PHPUnit\Util\XML', 'loadfile'];
|
||||
|
||||
$loader($filePath, false, false, true);
|
||||
|
||||
|
@ -23,7 +23,7 @@ class TranslationFilesTest extends TestCase
|
||||
{
|
||||
$loader = class_exists(Loader::class)
|
||||
? [new Loader(), 'loadFile']
|
||||
: 'PHPUnit\Util\XML::loadfile';
|
||||
: ['PHPUnit\Util\XML', 'loadfile'];
|
||||
|
||||
$loader($filePath, false, false, true);
|
||||
|
||||
|
@ -23,7 +23,7 @@ class TranslationFilesTest extends TestCase
|
||||
{
|
||||
$loader = class_exists(Loader::class)
|
||||
? [new Loader(), 'loadFile']
|
||||
: 'PHPUnit\Util\XML::loadfile';
|
||||
: ['PHPUnit\Util\XML', 'loadfile'];
|
||||
|
||||
$loader($filePath, false, false, true);
|
||||
|
||||
|
Reference in New Issue
Block a user