forked from prestaconcept/PrestaSitemapBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare generators arguments order change in 4.0 (prestaconcept#319)
* Prepare generators arguments order change in 4.0 * Add phpstan typesafe errors to baseline * Prepare SitemapPopulateEvent constructor arguments order change in 4.0 --------- Co-authored-by: Yann Eugoné <[email protected]>
- Loading branch information
1 parent
d741a34
commit 32cb887
Showing
9 changed files
with
200 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Call to function is_string\\(\\) with Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Event/SitemapPopulateEvent.php | ||
|
||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 2 | ||
path: src/Event/SitemapPopulateEvent.php | ||
|
||
- | ||
message: "#^Instanceof between string and Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Event/SitemapPopulateEvent.php | ||
|
||
- | ||
message: "#^Result of && is always false\\.$#" | ||
count: 2 | ||
path: src/Event/SitemapPopulateEvent.php | ||
|
||
- | ||
message: "#^Call to function is_int\\(\\) with Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Service/AbstractGenerator.php | ||
|
||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 2 | ||
path: src/Service/AbstractGenerator.php | ||
|
||
- | ||
message: "#^Instanceof between int and Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Service/AbstractGenerator.php | ||
|
||
- | ||
message: "#^Result of && is always false\\.$#" | ||
count: 2 | ||
path: src/Service/AbstractGenerator.php | ||
|
||
- | ||
message: "#^Call to function is_int\\(\\) with string will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Service/Dumper.php | ||
|
||
- | ||
message: "#^Call to function is_null\\(\\) with string will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Service/Dumper.php | ||
|
||
- | ||
message: "#^Call to function is_string\\(\\) with Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface\\|null will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Service/Dumper.php | ||
|
||
- | ||
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#" | ||
count: 3 | ||
path: src/Service/Dumper.php | ||
|
||
- | ||
message: "#^Instanceof between int and Symfony\\\\Component\\\\Routing\\\\Generator\\\\UrlGeneratorInterface will always evaluate to false\\.$#" | ||
count: 1 | ||
path: src/Service/Dumper.php | ||
|
||
- | ||
message: "#^Result of && is always false\\.$#" | ||
count: 4 | ||
path: src/Service/Dumper.php | ||
|
||
- | ||
message: "#^Result of \\|\\| is always false\\.$#" | ||
count: 1 | ||
path: src/Service/Dumper.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
|
||
parameters: | ||
level: max | ||
paths: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters