Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 400ab7c

Browse filesBrowse files
bug #37095 [PhpUnitBridge] Fix undefined index when output of "composer show" cannot be parsed (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [PhpUnitBridge] Fix undefined index when output of "composer show" cannot be parsed …nnot be parsed | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #37086 | License | MIT | Doc PR | - Commits ------- d3f9b7f [PhpUnitBridge] Fix undefined index when output of "composer show" cannot be parsed
2 parents edd0065 + d3f9b7f commit 400ab7c
Copy full SHA for 400ab7c

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎src/Symfony/Bridge/PhpUnit/bin/simple-phpunit

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/PhpUnit/bin/simple-phpunit
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
106106
}
107107
}
108108

109+
$info += [
110+
'versions' => [],
111+
'requires' => ['php' => '*'],
112+
];
113+
109114
if (1 === \count($info['versions'])) {
110115
$passthruOrFail("$COMPOSER create-project --ignore-platform-reqs --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi -s dev phpunit/phpunit phpunit-$PHPUNIT_VERSION \"$PHPUNIT_VERSION.*\"");
111116
} else {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.