|
1 | 1 | parameters:
|
2 | 2 | ignoreErrors:
|
3 | 3 | -
|
4 |
| - message: "#^Parameter \\#1 \\$callback of function set_error_handler expects \\(callable\\(int, string, string, int\\)\\: bool\\)\\|null, Closure\\(\\)\\: void given\\.$#" |
| 4 | + message: '#^Parameter \#1 \$callback of function set_error_handler expects \(callable\(int, string, string, int\)\: bool\)\|null, Closure\(\)\: void given\.$#' |
| 5 | + identifier: argument.type |
5 | 6 | count: 1
|
6 | 7 | path: src/Api/AbstractApi.php
|
7 | 8 |
|
8 | 9 | -
|
9 |
| - message: "#^Parameter \\#2 \\$resource of method Http\\\\Message\\\\MultipartStream\\\\MultipartStreamBuilder\\:\\:addResource\\(\\) expects Psr\\\\Http\\\\Message\\\\StreamInterface\\|resource\\|string, mixed given\\.$#" |
| 10 | + message: '#^Parameter \#2 \$resource of method Http\\Message\\MultipartStream\\MultipartStreamBuilder\:\:addResource\(\) expects Psr\\Http\\Message\\StreamInterface\|resource\|string, mixed given\.$#' |
| 11 | + identifier: argument.type |
10 | 12 | count: 1
|
11 | 13 | path: src/Api/AbstractApi.php
|
12 | 14 |
|
13 | 15 | -
|
14 |
| - message: "#^Parameter \\#4 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#" |
| 16 | + message: '#^Parameter \#4 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' |
| 17 | + identifier: argument.type |
15 | 18 | count: 1
|
16 | 19 | path: src/Api/AbstractApi.php
|
17 | 20 |
|
18 | 21 | -
|
19 |
| - message: "#^Property Gitlab\\\\Api\\\\AbstractApi\\:\\:\\$perPage is never written, only read\\.$#" |
| 22 | + message: '#^Property Gitlab\\Api\\AbstractApi\:\:\$perPage \(int\|null\) is never assigned int so it can be removed from the property type\.$#' |
| 23 | + identifier: property.unusedType |
20 | 24 | count: 1
|
21 | 25 | path: src/Api/AbstractApi.php
|
22 | 26 |
|
23 | 27 | -
|
24 |
| - message: "#^PHPDoc tag @return contains generic type Http\\\\Promise\\\\Promise\\<Psr\\\\Http\\\\Message\\\\ResponseInterface\\> but interface Http\\\\Promise\\\\Promise is not generic\\.$#" |
| 28 | + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' |
| 29 | + identifier: foreach.nonIterable |
| 30 | + count: 1 |
| 31 | + path: src/Api/Groups.php |
| 32 | + |
| 33 | + - |
| 34 | + message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#' |
| 35 | + identifier: foreach.nonIterable |
| 36 | + count: 2 |
| 37 | + path: src/Api/Projects.php |
| 38 | + |
| 39 | + - |
| 40 | + message: '#^Parameter \#1 \$array of function array_values expects array\<T\>, mixed given\.$#' |
| 41 | + identifier: argument.type |
| 42 | + count: 1 |
| 43 | + path: src/Api/Projects.php |
| 44 | + |
| 45 | + - |
| 46 | + message: '#^Parameter \#1 \$options of method Symfony\\Component\\OptionsResolver\\OptionsResolver\:\:resolve\(\) expects array, mixed given\.$#' |
| 47 | + identifier: argument.type |
| 48 | + count: 1 |
| 49 | + path: src/Api/Repositories.php |
| 50 | + |
| 51 | + - |
| 52 | + message: '#^Parameter \#1 \$uri of static method Gitlab\\Api\\AbstractApi\:\:encodePath\(\) expects int\|string, mixed given\.$#' |
| 53 | + identifier: argument.type |
| 54 | + count: 3 |
| 55 | + path: src/Api/RepositoryFiles.php |
| 56 | + |
| 57 | + - |
| 58 | + message: '#^Parameter \#1 \$message of static method Gitlab\\HttpClient\\Message\\ResponseMediator\:\:getMessageAsString\(\) expects array, mixed given\.$#' |
| 59 | + identifier: argument.type |
| 60 | + count: 1 |
| 61 | + path: src/HttpClient/Message/ResponseMediator.php |
| 62 | + |
| 63 | + - |
| 64 | + message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' |
| 65 | + identifier: argument.type |
| 66 | + count: 2 |
| 67 | + path: src/HttpClient/Message/ResponseMediator.php |
| 68 | + |
| 69 | + - |
| 70 | + message: '#^PHPDoc tag @return contains generic type Http\\Promise\\Promise\<Psr\\Http\\Message\\ResponseInterface\> but interface Http\\Promise\\Promise is not generic\.$#' |
| 71 | + identifier: generics.notGeneric |
25 | 72 | count: 1
|
26 | 73 | path: src/HttpClient/Plugin/Authentication.php
|
27 | 74 |
|
28 | 75 | -
|
29 |
| - message: "#^PHPDoc tag @return contains generic type Http\\\\Promise\\\\Promise\\<Psr\\\\Http\\\\Message\\\\ResponseInterface\\> but interface Http\\\\Promise\\\\Promise is not generic\\.$#" |
| 76 | + message: '#^PHPDoc tag @return contains generic type Http\\Promise\\Promise\<Psr\\Http\\Message\\ResponseInterface\> but interface Http\\Promise\\Promise is not generic\.$#' |
| 77 | + identifier: generics.notGeneric |
30 | 78 | count: 1
|
31 | 79 | path: src/HttpClient/Plugin/ExceptionThrower.php
|
32 | 80 |
|
33 | 81 | -
|
34 |
| - message: "#^Cannot cast mixed to string\\.$#" |
| 82 | + message: '#^PHPDoc tag @var with type string is not subtype of native type non\-empty\-string\|false\.$#' |
| 83 | + identifier: varTag.nativeType |
| 84 | + count: 1 |
| 85 | + path: src/HttpClient/Util/JsonArray.php |
| 86 | + |
| 87 | + - |
| 88 | + message: '#^Cannot cast mixed to string\.$#' |
| 89 | + identifier: cast.string |
35 | 90 | count: 1
|
36 | 91 | path: src/HttpClient/Util/QueryStringBuilder.php
|
37 | 92 |
|
38 | 93 | -
|
39 |
| - message: "#^Variable method call on Gitlab\\\\Api\\\\AbstractApi\\.$#" |
| 94 | + message: '#^PHPDoc tag @var with type Closure\(Gitlab\\Api\\AbstractApi\)\: Gitlab\\Api\\AbstractApi is not subtype of type Closure\(Gitlab\\Api\\AbstractApi\)\: Gitlab\\Api\\AbstractApi\.$#' |
| 95 | + identifier: varTag.type |
| 96 | + count: 1 |
| 97 | + path: src/ResultPager.php |
| 98 | + |
| 99 | + - |
| 100 | + message: '#^Variable method call on Gitlab\\Api\\AbstractApi\.$#' |
| 101 | + identifier: method.dynamicName |
40 | 102 | count: 1
|
41 | 103 | path: src/ResultPager.php
|
42 | 104 |
|
0 commit comments