-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
27 lines (27 loc) · 838 Bytes
/
Copy pathphpstan.dist.neon
File metadata and controls
27 lines (27 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
parameters:
phpVersion: 80400
level: 5
paths:
- bin/
- config/
- src/
# - tests/
- migrations/
doctrine:
objectManagerLoader: tests/object-manager.php
symfony:
containerXmlPath: var/cache/dev/Limas_KernelDevDebugContainer.xml
consoleApplicationLoader: tests/console-application.php
ignoreErrors:
# Sf 8 Kernel::getAllowedEnvs() is reflectively probed by the
# framework on boot — phpstan can't see the indirect call site.
-
identifier: method.unused
message: '#getAllowedEnvs\(\) is unused#'
path: src/Kernel.php
# scanDirectories:
# - var/cache/dev/Symfony/Config
includes:
- vendor/spaze/phpstan-disallowed-calls/disallowed-dangerous-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-execution-calls.neon
- vendor/spaze/phpstan-disallowed-calls/disallowed-loose-calls.neon