Skip to content

Commit

Permalink
minor #5649 DX: YodaStyleFixerTest - fix 8.0 compat (keradus)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0 branch.

Discussion
----------

DX: YodaStyleFixerTest - fix 8.0 compat

Commits
-------

5a596d9 DX: YodaStyleFixerTest - fix 8.0 compat
  • Loading branch information
keradus committed Apr 19, 2021
2 parents 494acde + 5a596d9 commit 1469c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Fixer/ControlStructure/YodaStyleFixerTest.php
Expand Up @@ -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 = null, array $config = []): void
{
$this->fixer->configure($config);
$this->doTest($expected, $input);
Expand Down

0 comments on commit 1469c3a

Please sign in to comment.