|
1 | 1 | parameters:
|
2 | 2 | ignoreErrors:
|
3 | 3 | -
|
4 |
| - message: "#^Method PhpOption\\\\Option\\:\\:ensure\\(\\) should return PhpOption\\\\Option\\<S\\> but returns PhpOption\\\\LazyOption\\<mixed\\>\\.$#" |
| 4 | + message: '#^Call to function is_callable\(\) with callable\(mixed \.\.\.\)\: PhpOption\\Option\<T\> will always evaluate to true\.$#' |
| 5 | + identifier: function.alreadyNarrowedType |
| 6 | + count: 1 |
| 7 | + path: src/PhpOption/LazyOption.php |
| 8 | + |
| 9 | + - |
| 10 | + message: '#^Method PhpOption\\Option\:\:ensure\(\) should return PhpOption\\Option\<S\> but returns PhpOption\\LazyOption\<mixed\>\.$#' |
| 11 | + identifier: return.type |
5 | 12 | count: 1
|
6 | 13 | path: src/PhpOption/Option.php
|
7 | 14 |
|
8 | 15 | -
|
9 |
| - message: "#^Method PhpOption\\\\Option\\:\\:fromReturn\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#" |
| 16 | + message: '#^Method PhpOption\\Option\:\:fromReturn\(\) has parameter \$arguments with no value type specified in iterable type array\.$#' |
| 17 | + identifier: missingType.iterableValue |
10 | 18 | count: 1
|
11 | 19 | path: src/PhpOption/Option.php
|
12 | 20 |
|
13 | 21 | -
|
14 |
| - message: "#^Method PhpOption\\\\Option\\:\\:fromReturn\\(\\) should return PhpOption\\\\LazyOption\\<S\\> but returns PhpOption\\\\LazyOption\\<mixed\\>\\.$#" |
| 22 | + message: '#^Method PhpOption\\Option\:\:fromReturn\(\) should return PhpOption\\LazyOption\<S\> but returns PhpOption\\LazyOption\<mixed\>\.$#' |
| 23 | + identifier: return.type |
15 | 24 | count: 1
|
16 | 25 | path: src/PhpOption/Option.php
|
17 | 26 |
|
18 | 27 | -
|
19 |
| - message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(PhpOption\\\\Option\\)\\: T given\\.$#" |
| 28 | + message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, Closure\(PhpOption\\Option\)\: T given\.$#' |
| 29 | + identifier: argument.type |
20 | 30 | count: 1
|
21 | 31 | path: src/PhpOption/Option.php
|
22 | 32 |
|
23 | 33 | -
|
24 |
| - message: "#^Parameter \\#2 \\$callback of function array_reduce expects callable\\(bool\\|TReturn, mixed\\)\\: \\(bool\\|TReturn\\), Closure\\(mixed, PhpOption\\\\Option\\)\\: \\(bool\\|TReturn\\) given\\.$#" |
| 34 | + message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(bool\|TReturn, mixed\)\: \(bool\|TReturn\), Closure\(mixed, PhpOption\\Option\)\: \(bool\|TReturn\) given\.$#' |
| 35 | + identifier: argument.type |
25 | 36 | count: 1
|
26 | 37 | path: src/PhpOption/Option.php
|
27 | 38 |
|
28 | 39 | -
|
29 |
| - message: "#^Template type S of method PhpOption\\\\Option\\:\\:lift\\(\\) is not referenced in a parameter\\.$#" |
| 40 | + message: '#^Template type S of method PhpOption\\Option\:\:lift\(\) is not referenced in a parameter\.$#' |
| 41 | + identifier: method.templateTypeNotInParameter |
30 | 42 | count: 1
|
31 | 43 | path: src/PhpOption/Option.php
|
32 | 44 |
|
0 commit comments