Skip to content

Commit

Permalink
minor #5645 DX: YodaStyleFixerTest - fix CI (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 CI

I noticed it here:
 https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5641/checks?check_run_id=2374783267

FYI @kubawerlos , looks like coming from #5586

Commits
-------

e9cdb51 DX: YodaStyleFixerTest - fix CI
  • Loading branch information
keradus committed Apr 18, 2021
2 parents 4d01b59 + e9cdb51 commit f594a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Fixer/ControlStructure/YodaStyleFixerTest.php
Original file line number Diff line number Diff line change
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, array $config = []): void
{
$this->fixer->configure($config);
$this->doTest($expected, $input);
Expand Down

0 comments on commit f594a0b

Please sign in to comment.