-
Notifications
You must be signed in to change notification settings - Fork 22
/
phpstan.neon.dist
45 lines (41 loc) · 1.58 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
43
44
45
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
level: 6
paths:
- ./
excludePaths:
- vendor/
ignoreErrors:
- '~^(Property .+ has|Method .+\(\) (has parameter \$.+ with|return type has)) no value type specified in iterable type .+\.~'
# relax strict rules
- '~^Only booleans are allowed in .+, .+ given( on the (left|right) side)?\.~'
# TODO these rules are generated, this ignores should be fixed in the code
-
message: '~^Call to an undefined method Atk4\\Ui\\Form\\Control::addAction\(\)\.$~'
count: 1
path: src/Form/Login.php
-
message: '~^Call to an undefined method Atk4\\Ui\\Form\\Control::setInputAttr\(\)\.$~'
count: 2
path: src/Form/Register.php
-
message: '~^Call to an undefined method Atk4\\Data\\Reference\\HasOne::addTitle\(\)\.$~'
count: 1
path: src/Model/AccessRule.php
-
message: '~^Call to an undefined method Atk4\\Data\\Reference\\HasOne::addTitle\(\)\.$~'
count: 1
path: src/Model/User.php
-
message: '~^Call to an undefined method Atk4\\Ui\\Table\\Column::addModal\(\)\.$~'
count: 1
path: src/RoleAdmin.php
-
message: '~^Call to an undefined method Atk4\\Ui\\Table\\Column::addModal\(\)\.$~'
count: 1
path: src/UserAdmin.php
-
message: '~^Call to an undefined method Atk4\\Ui\\Form\\Control::addAction\(\)\.$~'
count: 1
path: src/UserAdmin.php