-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathphpstan.neon
45 lines (34 loc) · 1.04 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
includes:
- config/extension.neon
parameters:
level: 8
paths:
- src
- tests
type_coverage:
# coverage
declare: 100
# type declarations
return_type: 99.9
param_type: 100
property_type: 100
constant_type: 0 # requires PHP 8.3
# only show final data, no error report
# measure: true
ignoreErrors:
- identifier: missingType.generics
# used in tests
- message: '#Public constant "TomasVotruba\\TypeCoverage\\(.*?)::ERROR_MESSAGE" is never#'
# needed to access metadata about paths
-
message: '#PHPStan\\Analyser\\LazyInternalScopeFactory#'
identifier: phpstanApi.class
-
message: '#PHPStan\\DependencyInjection\\Nette\\NetteContainer#'
identifier: phpstanApi.method
-
message: '#PHPStan\\DependencyInjection\\MemoizingContainer#'
identifier: phpstanApi.class
excludePaths:
- "*/Fixture/*"
- "*/Source/*"