-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes phpstan errors, set PHPStan to level 7 (#1951)
* Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors * Fixes phpstan errors
- Loading branch information
Showing
46 changed files
with
324 additions
and
164 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 |
---|---|---|
@@ -1,20 +1,12 @@ | ||
includes: | ||
- phpstan-baseline.neon | ||
parameters: | ||
level: 6 | ||
level: 7 | ||
checkMissingIterableValueType: false | ||
reportUnmatchedIgnoredErrors: false | ||
treatPhpDocTypesAsCertain: false | ||
paths: | ||
- '%rootDir%/../../../src/' | ||
ignoreErrors: | ||
- '#Call to an undefined method .+Collection::.+Array\(\)#' | ||
- | ||
message: "#^Method .+\\\\ConsoleHelper::.+\\(\\) has no return type specified#" | ||
path: src/Propel/Generator/Command/Helper/ConsoleHelper.php | ||
- | ||
message: "#^Method .+\\\\ConsoleHelper::.+\\(\\) has parameter \\$messages with no type specified#" | ||
path: src/Propel/Generator/Command/Helper/ConsoleHelper.php | ||
- | ||
message: "#^Call to an undefined method Symfony\\\\Component\\\\Config\\\\Definition\\\\Builder\\\\TreeBuilder\\:\\:root\\(\\)\\.$#" | ||
path: src/Propel/Common/Config/PropelConfiguration.php | ||
- '#Call to an undefined method object::.+\(\)#' | ||
|
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
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
Oops, something went wrong.