2019-01-31 02:49:36 +00:00
|
|
|
parameters:
|
2021-07-19 05:53:45 +00:00
|
|
|
level: 8
|
|
|
|
|
|
|
|
checkGenericClassInNonGenericObjectType: false
|
|
|
|
checkMissingIterableValueType: false
|
2019-01-31 02:49:36 +00:00
|
|
|
|
|
|
|
paths:
|
|
|
|
- src
|
|
|
|
|
2020-06-26 20:22:53 +00:00
|
|
|
bootstrapFiles:
|
2021-04-25 14:52:00 +00:00
|
|
|
- ./util/phpstan.php
|
2019-01-31 02:49:36 +00:00
|
|
|
|
2019-01-31 05:25:55 +00:00
|
|
|
universalObjectCratesClasses:
|
2020-02-06 02:35:13 +00:00
|
|
|
- App\Session\NamespaceInterface
|
|
|
|
- App\View
|
2019-01-31 05:25:55 +00:00
|
|
|
|
|
|
|
ignoreErrors:
|
|
|
|
# Caused by Symfony Validator (perhaps wrongly) returning the interface.
|
2020-08-31 23:27:30 +00:00
|
|
|
- '#Cannot cast Symfony\\Component\\Validator\\ConstraintViolationListInterface to string.#'
|
|
|
|
|
2021-07-19 05:53:45 +00:00
|
|
|
# Some doctrine migrations fail because of these
|
|
|
|
- '#Parameter \#3 \$criteria of method Doctrine\\DBAL\\Connection::update\(\) expects array<string, mixed>, array<int, int> given.#'
|
|
|
|
- '#Parameter \#2 \$criteria of method Doctrine\\DBAL\\Connection::delete\(\) expects array<string, mixed>, array<int, int> given.#'
|
|
|
|
|
|
|
|
# Known upstream issue with Plates template engine
|
|
|
|
- '#Parameter \#2 \$callback of method League\\Plates\\Engine::registerFunction\(\) expects League\\Plates\\callback, Closure given.#'
|
|
|
|
|
2021-07-06 11:30:43 +00:00
|
|
|
parallel:
|
|
|
|
maximumNumberOfProcesses: 1
|
|
|
|
|
2020-08-31 23:27:30 +00:00
|
|
|
includes:
|
2020-12-01 13:45:01 +00:00
|
|
|
- vendor/phpstan/phpstan-doctrine/extension.neon
|