-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
50 lines (44 loc) · 1.41 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
46
47
48
49
50
parameters:
level: 4
bootstrapFiles:
- config/bootstrap.php
paths:
- src
- tests
- components
- plugins
excludePaths:
- plugins/ActivityPub
- plugins/Poll
- components/FreeNetwork
- tests/CodeCeption/_support/
earlyTerminatingMethodCalls:
App\Core\Log:
- unexpected_exception
ignoreErrors:
-
message: '/Access to an undefined property App\\Util\\Bitmap::\$\w+/'
paths:
- *
-
message: '/^Property App\\PHPStan\\ClassFromTableNameDynamicStaticMethodReturnTypeExtension::\$provider is never read, only written\./'
path: src/PHPStan/ClassFromTableNameDynamicStaticMethodReturnTypeExtension.php
-
message: '/Parameter \$I of method [a-zA-Z]+::[a-zA-Z_]+\(\) has invalid type AcceptanceTester\./'
paths:
- *
-
message: '/Call to method [a-zA-Z]+\(\) on an unknown class AcceptanceTester\./'
paths:
- *
# -
# message: '/has no return typehint specified/'
# paths:
# - tests/*
services:
-
class: App\PHPStan\ClassFromTableNameDynamicStaticMethodReturnTypeExtension
tags:
- phpstan.broker.dynamicStaticMethodReturnTypeExtension
-
class: App\PHPStan\GNUsocialProvider