forked from zircote/swagger-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
121 lines (98 loc) · 4.34 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
parameters:
ignoreErrors:
-
message: "#^Property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$x \\(array\\<string, mixed\\>\\) does not accept string\\.$#"
count: 1
path: Examples/processors/schema-query-parameter/SchemaQueryParameter.php
-
message: "#^Result of && is always true\\.$#"
count: 1
path: Examples/processors/sort-components/SortComponents.php
-
message: "#^Attribute class JetBrains\\\\PhpStorm\\\\ArrayShape does not exist\\.$#"
count: 1
path: Examples/using-links-php81/User.php
-
message: "#^Strict comparison using \\=\\=\\= between array\\|string and false will always evaluate to false\\.$#"
count: 1
path: src/Analysers/TokenScanner.php
-
message: "#^Access to an undefined property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$description\\.$#"
count: 1
path: src/Annotations/AbstractAnnotation.php
-
message: "#^Access to an undefined property OpenApi\\\\Annotations\\\\AbstractAnnotation\\:\\:\\$summary\\.$#"
count: 1
path: src/Annotations/AbstractAnnotation.php
-
message: "#^Variable \\$name might not be defined\\.$#"
count: 2
path: src/Annotations/Components.php
-
message: "#^Variable \\$type might not be defined\\.$#"
count: 1
path: src/Annotations/Components.php
-
message: "#^Property OpenApi\\\\Annotations\\\\Flow\\:\\:\\$scopes \\(array\\) does not accept stdClass\\.$#"
count: 1
path: src/Annotations/Flow.php
-
message: "#^Access to an undefined property object\\:\\:\\$enum\\.$#"
count: 1
path: src/Annotations/Schema.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/Generator.php
-
message: "#^Result of && is always false\\.$#"
count: 3
path: src/Processors/AugmentProperties.php
-
message: "#^Strict comparison using \\=\\=\\= between non\\-empty\\-string and '' will always evaluate to false\\.$#"
count: 1
path: src/Processors/AugmentProperties.php
-
message: "#^Call to function is_array\\(\\) with bool\\|OpenApi\\\\Annotations\\\\AdditionalProperties will always evaluate to false\\.$#"
count: 1
path: src/Processors/AugmentSchemas.php
-
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$properties \\(array\\<OpenApi\\\\Annotations\\\\Property\\>\\) does not accept string\\.$#"
count: 1
path: src/Processors/AugmentSchemas.php
-
message: "#^Result of && is always false\\.$#"
count: 1
path: src/Processors/AugmentSchemas.php
-
message: "#^Parameter \\#1 \\$annotation of method OpenApi\\\\Processors\\\\DocBlockDescriptions\\:\\:description\\(\\) expects OpenApi\\\\Annotations\\\\Operation\\|OpenApi\\\\Annotations\\\\Parameter\\|OpenApi\\\\Annotations\\\\Schema, OpenApi\\\\Annotations\\\\AbstractAnnotation given\\.$#"
count: 1
path: src/Processors/DocBlockDescriptions.php
-
message: "#^Parameter \\#1 \\$annotation of method OpenApi\\\\Processors\\\\DocBlockDescriptions\\:\\:summaryAndDescription\\(\\) expects OpenApi\\\\Annotations\\\\Operation\\|OpenApi\\\\Annotations\\\\Parameter\\|OpenApi\\\\Annotations\\\\Schema, OpenApi\\\\Annotations\\\\AbstractAnnotation given\\.$#"
count: 1
path: src/Processors/DocBlockDescriptions.php
-
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$examples \\(array\\<OpenApi\\\\Annotations\\\\Examples\\>\\) does not accept string\\.$#"
count: 1
path: src/Processors/MergeJsonContent.php
-
message: "#^Property OpenApi\\\\Annotations\\\\Schema\\:\\:\\$examples \\(array\\<OpenApi\\\\Annotations\\\\Examples\\>\\) does not accept string\\.$#"
count: 1
path: src/Processors/MergeXmlContent.php
-
message: "#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{Composer\\\\Autoload\\\\ClassLoader, 'findFile'\\} given\\.$#"
count: 1
path: tests/Analysers/ComposerAutoloaderScannerTest.php
-
message: "#^Access to an undefined property OpenApi\\\\Analysers\\\\AnnotationFactoryInterface\\:\\:\\$reflectors\\.$#"
count: 2
path: tests/Analysers/ReflectionAnalyserTest.php
-
message: "#^Access to an undefined property Reflector\\:\\:\\$name\\.$#"
count: 1
path: tests/Analysers/ReflectionAnalyserTest.php
-
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
count: 1
path: tests/Annotations/AttributesSyncTest.php