Skip to content

Commit

Permalink
Merge pull request #15 from zf1s/composer2-compat-win
Browse files Browse the repository at this point in the history
fixes circular dependency issue at zf1s/zf1 when composer2 is used (on windows)
  • Loading branch information
partikus authored Nov 27, 2022
2 parents ae0084e + ca6e99a commit be847a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PHPUnit/Util/GlobalState.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public static function getIncludedFilesAsString()
// Do not process bootstrap script - composer v2 compatibility
// https://github.com/composer/composer/issues/10387#issuecomment-1002942296
// https://github.com/sebastianbergmann/phpunit/pull/4846
while (strpos($files[0], 'bin/phpunit') !== false) {
while (strpos($files[0], 'bin' . DIRECTORY_SEPARATOR . 'phpunit') !== false) {
array_shift($files);
}

Expand Down

0 comments on commit be847a6

Please sign in to comment.