Skip to content

Commit be847a6

Browse files
authored
Merge pull request #15 from zf1s/composer2-compat-win
fixes circular dependency issue at zf1s/zf1 when composer2 is used (on windows)
2 parents ae0084e + ca6e99a commit be847a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PHPUnit/Util/GlobalState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public static function getIncludedFilesAsString()
201201
// Do not process bootstrap script - composer v2 compatibility
202202
// https://github.com/composer/composer/issues/10387#issuecomment-1002942296
203203
// https://github.com/sebastianbergmann/phpunit/pull/4846
204-
while (strpos($files[0], 'bin/phpunit') !== false) {
204+
while (strpos($files[0], 'bin' . DIRECTORY_SEPARATOR . 'phpunit') !== false) {
205205
array_shift($files);
206206
}
207207

0 commit comments

Comments
 (0)