Skip to content

Commit

Permalink
Fix Rector baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 11, 2021
1 parent e503d02 commit 0c7909b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions e2e/integration/rector-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ parameters:
path: repo/rules/restoration/src/Rector/Class_/RemoveUselessJustForSakeInterfaceRector.php

-
message: "#^Argument of an invalid type \\(array\\<string, string\\>\\&nonEmpty\\)|false supplied for foreach, only iterables are supported\\.$#"
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
count: 2
path: repo/rules/solid/src/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector.php

-
message: "#^Cannot access offset mixed on array\\<string, string\\>\\|false\\.$#"
message: "#^Cannot access offset mixed on \\(array\\<string, string\\>&nonEmpty\\)\\|false\\.$#"
count: 1
path: repo/rules/solid/src/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector.php

Expand Down Expand Up @@ -105,8 +105,3 @@ parameters:
count: 1
path: repo/src/PhpParser/Node/Manipulator/ClassMethodManipulator.php

-
message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|false given\\.$#"
count: 1
path: repo/utils/project-validator/src/CpuCoreCountResolver.php

0 comments on commit 0c7909b

Please sign in to comment.