2019-01-31 03:49:36 +01:00
|
|
|
parameters:
|
2021-07-19 07:53:45 +02:00
|
|
|
level: 8
|
|
|
|
|
|
|
|
checkGenericClassInNonGenericObjectType: false
|
|
|
|
checkMissingIterableValueType: false
|
2019-01-31 03:49:36 +01:00
|
|
|
|
|
|
|
paths:
|
|
|
|
- src
|
|
|
|
|
2020-06-26 22:22:53 +02:00
|
|
|
bootstrapFiles:
|
2021-04-25 16:52:00 +02:00
|
|
|
- ./util/phpstan.php
|
2019-01-31 03:49:36 +01:00
|
|
|
|
2019-01-31 06:25:55 +01:00
|
|
|
universalObjectCratesClasses:
|
2020-02-06 03:35:13 +01:00
|
|
|
- App\Session\NamespaceInterface
|
|
|
|
- App\View
|
2019-01-31 06:25:55 +01:00
|
|
|
|
|
|
|
ignoreErrors:
|
|
|
|
# Caused by Symfony Validator (perhaps wrongly) returning the interface.
|
2020-09-01 01:27:30 +02:00
|
|
|
- '#Cannot cast Symfony\\Component\\Validator\\ConstraintViolationListInterface to string.#'
|
|
|
|
|
2021-07-19 07:53:45 +02: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 13:30:43 +02:00
|
|
|
parallel:
|
|
|
|
maximumNumberOfProcesses: 1
|
|
|
|
|
2020-09-01 01:27:30 +02:00
|
|
|
includes:
|
2020-12-01 14:45:01 +01:00
|
|
|
- vendor/phpstan/phpstan-doctrine/extension.neon
|