-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHPStan: document run parameters in project ruleset (#122)
This makes it easier to run the PHPStan command for the project. Includes: * Using `%currentWorkingDirectory%` instead of `%rootdir%` * Renaming the file to `phpstan.neon.dist` to allow overloading of the config by individual developers.
- Loading branch information
1 parent
7dc9a0b
commit 58002d1
Showing
3 changed files
with
11 additions
and
8 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 was deleted.
Oops, something went wrong.
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,10 @@ | ||
parameters: | ||
level: 7 | ||
autoload_files: | ||
- %currentWorkingDirectory%/vendor/squizlabs/php_codesniffer/autoload.php | ||
paths: | ||
- %currentWorkingDirectory%/VariableAnalysis/ | ||
excludes_analyse: | ||
- %currentWorkingDirectory%/VariableAnalysis/Tests/ | ||
ignoreErrors: | ||
- '~^Constant T_\w+ not found.$~' |