forked from Wavyzz/dolibarr
Fix phpstan rules
This commit is contained in:
@@ -71,10 +71,10 @@ parameters:
|
|||||||
# or pattern to avoid false positive of some bugged or allowed phpstan checks
|
# or pattern to avoid false positive of some bugged or allowed phpstan checks
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#.*phan-var#'
|
- '#.*phan-var#'
|
||||||
- '#^Expression "''…" on a separate line does not do anything\.$#'
|
- '#^Expression "''…" on a separate line does not do anything#'
|
||||||
- '#Empty array passed to foreach#'
|
- '#Empty array passed to foreach#'
|
||||||
- '#Unable to resolve the template type T#'
|
- '#Unable to resolve the template type T#'
|
||||||
- '#in empty\(\) always exists and is always falsy.#'
|
- '#in empty\(\) always exists and is always falsy#'
|
||||||
- '#is always#'
|
- '#is always#'
|
||||||
internalErrorsCountLimit: 50
|
internalErrorsCountLimit: 50
|
||||||
cache:
|
cache:
|
||||||
|
|||||||
@@ -73,10 +73,10 @@ parameters:
|
|||||||
# or pattern to avoid false positive of some bugged or allowed phpstan checks
|
# or pattern to avoid false positive of some bugged or allowed phpstan checks
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#.*phan-var#'
|
- '#.*phan-var#'
|
||||||
- '#^Expression "''…" on a separate line does not do anything\.$#'
|
- '#^Expression "''…" on a separate line does not do anything#'
|
||||||
- '#Empty array passed to foreach#'
|
- '#Empty array passed to foreach#'
|
||||||
- '#Unable to resolve the template type T#'
|
- '#Unable to resolve the template type T#'
|
||||||
- '#in empty\(\) always exists and is always falsy.#'
|
- '#in empty\(\) always exists and is always falsy#'
|
||||||
internalErrorsCountLimit: 50
|
internalErrorsCountLimit: 50
|
||||||
cache:
|
cache:
|
||||||
# nodesByFileCountMax: 512
|
# nodesByFileCountMax: 512
|
||||||
|
|||||||
Reference in New Issue
Block a user