@@ -109,7 +109,6 @@ private function loadOptions(): CommandLine
109109 Options:
110110 -p <path> Specify PHP interpreter to run (default: php).
111111 -c <path> Look for php.ini file (or look in directory) <path>.
112- -C Use system-wide php.ini.
113112 -d <key=value>... Define INI entry 'key' with value 'value'.
114113 -s Show information about skipped tests.
115114 --stop-on-fail Stop execution upon the first failure.
@@ -128,6 +127,7 @@ private function loadOptions(): CommandLine
128127 XX,
129128 [
130129 '-c ' => [CommandLine::RealPath => true ],
130+ '-C ' => [], // deprecated
131131 '--watch ' => [CommandLine::Repeatable => true , CommandLine::RealPath => true ],
132132 '--setup ' => [CommandLine::RealPath => true ],
133133 '--temp ' => [],
@@ -189,11 +189,9 @@ private function loadOptions(): CommandLine
189189
190190 private function createPhpInterpreter (): void
191191 {
192- $ args = $ this -> options [ ' -C ' ] ? [] : [ ' -n ' ];
192+ $ args = [ ];
193193 if ($ this ->options ['-c ' ]) {
194194 array_push ($ args , '-c ' , $ this ->options ['-c ' ]);
195- } elseif (!$ this ->options ['--info ' ] && !$ this ->options ['-C ' ]) {
196- echo "Note: No php.ini is used. \n" ;
197195 }
198196
199197 if (in_array ($ this ->stdoutFormat , ['tap ' , 'junit ' ], strict: true )) {
0 commit comments