-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
33 lines (27 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
parameters:
level: 6
inferPrivatePropertyTypeFromConstructor: true
reportUnmatchedIgnoredErrors: false
treatPhpDocTypesAsCertain: false
checkGenericClassInNonGenericObjectType: false
paths:
- src
excludePaths:
- %rootDir%/../../../src/Component/*/Tests/*
- %rootDir%/../../../src/Component/Http/*
ignoreErrors:
- message: "#Strict comparison using === between#"
count: 1
path: src/Component/Common/Crypto.php
- message: "#Strict comparison using === between#"
count: 1
path: src/Component/Validator/Schema/Property.php
- message: "#Negated boolean expression is always true.#"
count: 1
path: src/Component/DependencyInjection/Container.php
- message: "#Result of && is always false.#"
count: 1
path: src/Component/Validator/Schema/Property.php
- message: "#HookLoader\\:\\:\\$contexts is never read, only written.#"
count: 1
path: src/Component/Hook/HookLoader.php