-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathphpstan.neon.dist
42 lines (41 loc) · 1.02 KB
/
phpstan.neon.dist
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
includes:
- utils/phpstan-baseline/loader.neon
parameters:
phpVersion: 80100
tmpDir: build/phpstan
level: 6
bootstrapFiles:
- phpstan-bootstrap.php
paths:
- admin/starter/tests
- app
- system
- tests
excludePaths:
- app/Views/errors/cli/*
- app/Views/errors/html/*
- system/Commands/Generators/Views/*
- system/Debug/Toolbar/Views/toolbar.tpl.php
- system/Images/Handlers/GDHandler.php
- system/Test/Filters/CITestStreamFilter.php
- system/ThirdParty/*
- system/Validation/Views/single.php
- tests/system/View/Views/*
scanDirectories:
- system/Helpers
ignoreErrors:
-
identifier: missingType.generics
checkMissingCallableSignature: true
treatPhpDocTypesAsCertain: false
strictRules:
allRules: false
disallowedLooseComparison: true
booleansInConditions: true
disallowedBacktick: true
disallowedEmpty: true
disallowedImplicitArrayCreation: true
disallowedShortTernary: true
matchingInheritedMethodNames: true
shipmonkBaselinePerIdentifier:
directory: %currentWorkingDirectory%