-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (26 loc) · 854 Bytes
/
phpstan.neon
File metadata and controls
28 lines (26 loc) · 854 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
includes:
- vendor/cuyz/valinor/qa/PHPStan/valinor-phpstan-configuration.php
parameters:
level: 4
paths:
- sources
stubFiles:
- tests/stubs/Ting/Repository/Repository.php.stub
- tests/stubs/Ting/Repository/RepositoryFactory.php.stub
ignoreErrors:
-
identifier: property.onlyWritten
path: sources/AppBundle/Controller/LegacyController.php
type_coverage:
return: 71
param: 71
property: 45
# since PHP 8.3
# constant: 30
doctrine:
ormRepositoryClass: AppBundle\Doctrine\EntityRepository
rules:
- AppBundle\StaticAnalysis\Rule\NoDebugFunctionsRule
- AppBundle\StaticAnalysis\Rule\NoGetUserMethodRule
- AppBundle\StaticAnalysis\Rule\DoctrineRepositoryRule
- AppBundle\StaticAnalysis\Rule\DoctrineDisableDQLRule