-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathphpstan.neon
More file actions
46 lines (34 loc) · 1.19 KB
/
phpstan.neon
File metadata and controls
46 lines (34 loc) · 1.19 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- phpstan-baseline.neon
parameters:
level: 10
paths:
- src
- tests
# Symfony specific
symfony:
containerXmlPath: 'var/cache/dev/App_KernelDevDebugContainer.xml'
consoleApplicationLoader: 'bin/console'
# Doctrine specific
doctrine:
objectManagerLoader: null
repositoryClass: Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository
# Strict rules are enabled via extension-installer
# Type coverage checks enabled at level 10
# Strict type checking
treatPhpDocTypesAsCertain: false
# PHPUnit specific configuration handled by extension
tmpDir: /tmp/phpstan-timetracker
# These might need to be addressed gradually
ignoreErrors:
# Temporarily ignore some strict issues until they can be fixed
- identifier: missingType.generics
reportUnmatchedIgnoredErrors: true
# Parallel processing for better performance
parallel:
processTimeout: 300.0
maximumNumberOfProcesses: 4
minimumNumberOfJobsPerProcess: 2
# Error format
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'