Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 23, 2021
1 parent 05def51 commit 2708333
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Util/GlobalState.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
namespace PHPUnit\Util;

use function array_keys;
use function array_shift;
use function count;
use function defined;
use function get_defined_constants;
Expand All @@ -23,6 +24,8 @@
use function serialize;
use function sprintf;
use function strpos;
use function strtr;
use function substr;
use function var_export;
use Closure;

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

// Do not process bootstrap script
array_shift($files);

// If bootstrap script was a Composer bin proxy, skip the second entry as well
if (substr(strtr($files[0], '\\', '/'), -24) === '/phpunit/phpunit/phpunit') {
array_shift($files);
Expand Down

0 comments on commit 2708333

Please sign in to comment.