21 lines
808 B
Text
21 lines
808 B
Text
parameters:
|
|
level: 6
|
|
paths:
|
|
- bin/
|
|
- config/
|
|
- public/
|
|
- src/
|
|
- tests/
|
|
# phpstan-symfony: point at the compiled dev container so it understands service wiring.
|
|
# Requires the dev cache to be warm (php bin/console cache:warmup).
|
|
symfony:
|
|
containerXmlPath: var/cache/dev/App_KernelDevDebugContainer.xml
|
|
ignoreErrors:
|
|
# Framework-generated Kernel: getAllowedEnvs() is called via reflection by Symfony,
|
|
# so PHPStan can't see the usage. Scoped to this one file/message (not a global pattern).
|
|
-
|
|
message: '#Method App\\Kernel::getAllowedEnvs\(\) is unused\.#'
|
|
path: src/Kernel.php
|
|
# Recipe-generated test bootstrap — not our code to lint.
|
|
excludePaths:
|
|
- tests/bootstrap.php
|