-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
97 lines (82 loc) · 3.48 KB
/
phpstan-baseline.neon
File metadata and controls
97 lines (82 loc) · 3.48 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
parameters:
ignoreErrors:
-
message: '#^Cannot cast mixed to int\.$#'
identifier: cast.int
count: 1
path: src/Lambda/Handler/Sqs/AbstractIlluminateQueueSqsHandler.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 3
path: src/Lambda/Handler/Sqs/AbstractIlluminateQueueSqsHandler.php
-
message: '#^Class CurlHandle not found\.$#'
identifier: class.notFound
count: 1
path: src/Lambda/InvocationEvent/InvocationEventFactory.php
-
message: '#^Method Ymir\\Runtime\\Lambda\\InvocationEvent\\InvocationEventFactory\:\:createFromApi\(\) has parameter \$handle with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/Lambda/InvocationEvent/InvocationEventFactory.php
-
message: '#^Method Ymir\\Runtime\\Lambda\\InvocationEvent\\InvocationEventFactory\:\:isHandle\(\) has parameter \$handle with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/Lambda/InvocationEvent/InvocationEventFactory.php
-
message: '#^Constructor of class Ymir\\Runtime\\Lambda\\Response\\Http\\AbstractErrorHttpResponse has an unused parameter \$message\.$#'
identifier: constructor.unusedParameter
count: 1
path: src/Lambda/Response/Http/AbstractErrorHttpResponse.php
-
message: '#^Method Ymir\\Runtime\\Lambda\\Response\\Http\\HttpResponse\:\:withHeader\(\) has parameter \$value with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/Lambda/Response/Http/HttpResponse.php
-
message: '#^Method Ymir\\Runtime\\Logger\:\:__construct\(\) has parameter \$level with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/Logger.php
-
message: '#^Method Ymir\\Runtime\\Logger\:\:__construct\(\) has parameter \$stream with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/Logger.php
-
message: '#^Parameter \#2 \$level of class Monolog\\Handler\\StreamHandler constructor expects 100\|200\|250\|300\|400\|500\|550\|600\|''ALERT''\|''alert''\|''CRITICAL''\|''critical''\|''DEBUG''\|''debug''\|''EMERGENCY''\|''emergency''\|''ERROR''\|''error''\|''INFO''\|''info''\|''NOTICE''\|''notice''\|''WARNING''\|''warning'', int given\.$#'
identifier: argument.type
count: 1
path: src/Logger.php
-
message: '#^Possibly invalid array key type mixed\.$#'
identifier: array.invalidKey
count: 1
path: src/Runtime.php
-
message: '#^Class CurlHandle not found\.$#'
identifier: class.notFound
count: 1
path: src/RuntimeApiClient.php
-
message: '#^Method Ymir\\Runtime\\RuntimeApiClient\:\:sendData\(\) has parameter \$data with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/RuntimeApiClient.php
-
message: '#^Parameter \#1 \$ch of function curl_close expects resource, CurlHandle\|resource given\.$#'
identifier: argument.type
count: 1
path: src/RuntimeApiClient.php
-
message: '#^Property Ymir\\Runtime\\RuntimeApiClient\:\:\$nextInvocationHandle \(CurlHandle\|resource\) is never assigned CurlHandle so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: src/RuntimeApiClient.php
-
message: '#^Property Ymir\\Runtime\\RuntimeApiClient\:\:\$nextInvocationHandle has unknown class CurlHandle as its type\.$#'
identifier: class.notFound
count: 1
path: src/RuntimeApiClient.php