-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
79 lines (67 loc) · 3.21 KB
/
phpstan-baseline.neon
File metadata and controls
79 lines (67 loc) · 3.21 KB
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
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$config of class MethorZ\\OpenApi\\Generator\\RouteScanner constructor expects array\<string, mixed\>, array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Command/GenerateOpenApiCommand.php
-
message: '#^Parameter \#1 \$config of static method MethorZ\\OpenApi\\Config\\OpenApiConfig\:\:fromArray\(\) expects array\<string, mixed\>, array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Config/OpenApiConfig.php
-
message: '#^Instanceof between ReflectionNamedType and ReflectionNamedType will always evaluate to true\.$#'
identifier: instanceof.alwaysTrue
count: 1
path: src/Generator/TypeResolver.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<string, array\<string, mixed\>\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/Integration/OpenApiGenerationTest.php
-
message: '#^Cannot access offset ''type'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 3
path: tests/Integration/OpenApiGenerationTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\{requestDto\: string\|null, responseDto\: string\|null\} will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 1
path: tests/Unit/Analyzer/HandlerAnalyzerTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<int, array\<string, mixed\>\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 3
path: tests/Unit/Config/OpenApiConfigTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<string, mixed\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 2
path: tests/Unit/Config/OpenApiConfigTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<string, mixed\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 2
path: tests/Unit/Generator/DtoSchemaGeneratorEnhancedTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<string, mixed\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 9
path: tests/Unit/Generator/DtoSchemaGeneratorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<string, mixed\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 6
path: tests/Unit/Generator/SecuritySchemeGeneratorTest.php
-
message: '#^Call to method PHPUnit\\Framework\\Assert\:\:assertIsArray\(\) with array\<string, mixed\> will always evaluate to true\.$#'
identifier: method.alreadyNarrowedType
count: 5
path: tests/Unit/Generator/TypeResolverTest.php
-
message: '#^Parameter \#1 \$enumClass of method MethorZ\\OpenApi\\Generator\\TypeResolver\:\:generateEnumSchema\(\) expects class\-string, string given\.$#'
identifier: argument.type
count: 1
path: tests/Unit/Generator/TypeResolverTest.php