HELP
This commit is contained in:
parent
c6664a7597
commit
e05e9553f5
1250 changed files with 23379 additions and 147730 deletions
69
phpstan.neon
69
phpstan.neon
|
|
@ -1,22 +1,49 @@
|
|||
parameters:
|
||||
parallel:
|
||||
maximumNumberOfProcesses: 8
|
||||
level: 6
|
||||
paths:
|
||||
- web/app/themes/haiku-atelier-2024
|
||||
scanDirectories:
|
||||
- vendor
|
||||
- web/app
|
||||
- web/vendor
|
||||
- web/wp
|
||||
scanFiles:
|
||||
- .php-cs-fixer.dist.php
|
||||
- web/index.php
|
||||
- web/wp-config.php
|
||||
# Utilise la version de développement de PHPStan
|
||||
includes:
|
||||
- phar://phpstan.phar/conf/bleedingEdge.neon
|
||||
|
||||
excludePaths:
|
||||
analyse:
|
||||
- web/app/themes/la-fille-davril/vendor
|
||||
analyseAndScan:
|
||||
- web/app/themes/twentytwentyfour
|
||||
- web/app/languages
|
||||
parameters:
|
||||
# When set to true, it reports use of dynamic properties as undefined.
|
||||
checkDynamicProperties: true
|
||||
checkExplicitMixedMissingReturn: true
|
||||
# When set to true, it reports function and method calls with incorrect name case.
|
||||
checkFunctionNameCase: true
|
||||
# When set to true, it reports references to built-in classes with incorrect name case.
|
||||
checkInternalClassCaseSensitivity: true
|
||||
# When set to true, it reports return typehints that could be narrowed down because some of the listed types are never returned from a public or protected method.
|
||||
checkTooWideReturnTypesInProtectedAndPublicMethods: true
|
||||
# When set to true, it reports properties with native types that weren’t initialized in the class constructor.
|
||||
checkUninitializedProperties: false
|
||||
reportUnmatchedIgnoredErrors: false
|
||||
# When set to true, it reports violations of parameter type contravariance and return type covariance.
|
||||
reportMaybesInMethodSignatures: true
|
||||
# By default PHPStan reports wrong type in @var tag only for native types on the right side of =. With reportWrongPhpDocTypeInVarTag set to true it will consider PHPDoc types too.
|
||||
reportWrongPhpDocTypeInVarTag: true
|
||||
# Setting treatPhpDocTypesAsCertain to false relaxes some of the rules around type-checking.
|
||||
treatPhpDocTypesAsCertain: false
|
||||
|
||||
parallel:
|
||||
jobSize: 20
|
||||
maximumNumberOfProcesses: 32
|
||||
minimumNumberOfJobsPerProcess: 2
|
||||
|
||||
level: max
|
||||
|
||||
scanDirectories:
|
||||
- config
|
||||
- vendor
|
||||
- web/app
|
||||
- web/wp
|
||||
|
||||
scanFiles:
|
||||
- .php-cs-fixer.dist.php
|
||||
- web/index.php
|
||||
- web/wp-config.php
|
||||
|
||||
paths:
|
||||
- web/app/themes/haiku-atelier-2024
|
||||
|
||||
excludePaths:
|
||||
analyseAndScan:
|
||||
- web/app/languages
|
||||
- web/app/themes/twentytwentyfour
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue