@@ -81,7 +81,7 @@ public function testInputAndCurrentOptionValidation(array $input, ?string $excep
8181 }
8282 }
8383
84- public function provideInputAndCurrentOptionValues ()
84+ public static function provideInputAndCurrentOptionValues ()
8585 {
8686 yield [[], 'The "--current" option must be set and it must be an integer ' ];
8787 yield [['--current ' => 'a ' ], 'The "--current" option must be set and it must be an integer ' ];
@@ -100,7 +100,7 @@ public function testCompleteCommandName(array $input, array $suggestions)
100100 $ this ->assertEquals (implode ("\n" , $ suggestions ).\PHP_EOL , $ this ->tester ->getDisplay ());
101101 }
102102
103- public function provideCompleteCommandNameInputs ()
103+ public static function provideCompleteCommandNameInputs ()
104104 {
105105 yield 'empty ' => [['bin/console ' ], ['help ' , 'list ' , 'completion ' , 'hello ' , 'ahoy ' ]];
106106 yield 'partial ' => [['bin/console ' , 'he ' ], ['help ' , 'list ' , 'completion ' , 'hello ' , 'ahoy ' ]];
@@ -117,7 +117,7 @@ public function testCompleteCommandInputDefinition(array $input, array $suggesti
117117 $ this ->assertEquals (implode ("\n" , $ suggestions ).\PHP_EOL , $ this ->tester ->getDisplay ());
118118 }
119119
120- public function provideCompleteCommandInputDefinitionInputs ()
120+ public static function provideCompleteCommandInputDefinitionInputs ()
121121 {
122122 yield 'definition ' => [['bin/console ' , 'hello ' , '- ' ], ['--help ' , '--quiet ' , '--verbose ' , '--version ' , '--ansi ' , '--no-ansi ' , '--no-interaction ' ]];
123123 yield 'custom ' => [['bin/console ' , 'hello ' ], ['Fabien ' , 'Robin ' , 'Wouter ' ]];
0 commit comments