minor #37782 Made reference to PHPUnit\Util\XML::loadfile php5-compatible (derrabus)
This PR was merged into the 3.4 branch.
Discussion
----------
Made reference to PHPUnit\Util\XML::loadfile php5-compatible
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | N/A
| License | MIT
| Doc PR | N/A
Fixup of #37778. My code was apparently not php5-friendly. Sorry for that. 😓
Commits
-------
4bf640543a
Made reference to PHPUnit\Util\XML::loadfile php5-compatible.
This commit is contained in:
commit
cd5769f350
@ -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