-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.dist.neon
39 lines (38 loc) · 1.03 KB
/
phpstan.dist.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
includes:
- phpstan-baseline.neon
parameters:
level: 5
paths:
- src
- ajax
- types
excludePaths:
# Ignore files that use classes from optional packages
- src/QUI/FrontendUsers/ErpProvider.php
- src/QUI/FrontendUsers/Rest/Provider.php
- src/QUI/FrontendUsers/GdprDataProvider.php
bootstrapFiles:
- tests/phpstan-bootstrap.php
treatPhpDocTypesAsCertain: false
customRulesetUsed: true
services:
-
class: \PHPStan\Rules\Properties\TypesAssignedToPropertiesRule
tags:
- phpstan.rules.rule
-
class: \PHPStan\Rules\Functions\ArrowFunctionReturnTypeRule
tags:
- phpstan.rules.rule
-
class: \PHPStan\Rules\Functions\ClosureReturnTypeRule
tags:
- phpstan.rules.rule
-
class: \PHPStan\Rules\Functions\ReturnTypeRule
tags:
- phpstan.rules.rule
-
class: \PHPStan\Rules\Methods\ReturnTypeRule
tags:
- phpstan.rules.rule