Skip to content

Commit

Permalink
fix failing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mzk committed Aug 24, 2023
1 parent 857dd51 commit 254ed45
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/Sniffs/Whitespaces/SpaceInNamedArgumentSniffTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ public function testNoErrors(): void
public function testErrors(): void
{
$report = self::checkFile(__DIR__ . '/data/spaceInNamedArgument.php');
self::assertSniffError($report, 3, SpaceInNamedArgumentSniff::ERROR_CODE, 'Remove the space before colon in named argument `search: `');
self::assertSniffError(
$report,
3,
SpaceInNamedArgumentSniff::ERROR_CODE,
'Remove the space before colon in named argument `search: `'
);
self::assertSniffError($report, 4, SpaceInNamedArgumentSniff::ERROR_CODE, 'Missing space after colon in named argument `search`');
self::assertAllFixedInFile($report);
}
Expand Down

0 comments on commit 254ed45

Please sign in to comment.