AzuraCast/phpstan.neon

33 lines
1.1 KiB
Plaintext
Raw Normal View History

parameters:
2021-07-19 05:53:45 +00:00
level: 8
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
paths:
- src
bootstrapFiles:
- ./util/phpstan.php
2019-01-31 05:25:55 +00:00
universalObjectCratesClasses:
- App\Session\NamespaceInterface
- App\View
2019-01-31 05:25:55 +00:00
ignoreErrors:
# Caused by Symfony Validator (perhaps wrongly) returning the interface.
- '#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.#'
parallel:
maximumNumberOfProcesses: 1
includes:
- vendor/phpstan/phpstan-doctrine/extension.neon