-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from alleyinteractive/phpstan-2023
PHPStan: Phase 1
- Loading branch information
Showing
60 changed files
with
444 additions
and
332 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
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,49 @@ | ||
includes: | ||
- vendor/szepeviktor/phpstan-wordpress/extension.neon | ||
|
||
parameters: | ||
# Level 9 is the highest level | ||
level: 5 | ||
|
||
paths: | ||
- src/mantle/application | ||
- src/mantle/assets | ||
- src/mantle/auth | ||
# - src/mantle/blocks | ||
- src/mantle/cache | ||
- src/mantle/config | ||
# - src/mantle/console | ||
- src/mantle/container | ||
- src/mantle/contracts | ||
# - src/mantle/database | ||
# - src/mantle/events | ||
# - src/mantle/facade | ||
# - src/mantle/faker | ||
# - src/mantle/featherkit | ||
# - src/mantle/filesystem | ||
- src/mantle/framework | ||
# - src/mantle/http | ||
- src/mantle/http-client | ||
# - src/mantle/log | ||
# - src/mantle/new-relic | ||
# - src/mantle/query-monitor | ||
# - src/mantle/queue | ||
# - src/mantle/rest-api | ||
# - src/mantle/scheduling | ||
# - src/mantle/support | ||
# - src/mantle/testing | ||
# - src/mantle/testkit | ||
# - src/mantle/view | ||
- mantle.php | ||
|
||
ignoreErrors: | ||
- "#Unsafe usage of new static#" | ||
- "#PHPDoc tag @param references unknown parameter#" | ||
|
||
scanFiles: | ||
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-stubs.php | ||
|
||
# excludePaths: | ||
# - ./*/*/FileToBeExcluded.php | ||
# | ||
# checkMissingIterableValueType: false |
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
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.