forked from TYPO3-svn-archive/operations
-
Notifications
You must be signed in to change notification settings - Fork 2
/
phpstan-baseline.neon
81 lines (66 loc) · 2.91 KB
/
phpstan-baseline.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
parameters:
ignoreErrors:
-
message: "#^Out of 143 possible param types, only 138 \\- 96\\.5 %% actually have it\\. Add more param types to get over 100 %%$#"
count: 1
path: Classes/Controller/BaseController.php
-
message: "#^Out of 222 possible return types, only 215 \\- 96\\.8 %% actually have it\\. Add more return types to get over 100 %%$#"
count: 1
path: Classes/Controller/BaseController.php
-
message: "#^Call to function is_null\\(\\) with Kanow\\\\Operations\\\\Domain\\\\Model\\\\OperationDemand will always evaluate to false\\.$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Class cognitive complexity is 32, keep it under 10$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Cognitive complexity for \"Kanow\\\\Operations\\\\Controller\\\\OperationController\\:\\:getPagination\\(\\)\" is 8, keep it under 5$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Cognitive complexity for \"Kanow\\\\Operations\\\\Controller\\\\OperationController\\:\\:overrideFlexformSettings\\(\\)\" is 7, keep it under 5$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Implicit array creation is not allowed \\- variable \\$pid does not exist\\.$#"
count: 2
path: Classes/Controller/OperationController.php
-
message: "#^Only booleans are allowed in &&, int given on the right side\\.$#"
count: 2
path: Classes/Controller/OperationController.php
-
message: "#^Out of 143 possible param types, only 138 \\- 96\\.5 %% actually have it\\. Add more param types to get over 100 %%$#"
count: 4
path: Classes/Controller/OperationController.php
-
message: "#^Out of 222 possible return types, only 215 \\- 96\\.8 %% actually have it\\. Add more return types to get over 100 %%$#"
count: 6
path: Classes/Controller/OperationController.php
-
message: "#^Parameter \\#2 \\$optionKey of method TYPO3\\\\CMS\\\\Extbase\\\\Property\\\\PropertyMappingConfiguration\\:\\:setTypeConverterOption\\(\\) expects string, int given\\.$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#"
count: 1
path: Classes/Controller/OperationController.php
-
message: "#^Variable \\$pagination might not be defined\\.$#"
count: 2
path: Classes/Controller/OperationController.php
-
message: "#^Variable \\$paginator might not be defined\\.$#"
count: 2
path: Classes/Controller/OperationController.php
-
message: "#^Class cognitive complexity is 42, keep it under 10$#"
count: 1
path: Classes/Domain/Repository/OperationRepository.php