We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a58ee commit 9c67317Copy full SHA for 9c67317
Test/WebTestCase.php
@@ -103,10 +103,14 @@ private static function getPhpUnitCliConfigArgument()
103
if (preg_match('/^-[^ \-]*c$/', $testArg) || $testArg === '--configuration') {
104
$dir = realpath($reversedArgs[$argIndex - 1]);
105
break;
106
- } elseif (strpos($testArg, '--configuration=') === 0) {
+ } elseif (0 === strpos($testArg, '--configuration=')) {
107
$argPath = substr($testArg, strlen('--configuration='));
108
$dir = realpath($argPath);
109
110
+ } elseif (0 === strpos($testArg, '-c')) {
111
+ $argPath = substr($testArg, strlen('-c'));
112
+ $dir = realpath($argPath);
113
+ break;
114
}
115
116
0 commit comments