-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathphpstan.baseline.neon
67 lines (57 loc) · 2.65 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
parameters:
ignoreErrors:
-
message: '#^Cannot access property \$newHash on TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController\|null\.$#'
identifier: property.nonObject
count: 1
path: Classes/Cache/PagesCacheService.php
-
message: '#^Instanceof between mixed and Brotkrueml\\Schema\\Core\\Model\\TypeInterface will always evaluate to false\.$#'
identifier: instanceof.alwaysFalse
count: 1
path: Classes/Core/Model/AbstractBaseType.php
-
message: '#^Anonymous function should return string but returns array\<string\>\|string\.$#'
identifier: return.type
count: 1
path: Classes/Core/Model/MultipleType.php
-
message: '#^Cannot call method setId\(\) on Brotkrueml\\Schema\\Core\\Model\\TypeInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: Classes/Core/ViewHelpers/AbstractBaseTypeViewHelper.php
-
message: '#^Cannot call method setProperty\(\) on Brotkrueml\\Schema\\Core\\Model\\TypeInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: Classes/Core/ViewHelpers/AbstractBaseTypeViewHelper.php
-
message: '#^Parameter \#1 \$value of method SplDoublyLinkedList\<Brotkrueml\\Schema\\Core\\Model\\TypeInterface\>\:\:push\(\) expects Brotkrueml\\Schema\\Core\\Model\\TypeInterface, Brotkrueml\\Schema\\Core\\Model\\TypeInterface\|null given\.$#'
identifier: argument.type
count: 1
path: Classes/Core/ViewHelpers/AbstractBaseTypeViewHelper.php
-
message: '#^Parameter \#1 \$attributes \(array\{identifier\: string\}\) of method Brotkrueml\\Schema\\Lowlevel\\ConfigurationModuleProvider\\Types\:\:__invoke\(\) should be contravariant with parameter \$attributes \(array\) of method TYPO3\\CMS\\Lowlevel\\ConfigurationModuleProvider\\ProviderInterface\:\:__invoke\(\)$#'
identifier: method.childParameterType
count: 1
path: Classes/Lowlevel/ConfigurationModuleProvider/Types.php
-
message: '#^Cannot call method addProperty\(\) on Brotkrueml\\Schema\\Core\\Model\\TypeInterface\|null\.$#'
identifier: method.nonObject
count: 3
path: Classes/Manager/SchemaManager.php
-
message: '#^Cannot call method clearProperty\(\) on Brotkrueml\\Schema\\Core\\Model\\TypeInterface\|null\.$#'
identifier: method.nonObject
count: 1
path: Classes/Manager/SchemaManager.php
-
message: '#^Class cognitive complexity is 27, keep it under 20$#'
identifier: complexity.classLike
count: 1
path: Classes/Manager/SchemaManager.php
-
message: '#^Cognitive complexity for "Brotkrueml\\Schema\\Manager\\SchemaManager\:\:setWebPage\(\)" is 14, keep it under 10$#'
identifier: complexity.functionLike
count: 1
path: Classes/Manager/SchemaManager.php