Skip to content

Commit

Permalink
Fix UselessCastRuleTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
mad-briller authored and ondrejmirtes committed Feb 26, 2024
1 parent 2bc3967 commit 3d33475
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Rules/Cast/UselessCastRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ public function testUselessCast(): void
'Casting to float something that\'s already float.',
27,
],
[
'Casting to string something that\'s already string.',
39,
'Because the type is coming from a PHPDoc, you can turn off this check by setting <fg=cyan>treatPhpDocTypesAsCertain: false</> in your <fg=cyan>%configurationFile%</>.',
],
[
'Casting to string something that\'s already string.',
46,
Expand Down

0 comments on commit 3d33475

Please sign in to comment.