More complete phpstan rule
This commit is contained in:
parent
6bcc159d8a
commit
7cbe50d926
2 changed files with 8 additions and 0 deletions
|
|
@ -67,8 +67,14 @@ parameters:
|
|||
reportMagicMethods: false
|
||||
reportMagicProperties: false
|
||||
treatPhpDocTypesAsCertain: false
|
||||
# if you want to exclude something, generate the baseline to do that, add here give only pattern that does not give the opportunity to introduce new errors
|
||||
# or pattern to avoid false positive of some bugged or allowed phpstan checks
|
||||
ignoreErrors:
|
||||
- '#.*phan-var#'
|
||||
- '#^Expression "''…" on a separate line does not do anything\.$#'
|
||||
- '#Empty array passed to foreach#'
|
||||
- '#Unable to resolve the template type T#'
|
||||
- '#in empty() always exists and is always falsy.#'
|
||||
- '#is always#'
|
||||
internalErrorsCountLimit: 50
|
||||
cache:
|
||||
|
|
|
|||
|
|
@ -70,11 +70,13 @@ parameters:
|
|||
reportMagicProperties: false
|
||||
treatPhpDocTypesAsCertain: false
|
||||
# if you want to exclude something, generate the baseline to do that, add here give only pattern that does not give the opportunity to introduce new errors
|
||||
# or pattern to avoid false positive of some bugged or allowed phpstan checks
|
||||
ignoreErrors:
|
||||
- '#.*phan-var#'
|
||||
- '#^Expression "''…" on a separate line does not do anything\.$#'
|
||||
- '#Empty array passed to foreach#'
|
||||
- '#Unable to resolve the template type T#'
|
||||
- '#in empty() always exists and is always falsy.#'
|
||||
internalErrorsCountLimit: 50
|
||||
cache:
|
||||
# nodesByFileCountMax: 512
|
||||
|
|
|
|||
Loading…
Reference in a new issue