Skip to content

Commit 2708333

Browse files
Fix CS/WS issues
1 parent 05def51 commit 2708333

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Util/GlobalState.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace PHPUnit\Util;
1111

1212
use function array_keys;
13+
use function array_shift;
1314
use function count;
1415
use function defined;
1516
use function get_defined_constants;
@@ -23,6 +24,8 @@
2324
use function serialize;
2425
use function sprintf;
2526
use function strpos;
27+
use function strtr;
28+
use function substr;
2629
use function var_export;
2730
use Closure;
2831

@@ -69,6 +72,7 @@ public static function processIncludedFilesAsString(array $files): string
6972

7073
// Do not process bootstrap script
7174
array_shift($files);
75+
7276
// If bootstrap script was a Composer bin proxy, skip the second entry as well
7377
if (substr(strtr($files[0], '\\', '/'), -24) === '/phpunit/phpunit/phpunit') {
7478
array_shift($files);

0 commit comments

Comments
 (0)