-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
27 lines (21 loc) · 875 Bytes
/
phpstan.neon
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
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
- vendor/phpstan/phpstan-symfony/extension.neon
- vendor/phpstan/phpstan-symfony/rules.neon
- vendor/slam/phpstan-extensions/conf/symfony-rules.neon
parameters:
level: 6
paths:
- %currentWorkingDirectory%/src
universalObjectCratesClasses:
- Contao\Model
- Contao\BackendUser
excludePaths:
- %currentWorkingDirectory%/src/Resources/*
ignoreErrors:
- '#Access to an undefined property Contao\\Database#'
- '#Access to an undefined property Contao\\DataContainer#'
- '#Cannot access property \$[a-zA-Z0-9\\_]+ on array<Contao\\MemberModel>|Contao\\Model\\Collection<Contao\\MemberModel>.#'
- identifier: missingType.iterableValue
treatPhpDocTypesAsCertain: false