|
1 | 1 | parameters: |
2 | 2 | ignoreErrors: |
3 | 3 | - |
4 | | - message: "#^Method Leapt\\\\ImBundle\\\\Doctrine\\\\Mapping\\\\Mogrify\\:\\:__construct\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#" |
| 4 | + message: '#^Method Leapt\\ImBundle\\Doctrine\\Mapping\\Mogrify\:\:__construct\(\) has parameter \$params with no value type specified in iterable type array\.$#' |
| 5 | + identifier: missingType.iterableValue |
5 | 6 | count: 1 |
6 | 7 | path: src/Doctrine/Mapping/Mogrify.php |
7 | 8 |
|
8 | 9 | - |
9 | | - message: "#^Cannot access property \\$name on ReflectionProperty\\|string\\.$#" |
| 10 | + message: ''' |
| 11 | + #^Call to deprecated method getReflectionProperties\(\) of class Doctrine\\ORM\\Mapping\\ClassMetadata\: |
| 12 | + Use getPropertyAccessors\(\) instead\.$# |
| 13 | + ''' |
| 14 | + identifier: method.deprecated |
10 | 15 | count: 1 |
11 | 16 | path: src/Listener/MogrifySubscriber.php |
12 | 17 |
|
13 | 18 | - |
14 | | - message: "#^Method Leapt\\\\ImBundle\\\\Listener\\\\MogrifySubscriber\\:\\:getFiles\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 19 | + message: '#^Call to function method_exists\(\) with Doctrine\\ORM\\Mapping\\ClassMetadata\<object\> and ''getPropertyAccessors'' will always evaluate to true\.$#' |
| 20 | + identifier: function.alreadyNarrowedType |
15 | 21 | count: 1 |
16 | 22 | path: src/Listener/MogrifySubscriber.php |
17 | 23 |
|
18 | 24 | - |
19 | | - message: "#^Parameter \\#1 \\$format of method Leapt\\\\ImBundle\\\\Manager\\:\\:mogrify\\(\\) expects array\\|string, ReflectionProperty\\|string given\\.$#" |
| 25 | + message: '#^Call to method getUnderlyingReflector\(\) of internal interface Doctrine\\ORM\\Mapping\\PropertyAccessors\\PropertyAccessor from outside its root namespace Doctrine\.$#' |
| 26 | + identifier: method.internalInterface |
| 27 | + count: 5 |
| 28 | + path: src/Listener/MogrifySubscriber.php |
| 29 | + |
| 30 | + - |
| 31 | + message: '#^Cannot access property \$name on ReflectionProperty\|string\.$#' |
| 32 | + identifier: property.nonObject |
| 33 | + count: 1 |
| 34 | + path: src/Listener/MogrifySubscriber.php |
| 35 | + |
| 36 | + - |
| 37 | + message: '#^Method Leapt\\ImBundle\\Listener\\MogrifySubscriber\:\:getFiles\(\) return type has no value type specified in iterable type array\.$#' |
| 38 | + identifier: missingType.iterableValue |
| 39 | + count: 1 |
| 40 | + path: src/Listener/MogrifySubscriber.php |
| 41 | + |
| 42 | + - |
| 43 | + message: '#^Parameter \#1 \$format of method Leapt\\ImBundle\\Manager\:\:mogrify\(\) expects array\|string, ReflectionProperty\|string given\.$#' |
| 44 | + identifier: argument.type |
| 45 | + count: 1 |
| 46 | + path: src/Listener/MogrifySubscriber.php |
| 47 | + |
| 48 | + - |
| 49 | + message: '#^Property Leapt\\ImBundle\\Listener\\MogrifySubscriber\:\:\$config type has no value type specified in iterable type array\.$#' |
| 50 | + identifier: missingType.iterableValue |
20 | 51 | count: 1 |
21 | 52 | path: src/Listener/MogrifySubscriber.php |
22 | 53 |
|
23 | 54 | - |
24 | | - message: "#^Property Leapt\\\\ImBundle\\\\Listener\\\\MogrifySubscriber\\:\\:\\$config type has no value type specified in iterable type array\\.$#" |
| 55 | + message: '#^Strict comparison using \!\=\= between null and ReflectionProperty will always evaluate to true\.$#' |
| 56 | + identifier: notIdentical.alwaysTrue |
25 | 57 | count: 1 |
26 | 58 | path: src/Listener/MogrifySubscriber.php |
27 | 59 |
|
28 | 60 | - |
29 | | - message: "#^Method Leapt\\\\ImBundle\\\\Manager\\:\\:__construct\\(\\) has parameter \\$formats with no value type specified in iterable type array\\.$#" |
| 61 | + message: '#^Method Leapt\\ImBundle\\Manager\:\:__construct\(\) has parameter \$formats with no value type specified in iterable type array\.$#' |
| 62 | + identifier: missingType.iterableValue |
30 | 63 | count: 1 |
31 | 64 | path: src/Manager.php |
32 | 65 |
|
33 | 66 | - |
34 | | - message: "#^Method Leapt\\\\ImBundle\\\\Manager\\:\\:convert\\(\\) has parameter \\$format with no value type specified in iterable type array\\.$#" |
| 67 | + message: '#^Method Leapt\\ImBundle\\Manager\:\:convert\(\) has parameter \$format with no value type specified in iterable type array\.$#' |
| 68 | + identifier: missingType.iterableValue |
35 | 69 | count: 1 |
36 | 70 | path: src/Manager.php |
37 | 71 |
|
38 | 72 | - |
39 | | - message: "#^Method Leapt\\\\ImBundle\\\\Manager\\:\\:getCacheContent\\(\\) should return string but returns string\\|false\\.$#" |
| 73 | + message: '#^Method Leapt\\ImBundle\\Manager\:\:getCacheContent\(\) should return string but returns string\|false\.$#' |
| 74 | + identifier: return.type |
40 | 75 | count: 1 |
41 | 76 | path: src/Manager.php |
42 | 77 |
|
43 | 78 | - |
44 | | - message: "#^Method Leapt\\\\ImBundle\\\\Manager\\:\\:mogrify\\(\\) has parameter \\$format with no value type specified in iterable type array\\.$#" |
| 79 | + message: '#^Method Leapt\\ImBundle\\Manager\:\:mogrify\(\) has parameter \$format with no value type specified in iterable type array\.$#' |
| 80 | + identifier: missingType.iterableValue |
45 | 81 | count: 1 |
46 | 82 | path: src/Manager.php |
47 | 83 |
|
48 | 84 | - |
49 | | - message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#" |
| 85 | + message: '#^Parameter \#3 \$length of function substr expects int\|null, int\<0, max\>\|false given\.$#' |
| 86 | + identifier: argument.type |
50 | 87 | count: 1 |
51 | 88 | path: src/Manager.php |
52 | 89 |
|
53 | 90 | - |
54 | | - message: "#^Method Leapt\\\\ImBundle\\\\Tests\\\\LeaptImTestingKernel\\:\\:configureContainer\\(\\) is unused\\.$#" |
| 91 | + message: '#^Method Leapt\\ImBundle\\Tests\\LeaptImTestingKernel\:\:configureContainer\(\) is unused\.$#' |
| 92 | + identifier: method.unused |
55 | 93 | count: 1 |
56 | 94 | path: tests/LeaptImTestingKernel.php |
57 | 95 |
|
58 | 96 | - |
59 | | - message: "#^Method Leapt\\\\ImBundle\\\\Tests\\\\LeaptImTestingKernel\\:\\:configureRoutes\\(\\) is unused\\.$#" |
| 97 | + message: '#^Method Leapt\\ImBundle\\Tests\\LeaptImTestingKernel\:\:configureRoutes\(\) is unused\.$#' |
| 98 | + identifier: method.unused |
60 | 99 | count: 1 |
61 | 100 | path: tests/LeaptImTestingKernel.php |
62 | 101 |
|
63 | 102 | - |
64 | | - message: "#^Property Leapt\\\\ImBundle\\\\Tests\\\\ManagerTest\\:\\:\\$root is never read, only written\\.$#" |
| 103 | + message: '#^Property Leapt\\ImBundle\\Tests\\ManagerTest\:\:\$root is never read, only written\.$#' |
| 104 | + identifier: property.onlyWritten |
65 | 105 | count: 1 |
66 | 106 | path: tests/ManagerTest.php |
67 | 107 |
|
68 | 108 | - |
69 | | - message: "#^Unreachable statement \\- code above always terminates\\.$#" |
| 109 | + message: '#^Unreachable statement \- code above always terminates\.$#' |
| 110 | + identifier: deadCode.unreachable |
70 | 111 | count: 3 |
71 | 112 | path: tests/ManagerTest.php |
72 | 113 |
|
73 | 114 | - |
74 | | - message: "#^Method Leapt\\\\ImBundle\\\\Tests\\\\Mock\\\\Process\\:\\:run\\(\\) overrides @final method Symfony\\\\Component\\\\Process\\\\Process\\:\\:run\\(\\)\\.$#" |
| 115 | + message: '#^Method Leapt\\ImBundle\\Tests\\Mock\\Process\:\:run\(\) overrides @final method Symfony\\Component\\Process\\Process\:\:run\(\)\.$#' |
| 116 | + identifier: method.parentMethodFinalByPhpDoc |
75 | 117 | count: 1 |
76 | 118 | path: tests/Mock/Process.php |
77 | 119 |
|
0 commit comments