forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-parameters.neon
More file actions
29 lines (23 loc) · 890 Bytes
/
phpstan-parameters.neon
File metadata and controls
29 lines (23 loc) · 890 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
28
29
parameters:
level: 5
paths:
- bundles
- lib
- models
bootstrapFiles:
- phpstan-bootstrap.php
symfony:
container_xml_path: var/cache/test/App_KernelTestDebugContainer.xml
excludePaths:
- '**/External/AdminerController.php'
- '**/Processor/PdfReactor.php'
- '**/PDFreactor.class.php'
- '**/bundles/AdminBundle/Security/Guard/AdminAuthenticator.php'
- '**/bundles/AdminBundle/Security/Authenticator/AdminAbstractAuthenticator.php'
ignoreErrors:
- '~^Method Doctrine\\DBAL(\\.*)?Connection::query\(\) invoked with \d+ parameters?, 0 required\.\z~'
- '~^Unsafe usage of new static\(\)~'
# see https://phpstan.org/config-reference#universal-object-crates
universalObjectCratesClasses:
- Pimcore\Config\Config
- Pimcore\Templating\Model\ViewModel