diff --git a/tests/Fixer/ControlStructure/YodaStyleFixerTest.php b/tests/Fixer/ControlStructure/YodaStyleFixerTest.php index 57e275af9f3..89c7d323b0b 100644 --- a/tests/Fixer/ControlStructure/YodaStyleFixerTest.php +++ b/tests/Fixer/ControlStructure/YodaStyleFixerTest.php @@ -1003,7 +1003,7 @@ public function provideFixPrePHP80Cases() * @dataProvider provideFix80Cases * @requires PHP 8.0 */ - public function testFix80(string $expected, string $input, array $config): void + public function testFix80(string $expected, string $input, array $config = []): void { $this->fixer->configure($config); $this->doTest($expected, $input);