-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
33 lines (28 loc) · 860 Bytes
/
Copy pathphpstan.neon.dist
File metadata and controls
33 lines (28 loc) · 860 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
30
31
32
33
# =============================================================================
# SpatialSync — PHPStan Configuration
# Static Analysis for PHP code at max level
# =============================================================================
includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
- phpstan-baseline.neon
parameters:
level: max
paths:
- app/
- config/
- routes/
excludePaths:
- vendor/
- storage/
- bootstrap/
- bootstrap/cache/
# Ignored patterns (use sparingly)
ignoreErrors:
- '#Method .*::[a-zA-Z]+\(\) has no return type specified#'
# Reporting
reportUnmatchedIgnoredErrors: true
treatPhpDocTypesAsCertain: false # Don't blindly trust @phpdoc types — enforce explicit typing
# Performance
parallel:
maximumNumberOfProcesses: 4
minimumNumberOfJobsPerProcess: 10