Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80298a9

Browse files
add install argument
1 parent 1bb796d commit 80298a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ if (1 === count($phpUnitConfigFiles)) {
6666

6767
if (count($runningProcs)) {
6868
$exit = runProcs($runningProcs);
69-
} elseif (!isset($argv[1]) || 'install' !== $argv[1] || file_exists('install')) {
69+
} elseif (isset($argv[1]) && 'install' === $argv[1] || file_exists('install')) {
70+
// Only install phpunit
71+
getPhpUnit($phpUnitVersion, $phpUnitConfigFile);
72+
} else {
7073
if (!class_exists('SymfonyBlacklistSimplePhpunit', false)) {
7174
class SymfonyBlacklistSimplePhpunit {}
7275
}

0 commit comments

Comments
 (0)