-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathphpstan.neon
More file actions
41 lines (29 loc) · 1.03 KB
/
Copy pathphpstan.neon
File metadata and controls
41 lines (29 loc) · 1.03 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
includes:
- vendor/tomasvotruba/type-coverage/config/extension.neon
parameters:
bootstrapFiles:
- tests/phpstan-stubs.php
type_coverage:
return: 100
param: 100
property: 100
declare: 100
constant: 0
paths:
- src
- tests
# The level 9 is the highest level
level: 5
treatPhpDocTypesAsCertain: false
ignoreErrors:
# Version compatibility checks that always evaluate on the installed version
- identifier: function.alreadyNarrowedType
- identifier: instanceof.alwaysFalse
- identifier: booleanAnd.alwaysFalse
# Fallback for KernelTestCase::$container removed in Symfony 5.3+
- identifier: staticProperty.notFound
# DBAL v2 SQLLogger interface lacks type on $sql — cannot add one in PHP 8.5+ implementations
- identifier: typeCoverage.paramTypeCoverage
path: src/Doctrine/V2/InspectorSQLLogger.php
excludePaths:
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'