AzuraCast/phpstan.neon

22 lines
643 B
Plaintext
Raw Normal View History

parameters:
level: 2
paths:
- src
bootstrap: %rootDir%/../../../util/phpstan.php
2019-01-31 06:25:55 +01:00
universalObjectCratesClasses:
- App\Session\NamespaceInterface
- App\View
2019-01-31 06:25:55 +01:00
ignoreErrors:
# Caused by Symfony Validator (perhaps wrongly) returning the interface.
- '#Cannot cast Symfony\\Component\\Validator\\ConstraintViolationListInterface to string.#'
# Supervisor functions that do exist but aren't annotated properly in the connector lib.
- '#Call to an undefined method Supervisor\\Supervisor::reloadConfig().#'
includes:
- vendor/phpstan/phpstan-doctrine/extension.neon