@@ -301,7 +301,7 @@ public function testInvalidInput($value)
301
301
$ process ->setInput ($ value );
302
302
}
303
303
304
- public function provideInvalidInputValues ()
304
+ public static function provideInvalidInputValues ()
305
305
{
306
306
return [
307
307
[[]],
@@ -319,7 +319,7 @@ public function testValidInput($expected, $value)
319
319
$ this ->assertSame ($ expected , $ process ->getInput ());
320
320
}
321
321
322
- public function provideInputValues ()
322
+ public static function provideInputValues ()
323
323
{
324
324
return [
325
325
[null , null ],
@@ -328,7 +328,7 @@ public function provideInputValues()
328
328
];
329
329
}
330
330
331
- public function chainedCommandsOutputProvider ()
331
+ public static function chainedCommandsOutputProvider ()
332
332
{
333
333
if ('\\' === \DIRECTORY_SEPARATOR ) {
334
334
return [
@@ -422,7 +422,7 @@ public function testIncrementalOutput($getOutput, $getIncrementalOutput, $uri)
422
422
fclose ($ h );
423
423
}
424
424
425
- public function provideIncrementalOutput ()
425
+ public static function provideIncrementalOutput ()
426
426
{
427
427
return [
428
428
['getOutput ' , 'getIncrementalOutput ' , 'php://stdout ' ],
@@ -957,7 +957,7 @@ public function testMethodsThatNeedARunningProcess($method)
957
957
$ process ->{$ method }();
958
958
}
959
959
960
- public function provideMethodsThatNeedARunningProcess ()
960
+ public static function provideMethodsThatNeedARunningProcess ()
961
961
{
962
962
return [
963
963
['getOutput ' ],
@@ -988,7 +988,7 @@ public function testMethodsThatNeedATerminatedProcess($method)
988
988
throw $ e ;
989
989
}
990
990
991
- public function provideMethodsThatNeedATerminatedProcess ()
991
+ public static function provideMethodsThatNeedATerminatedProcess ()
992
992
{
993
993
return [
994
994
['hasBeenSignaled ' ],
@@ -1093,7 +1093,7 @@ public function testGetOutputWhileDisabled($fetchMethod)
1093
1093
$ p ->{$ fetchMethod }();
1094
1094
}
1095
1095
1096
- public function provideOutputFetchingMethods ()
1096
+ public static function provideOutputFetchingMethods ()
1097
1097
{
1098
1098
return [
1099
1099
['getOutput ' ],
@@ -1130,7 +1130,7 @@ public function testTermSignalTerminatesProcessCleanly()
1130
1130
$ this ->assertTrue (true , 'A call to signal() is not expected to cause wait() to throw a RuntimeException ' );
1131
1131
}
1132
1132
1133
- public function responsesCodeProvider ()
1133
+ public static function responsesCodeProvider ()
1134
1134
{
1135
1135
return [
1136
1136
// expected output / getter / code to execute
@@ -1140,7 +1140,7 @@ public function responsesCodeProvider()
1140
1140
];
1141
1141
}
1142
1142
1143
- public function pipesCodeProvider ()
1143
+ public static function pipesCodeProvider ()
1144
1144
{
1145
1145
$ variations = [
1146
1146
'fwrite(STDOUT, $in = file_get_contents( \'php://stdin \')); fwrite(STDERR, $in); ' ,
@@ -1183,7 +1183,7 @@ public function testIncrementalOutputDoesNotRequireAnotherCall($stream, $method)
1183
1183
$ process ->stop ();
1184
1184
}
1185
1185
1186
- public function provideVariousIncrementals ()
1186
+ public static function provideVariousIncrementals ()
1187
1187
{
1188
1188
return [
1189
1189
['php://stdout ' , 'getIncrementalOutput ' ],
@@ -1449,7 +1449,7 @@ public function testRawCommandLine()
1449
1449
$ this ->assertSame ($ expected , str_replace ('Standard input code ' , '- ' , $ p ->getOutput ()));
1450
1450
}
1451
1451
1452
- public function provideEscapeArgument ()
1452
+ public static function provideEscapeArgument ()
1453
1453
{
1454
1454
yield ['a"b%c% ' ];
1455
1455
yield ['a"b^c^ ' ];
0 commit comments