28 lines
873 B
Plaintext
28 lines
873 B
Plaintext
parameters:
|
|
level: 2
|
|
|
|
paths:
|
|
- src
|
|
|
|
bootstrap: %rootDir%/../../../util/phpstan.php
|
|
|
|
doctrine:
|
|
repositoryClass: Azura\Doctrine\Repository
|
|
|
|
universalObjectCratesClasses:
|
|
- Azura\Session\NamespaceInterface
|
|
- Azura\View
|
|
|
|
ignoreErrors:
|
|
# Caused by Symfony Validator (perhaps wrongly) returning the interface.
|
|
- '#Cannot cast Symfony\\Component\\Validator\\ConstraintViolationListInterface to string.#'
|
|
|
|
# Doctrine custom repositories aren't handled by the Doctrine plugin yet.
|
|
# - '#Property .* does not accept Azura\\Doctrine\\Repository<.*>.#'
|
|
|
|
# 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
|