|
| 1 | +parameters: |
| 2 | + ignoreErrors: |
| 3 | + - |
| 4 | + message: '#^Call to an undefined method object\:\:getClassMetadata\(\)\.$#' |
| 5 | + identifier: method.notFound |
| 6 | + count: 1 |
| 7 | + path: tests/AbstractKernelTestCase.php |
| 8 | + |
| 9 | + - |
| 10 | + message: '#^Method SoureCode\\Bundle\\DoctrineExtension\\Tests\\AbstractKernelTestCase\:\:createKernel\(\) has parameter \$options with no value type specified in iterable type array\.$#' |
| 11 | + identifier: missingType.iterableValue |
| 12 | + count: 1 |
| 13 | + path: tests/AbstractKernelTestCase.php |
| 14 | + |
| 15 | + - |
| 16 | + message: '#^Method SoureCode\\Bundle\\DoctrineExtension\\Tests\\AbstractKernelTestCase\:\:setUpDatabase\(\) has parameter \$classNames with no value type specified in iterable type array\.$#' |
| 17 | + identifier: missingType.iterableValue |
| 18 | + count: 1 |
| 19 | + path: tests/AbstractKernelTestCase.php |
| 20 | + |
| 21 | + - |
| 22 | + message: '#^Parameter \#1 \$classes of method Doctrine\\ORM\\Tools\\SchemaTool\:\:createSchema\(\) expects list\<Doctrine\\ORM\\Mapping\\ClassMetadata\>, array\<mixed\> given\.$#' |
| 23 | + identifier: argument.type |
| 24 | + count: 1 |
| 25 | + path: tests/AbstractKernelTestCase.php |
| 26 | + |
| 27 | + - |
| 28 | + message: '#^Parameter \#1 \$em of class Doctrine\\ORM\\Tools\\SchemaTool constructor expects Doctrine\\ORM\\EntityManagerInterface, object given\.$#' |
| 29 | + identifier: argument.type |
| 30 | + count: 2 |
| 31 | + path: tests/AbstractKernelTestCase.php |
| 32 | + |
| 33 | + - |
| 34 | + message: '#^Call to an undefined method object\:\:getClassMetadata\(\)\.$#' |
| 35 | + identifier: method.notFound |
| 36 | + count: 1 |
| 37 | + path: tests/AbstractWebTestCase.php |
| 38 | + |
| 39 | + - |
| 40 | + message: '#^Method SoureCode\\Bundle\\DoctrineExtension\\Tests\\AbstractWebTestCase\:\:createKernel\(\) has parameter \$options with no value type specified in iterable type array\.$#' |
| 41 | + identifier: missingType.iterableValue |
| 42 | + count: 1 |
| 43 | + path: tests/AbstractWebTestCase.php |
| 44 | + |
| 45 | + - |
| 46 | + message: '#^Parameter \#1 \$classes of method Doctrine\\ORM\\Tools\\SchemaTool\:\:createSchema\(\) expects list\<Doctrine\\ORM\\Mapping\\ClassMetadata\>, list\<mixed\> given\.$#' |
| 47 | + identifier: argument.type |
| 48 | + count: 1 |
| 49 | + path: tests/AbstractWebTestCase.php |
| 50 | + |
| 51 | + - |
| 52 | + message: '#^Parameter \#1 \$em of class Doctrine\\ORM\\Tools\\SchemaTool constructor expects Doctrine\\ORM\\EntityManagerInterface, object given\.$#' |
| 53 | + identifier: argument.type |
| 54 | + count: 2 |
| 55 | + path: tests/AbstractWebTestCase.php |
| 56 | + |
| 57 | + - |
| 58 | + message: '#^Cannot call method clear\(\) on Doctrine\\ORM\\EntityManagerInterface\|null\.$#' |
| 59 | + identifier: method.nonObject |
| 60 | + count: 3 |
| 61 | + path: tests/Benchmark/TimestampableListenerBench.php |
| 62 | + |
| 63 | + - |
| 64 | + message: '#^Cannot call method findOneBy\(\) on Doctrine\\ORM\\EntityRepository\<App\\Entity\\Post\>\|null\.$#' |
| 65 | + identifier: method.nonObject |
| 66 | + count: 1 |
| 67 | + path: tests/Benchmark/TimestampableListenerBench.php |
| 68 | + |
| 69 | + - |
| 70 | + message: '#^Cannot call method flush\(\) on Doctrine\\ORM\\EntityManagerInterface\|null\.$#' |
| 71 | + identifier: method.nonObject |
| 72 | + count: 3 |
| 73 | + path: tests/Benchmark/TimestampableListenerBench.php |
| 74 | + |
| 75 | + - |
| 76 | + message: '#^Cannot call method getRepository\(\) on Doctrine\\ORM\\EntityManagerInterface\|null\.$#' |
| 77 | + identifier: method.nonObject |
| 78 | + count: 1 |
| 79 | + path: tests/Benchmark/TimestampableListenerBench.php |
| 80 | + |
| 81 | + - |
| 82 | + message: '#^Cannot call method persist\(\) on Doctrine\\ORM\\EntityManagerInterface\|null\.$#' |
| 83 | + identifier: method.nonObject |
| 84 | + count: 2 |
| 85 | + path: tests/Benchmark/TimestampableListenerBench.php |
| 86 | + |
| 87 | + - |
| 88 | + message: '#^Property SoureCode\\Bundle\\DoctrineExtension\\Tests\\Benchmark\\TimestampableListenerBench\:\:\$entityManager \(Doctrine\\ORM\\EntityManagerInterface\|null\) does not accept object\.$#' |
| 89 | + identifier: assign.propertyType |
| 90 | + count: 1 |
| 91 | + path: tests/Benchmark/TimestampableListenerBench.php |
| 92 | + |
| 93 | + - |
| 94 | + message: '#^Call to an undefined method object\:\:flush\(\)\.$#' |
| 95 | + identifier: method.notFound |
| 96 | + count: 1 |
| 97 | + path: tests/EventListener/BlameableListenerTest.php |
| 98 | + |
| 99 | + - |
| 100 | + message: '#^Call to an undefined method object\:\:persist\(\)\.$#' |
| 101 | + identifier: method.notFound |
| 102 | + count: 1 |
| 103 | + path: tests/EventListener/BlameableListenerTest.php |
| 104 | + |
| 105 | + - |
| 106 | + message: '#^Call to an undefined method object\:\:clear\(\)\.$#' |
| 107 | + identifier: method.notFound |
| 108 | + count: 1 |
| 109 | + path: tests/EventListener/TimestampableListenerTest.php |
| 110 | + |
| 111 | + - |
| 112 | + message: '#^Call to an undefined method object\:\:flush\(\)\.$#' |
| 113 | + identifier: method.notFound |
| 114 | + count: 3 |
| 115 | + path: tests/EventListener/TimestampableListenerTest.php |
| 116 | + |
| 117 | + - |
| 118 | + message: '#^Call to an undefined method object\:\:getRepository\(\)\.$#' |
| 119 | + identifier: method.notFound |
| 120 | + count: 1 |
| 121 | + path: tests/EventListener/TimestampableListenerTest.php |
| 122 | + |
| 123 | + - |
| 124 | + message: '#^Call to an undefined method object\:\:persist\(\)\.$#' |
| 125 | + identifier: method.notFound |
| 126 | + count: 3 |
| 127 | + path: tests/EventListener/TimestampableListenerTest.php |
| 128 | + |
| 129 | + - |
| 130 | + message: '#^Cannot call method find\(\) on mixed\.$#' |
| 131 | + identifier: method.nonObject |
| 132 | + count: 1 |
| 133 | + path: tests/EventListener/TimestampableListenerTest.php |
| 134 | + |
| 135 | + - |
| 136 | + message: '#^Cannot call method getCreatedAt\(\) on mixed\.$#' |
| 137 | + identifier: method.nonObject |
| 138 | + count: 1 |
| 139 | + path: tests/EventListener/TimestampableListenerTest.php |
| 140 | + |
| 141 | + - |
| 142 | + message: '#^Cannot call method getUpdatedAt\(\) on mixed\.$#' |
| 143 | + identifier: method.nonObject |
| 144 | + count: 1 |
| 145 | + path: tests/EventListener/TimestampableListenerTest.php |
| 146 | + |
| 147 | + - |
| 148 | + message: '#^Cannot call method setTitle\(\) on mixed\.$#' |
| 149 | + identifier: method.nonObject |
| 150 | + count: 1 |
| 151 | + path: tests/EventListener/TimestampableListenerTest.php |
| 152 | + |
| 153 | + - |
| 154 | + message: '#^Call to an undefined method object\:\:flush\(\)\.$#' |
| 155 | + identifier: method.notFound |
| 156 | + count: 2 |
| 157 | + path: tests/Traits/BlameableTraitTest.php |
| 158 | + |
| 159 | + - |
| 160 | + message: '#^Call to an undefined method object\:\:persist\(\)\.$#' |
| 161 | + identifier: method.notFound |
| 162 | + count: 2 |
| 163 | + path: tests/Traits/BlameableTraitTest.php |
| 164 | + |
| 165 | + - |
| 166 | + message: '#^Call to an undefined method object\:\:clear\(\)\.$#' |
| 167 | + identifier: method.notFound |
| 168 | + count: 1 |
| 169 | + path: tests/Traits/TimestampableTraitTest.php |
| 170 | + |
| 171 | + - |
| 172 | + message: '#^Call to an undefined method object\:\:flush\(\)\.$#' |
| 173 | + identifier: method.notFound |
| 174 | + count: 3 |
| 175 | + path: tests/Traits/TimestampableTraitTest.php |
| 176 | + |
| 177 | + - |
| 178 | + message: '#^Call to an undefined method object\:\:getRepository\(\)\.$#' |
| 179 | + identifier: method.notFound |
| 180 | + count: 1 |
| 181 | + path: tests/Traits/TimestampableTraitTest.php |
| 182 | + |
| 183 | + - |
| 184 | + message: '#^Call to an undefined method object\:\:persist\(\)\.$#' |
| 185 | + identifier: method.notFound |
| 186 | + count: 3 |
| 187 | + path: tests/Traits/TimestampableTraitTest.php |
| 188 | + |
| 189 | + - |
| 190 | + message: '#^Cannot call method find\(\) on mixed\.$#' |
| 191 | + identifier: method.nonObject |
| 192 | + count: 1 |
| 193 | + path: tests/Traits/TimestampableTraitTest.php |
| 194 | + |
| 195 | + - |
| 196 | + message: '#^Cannot call method getCreatedAt\(\) on mixed\.$#' |
| 197 | + identifier: method.nonObject |
| 198 | + count: 1 |
| 199 | + path: tests/Traits/TimestampableTraitTest.php |
| 200 | + |
| 201 | + - |
| 202 | + message: '#^Cannot call method getUpdatedAt\(\) on mixed\.$#' |
| 203 | + identifier: method.nonObject |
| 204 | + count: 1 |
| 205 | + path: tests/Traits/TimestampableTraitTest.php |
| 206 | + |
| 207 | + - |
| 208 | + message: '#^Cannot call method setTitle\(\) on mixed\.$#' |
| 209 | + identifier: method.nonObject |
| 210 | + count: 1 |
| 211 | + path: tests/Traits/TimestampableTraitTest.php |
| 212 | + |
| 213 | + - |
| 214 | + message: '#^Cannot call method getLocale\(\) on App\\Entity\\ProductTranslation\|false\.$#' |
| 215 | + identifier: method.nonObject |
| 216 | + count: 2 |
| 217 | + path: tests/Traits/TranslatableTraitTest.php |
| 218 | + |
| 219 | + - |
| 220 | + message: '#^Cannot call method getLocale\(\) on App\\Entity\\ProductTranslation\|null\.$#' |
| 221 | + identifier: method.nonObject |
| 222 | + count: 4 |
| 223 | + path: tests/Traits/TranslatableTraitTest.php |
| 224 | + |
| 225 | + - |
| 226 | + message: '#^Cannot call method getName\(\) on App\\Entity\\ProductTranslation\|false\.$#' |
| 227 | + identifier: method.nonObject |
| 228 | + count: 1 |
| 229 | + path: tests/Traits/TranslatableTraitTest.php |
| 230 | + |
| 231 | + - |
| 232 | + message: '#^Cannot call method getName\(\) on App\\Entity\\ProductTranslation\|null\.$#' |
| 233 | + identifier: method.nonObject |
| 234 | + count: 4 |
| 235 | + path: tests/Traits/TranslatableTraitTest.php |
| 236 | + |
| 237 | + - |
| 238 | + message: '#^Cannot call method getTranslation\(\) on App\\Entity\\Product\|null\.$#' |
| 239 | + identifier: method.nonObject |
| 240 | + count: 1 |
| 241 | + path: tests/Traits/TranslatableTraitTest.php |
| 242 | + |
| 243 | + - |
| 244 | + message: '#^Cannot call method getTranslations\(\) on App\\Entity\\Product\|null\.$#' |
| 245 | + identifier: method.nonObject |
| 246 | + count: 5 |
| 247 | + path: tests/Traits/TranslatableTraitTest.php |
| 248 | + |
| 249 | + - |
| 250 | + message: '#^Cannot call method getTranslations\(\) on App\\Entity\\Product\|null\.$#' |
| 251 | + identifier: method.nonObject |
| 252 | + count: 1 |
| 253 | + path: tests/Translation/EntityTranslatorTest.php |
| 254 | + |
| 255 | + - |
| 256 | + message: '#^Method App\\Entity\\User\:\:getUserIdentifier\(\) should return non\-empty\-string but returns ''''\|numeric\-string\.$#' |
| 257 | + identifier: return.type |
| 258 | + count: 1 |
| 259 | + path: tests/app/src/Entity/User.php |
0 commit comments