phpstan-baseline.neon 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
  5. count: 1
  6. path: src/Auth/DigestAuthenticate.php
  7. -
  8. message: "#^Constructor of class Cake\\\\Auth\\\\Storage\\\\SessionStorage has an unused parameter \\$response\\.$#"
  9. count: 1
  10. path: src/Auth/Storage/SessionStorage.php
  11. -
  12. message: "#^PHPDoc tag @mixin contains invalid type Cake\\\\Core\\\\InstanceConfigTrait\\.$#"
  13. count: 1
  14. path: src/Auth/Storage/StorageInterface.php
  15. -
  16. message: "#^Access to undefined constant Memcached\\:\\:DYNAMIC_CLIENT_MODE\\.$#"
  17. count: 1
  18. path: src/Cache/Engine/MemcachedEngine.php
  19. -
  20. message: "#^Access to undefined constant Memcached\\:\\:OPT_CLIENT_MODE\\.$#"
  21. count: 1
  22. path: src/Cache/Engine/MemcachedEngine.php
  23. -
  24. message: "#^Parameter \\#1 \\$iterator of class LimitIterator constructor expects Iterator, Countable&Traversable\\<mixed, mixed\\> given\\.$#"
  25. count: 2
  26. path: src/Collection/Collection.php
  27. -
  28. message: "#^Parameter \\#1 \\$iterator of method AppendIterator\\:\\:append\\(\\) expects Iterator, Traversable given\\.$#"
  29. count: 2
  30. path: src/Collection/Collection.php
  31. -
  32. message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<ArrayObject\\> and 'ArrayIterator' will always evaluate to false\\.$#"
  33. count: 1
  34. path: src/Collection/Collection.php
  35. -
  36. message: "#^Call to an undefined method Traversable\\:\\:getArrayCopy\\(\\)\\.$#"
  37. count: 1
  38. path: src/Collection/Iterator/ExtractIterator.php
  39. -
  40. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  41. count: 1
  42. path: src/Collection/Iterator/NestIterator.php
  43. -
  44. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  45. count: 1
  46. path: src/Collection/Iterator/NoChildrenIterator.php
  47. -
  48. message: "#^Parameter \\#1 \\$items of class Cake\\\\Collection\\\\Iterator\\\\TreePrinter constructor expects RecursiveIterator, Iterator\\<mixed, mixed\\> given\\.$#"
  49. count: 1
  50. path: src/Collection/Iterator/TreeIterator.php
  51. -
  52. message: "#^Parameter \\#1 \\$iterator of class LimitIterator constructor expects Iterator, Countable&Traversable\\<mixed, mixed\\> given\\.$#"
  53. count: 2
  54. path: src/Collection/Iterator/TreeIterator.php
  55. -
  56. message: "#^Parameter \\#1 \\$iterator of method AppendIterator\\:\\:append\\(\\) expects Iterator, Traversable given\\.$#"
  57. count: 2
  58. path: src/Collection/Iterator/TreeIterator.php
  59. -
  60. message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<ArrayObject\\> and 'ArrayIterator' will always evaluate to false\\.$#"
  61. count: 1
  62. path: src/Collection/Iterator/TreeIterator.php
  63. -
  64. message: "#^Parameter \\#1 \\$iterator of class LimitIterator constructor expects Iterator, Countable&Traversable\\<mixed, mixed\\> given\\.$#"
  65. count: 2
  66. path: src/Collection/Iterator/TreePrinter.php
  67. -
  68. message: "#^Parameter \\#1 \\$iterator of method AppendIterator\\:\\:append\\(\\) expects Iterator, Traversable given\\.$#"
  69. count: 2
  70. path: src/Collection/Iterator/TreePrinter.php
  71. -
  72. message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<ArrayObject\\> and 'ArrayIterator' will always evaluate to false\\.$#"
  73. count: 1
  74. path: src/Collection/Iterator/TreePrinter.php
  75. -
  76. message: "#^Method Cake\\\\Collection\\\\Iterator\\\\ZipIterator\\:\\:toArray\\(\\) should return array but returns array\\<array, array\\>\\.$#"
  77. count: 1
  78. path: src/Collection/Iterator/ZipIterator.php
  79. -
  80. message: "#^Parameter \\#1 \\$iterator of class LimitIterator constructor expects Iterator, Countable&Traversable\\<mixed, mixed\\> given\\.$#"
  81. count: 2
  82. path: src/Collection/Iterator/ZipIterator.php
  83. -
  84. message: "#^Parameter \\#1 \\$iterator of method AppendIterator\\:\\:append\\(\\) expects Iterator, Traversable given\\.$#"
  85. count: 2
  86. path: src/Collection/Iterator/ZipIterator.php
  87. -
  88. message: "#^Parameter \\#1 \\$iterator of method MultipleIterator\\:\\:attachIterator\\(\\) expects Iterator, Traversable given\\.$#"
  89. count: 1
  90. path: src/Collection/Iterator/ZipIterator.php
  91. -
  92. message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<ArrayObject\\> and 'ArrayIterator' will always evaluate to false\\.$#"
  93. count: 1
  94. path: src/Collection/Iterator/ZipIterator.php
  95. -
  96. message: "#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#"
  97. count: 2
  98. path: src/Command/I18nExtractCommand.php
  99. -
  100. message: "#^Strict comparison using \\=\\=\\= between '/' and '\\\\\\\\' will always evaluate to false\\.$#"
  101. count: 1
  102. path: src/Command/PluginAssetsCopyCommand.php
  103. -
  104. message: "#^Strict comparison using \\=\\=\\= between '/' and '\\\\\\\\' will always evaluate to false\\.$#"
  105. count: 1
  106. path: src/Command/PluginAssetsRemoveCommand.php
  107. -
  108. message: "#^Strict comparison using \\=\\=\\= between '/' and '\\\\\\\\' will always evaluate to false\\.$#"
  109. count: 1
  110. path: src/Command/PluginAssetsSymlinkCommand.php
  111. -
  112. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  113. count: 2
  114. path: src/Console/ConsoleOptionParser.php
  115. -
  116. message: "#^Dead catch \\- Cake\\\\Console\\\\Exception\\\\StopException is never thrown in the try block\\.$#"
  117. count: 1
  118. path: src/Console/ShellDispatcher.php
  119. -
  120. message: "#^Property Cake\\\\Controller\\\\Controller\\:\\:\\$request \\(Cake\\\\Http\\\\ServerRequest\\) on left side of \\?\\? is not nullable\\.$#"
  121. count: 1
  122. path: src/Controller/Controller.php
  123. -
  124. message: "#^Property Cake\\\\Controller\\\\Controller\\:\\:\\$response \\(Cake\\\\Http\\\\Response\\) does not accept Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#"
  125. count: 1
  126. path: src/Controller/Controller.php
  127. -
  128. message: "#^Property Cake\\\\Controller\\\\Controller\\:\\:\\$response \\(Cake\\\\Http\\\\Response\\) on left side of \\?\\? is not nullable\\.$#"
  129. count: 1
  130. path: src/Controller/Controller.php
  131. -
  132. message: "#^Parameter \\#1 \\$request of method Cake\\\\Controller\\\\Controller\\:\\:setRequest\\(\\) expects Cake\\\\Http\\\\ServerRequest, Psr\\\\Http\\\\Message\\\\ServerRequestInterface given\\.$#"
  133. count: 1
  134. path: src/Controller/ControllerFactory.php
  135. -
  136. message: "#^Parameter \\#1 \\$request of method Cake\\\\Controller\\\\ControllerFactory\\:\\:getControllerClass\\(\\) expects Cake\\\\Http\\\\ServerRequest, Psr\\\\Http\\\\Message\\\\ServerRequestInterface given\\.$#"
  137. count: 1
  138. path: src/Controller/ControllerFactory.php
  139. -
  140. message: "#^Parameter \\#1 \\$request of method Cake\\\\Controller\\\\ControllerFactory\\:\\:missingController\\(\\) expects Cake\\\\Http\\\\ServerRequest, Psr\\\\Http\\\\Message\\\\ServerRequestInterface given\\.$#"
  141. count: 2
  142. path: src/Controller/ControllerFactory.php
  143. -
  144. message: "#^PHPDoc tag @param for parameter \\$object with type TObject is not subtype of native type object\\.$#"
  145. count: 1
  146. path: src/Core/ObjectRegistry.php
  147. -
  148. message: "#^Property Cake\\\\Database\\\\Driver\\:\\:\\$_connection \\(PDO\\) does not accept null\\.$#"
  149. count: 2
  150. path: src/Database/Driver.php
  151. -
  152. message: "#^Unreachable statement \\- code above always terminates\\.$#"
  153. count: 1
  154. path: src/Database/Driver.php
  155. -
  156. message: "#^If condition is always true\\.$#"
  157. count: 1
  158. path: src/Database/Driver/Mysql.php
  159. -
  160. message: "#^Unreachable statement \\- code above always terminates\\.$#"
  161. count: 1
  162. path: src/Database/Driver/Mysql.php
  163. -
  164. message: "#^If condition is always true\\.$#"
  165. count: 1
  166. path: src/Database/Driver/Postgres.php
  167. -
  168. message: "#^Unreachable statement \\- code above always terminates\\.$#"
  169. count: 1
  170. path: src/Database/Driver/Postgres.php
  171. -
  172. message: "#^If condition is always true\\.$#"
  173. count: 1
  174. path: src/Database/Driver/Sqlite.php
  175. -
  176. message: "#^Unreachable statement \\- code above always terminates\\.$#"
  177. count: 1
  178. path: src/Database/Driver/Sqlite.php
  179. -
  180. message: "#^If condition is always true\\.$#"
  181. count: 1
  182. path: src/Database/Driver/Sqlserver.php
  183. -
  184. message: "#^Unreachable statement \\- code above always terminates\\.$#"
  185. count: 1
  186. path: src/Database/Driver/Sqlserver.php
  187. -
  188. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  189. count: 8
  190. path: src/Database/Expression/QueryExpression.php
  191. -
  192. message: "#^PHPDoc type array\\<string\\|null\\> of property Cake\\\\Database\\\\Expression\\\\TupleComparison\\:\\:\\$_type is not covariant with PHPDoc type string\\|null of overridden property Cake\\\\Database\\\\Expression\\\\ComparisonExpression\\:\\:\\$_type\\.$#"
  193. count: 1
  194. path: src/Database/Expression/TupleComparison.php
  195. -
  196. message: "#^Access to an undefined property Exception\\:\\:\\$queryString\\.$#"
  197. count: 1
  198. path: src/Database/Log/LoggingStatement.php
  199. -
  200. message: "#^PHPDoc type PDOStatement of property Cake\\\\Database\\\\Statement\\\\PDOStatement\\:\\:\\$_statement is not covariant with PHPDoc type Cake\\\\Database\\\\StatementInterface of overridden property Cake\\\\Database\\\\Statement\\\\StatementDecorator\\:\\:\\$_statement\\.$#"
  201. count: 1
  202. path: src/Database/Statement/PDOStatement.php
  203. -
  204. message: "#^Property PDOStatement\\:\\:\\$queryString \\(string\\) in isset\\(\\) is not nullable\\.$#"
  205. count: 1
  206. path: src/Database/Statement/PDOStatement.php
  207. -
  208. message: "#^Static property Cake\\\\Datasource\\\\ConnectionManager\\:\\:\\$_registry \\(Cake\\\\Datasource\\\\ConnectionRegistry\\) in isset\\(\\) is not nullable\\.$#"
  209. count: 2
  210. path: src/Datasource/ConnectionManager.php
  211. -
  212. message: "#^Cannot unset offset 'args' on array\\{path\\: string, reference\\: mixed\\}\\.$#"
  213. count: 1
  214. path: src/Error/Debugger.php
  215. -
  216. message: "#^Cannot unset offset 'object' on array\\{path\\: string, reference\\: mixed\\}\\.$#"
  217. count: 1
  218. path: src/Error/Debugger.php
  219. -
  220. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  221. count: 1
  222. path: src/Event/EventManager.php
  223. -
  224. message: "#^Call to function unset\\(\\) contains undefined variable \\$directory\\.$#"
  225. count: 2
  226. path: src/Filesystem/Folder.php
  227. -
  228. message: "#^Call to function unset\\(\\) contains undefined variable \\$iterator\\.$#"
  229. count: 2
  230. path: src/Filesystem/Folder.php
  231. -
  232. message: "#^Parameter \\#1 \\$request of static method Cake\\\\Routing\\\\Router\\:\\:setRequest\\(\\) expects Cake\\\\Http\\\\ServerRequest, Psr\\\\Http\\\\Message\\\\ServerRequestInterface given\\.$#"
  233. count: 1
  234. path: src/Http/BaseApplication.php
  235. -
  236. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  237. count: 1
  238. path: src/Http/Client.php
  239. -
  240. message: "#^Parameter \\$ch of method Cake\\\\Http\\\\Client\\\\Adapter\\\\Curl\\:\\:exec\\(\\) has invalid type CurlHandle\\.$#"
  241. count: 1
  242. path: src/Http/Client/Adapter/Curl.php
  243. -
  244. message: "#^Parameter \\$handle of method Cake\\\\Http\\\\Client\\\\Adapter\\\\Curl\\:\\:createResponse\\(\\) has invalid type CurlHandle\\.$#"
  245. count: 1
  246. path: src/Http/Client/Adapter/Curl.php
  247. -
  248. message: "#^Constructor of class Cake\\\\Http\\\\Client\\\\Auth\\\\Digest has an unused parameter \\$options\\.$#"
  249. count: 1
  250. path: src/Http/Client/Auth/Digest.php
  251. -
  252. message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
  253. count: 1
  254. path: src/Http/Cookie/Cookie.php
  255. -
  256. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  257. count: 1
  258. path: src/Http/Cookie/Cookie.php
  259. -
  260. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  261. count: 2
  262. path: src/Http/Cookie/CookieCollection.php
  263. -
  264. message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
  265. count: 1
  266. path: src/Http/Response.php
  267. -
  268. message: "#^Access to an undefined property Psr\\\\Http\\\\Message\\\\UriInterface\\:\\:\\$base\\.$#"
  269. count: 2
  270. path: src/Http/ServerRequestFactory.php
  271. -
  272. message: "#^Access to an undefined property Psr\\\\Http\\\\Message\\\\UriInterface\\:\\:\\$webroot\\.$#"
  273. count: 3
  274. path: src/Http/ServerRequestFactory.php
  275. -
  276. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  277. count: 1
  278. path: src/Http/Session.php
  279. -
  280. message: "#^Call to an undefined method Cake\\\\Chronos\\\\DifferenceFormatterInterface\\:\\:dateAgoInWords\\(\\)\\.$#"
  281. count: 1
  282. path: src/I18n/Date.php
  283. -
  284. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  285. count: 1
  286. path: src/I18n/Date.php
  287. -
  288. message: "#^Call to an undefined method Cake\\\\Chronos\\\\DifferenceFormatterInterface\\:\\:dateAgoInWords\\(\\)\\.$#"
  289. count: 1
  290. path: src/I18n/FrozenDate.php
  291. -
  292. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  293. count: 1
  294. path: src/I18n/FrozenDate.php
  295. -
  296. message: "#^Call to an undefined method Cake\\\\Chronos\\\\DifferenceFormatterInterface\\:\\:timeAgoInWords\\(\\)\\.$#"
  297. count: 1
  298. path: src/I18n/FrozenTime.php
  299. -
  300. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  301. count: 1
  302. path: src/I18n/FrozenTime.php
  303. -
  304. message: "#^Call to an undefined method Cake\\\\Chronos\\\\DifferenceFormatterInterface\\:\\:timeAgoInWords\\(\\)\\.$#"
  305. count: 1
  306. path: src/I18n/Time.php
  307. -
  308. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  309. count: 1
  310. path: src/I18n/Time.php
  311. -
  312. message: "#^Static property Cake\\\\Log\\\\Log\\:\\:\\$_registry \\(Cake\\\\Log\\\\LogEngineRegistry\\) in isset\\(\\) is not nullable\\.$#"
  313. count: 3
  314. path: src/Log/Log.php
  315. -
  316. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  317. count: 1
  318. path: src/Mailer/Email.php
  319. -
  320. message: "#^Access to an undefined property Cake\\\\Mailer\\\\Renderer\\:\\:\\$request\\.$#"
  321. count: 1
  322. path: src/Mailer/Renderer.php
  323. -
  324. message: "#^Access to an undefined property Cake\\\\Mailer\\\\Renderer\\:\\:\\$response\\.$#"
  325. count: 1
  326. path: src/Mailer/Renderer.php
  327. -
  328. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  329. count: 2
  330. path: src/ORM/EagerLoader.php
  331. -
  332. message: "#^Parameter \\#1 \\$assoc of method Cake\\\\ORM\\\\Marshaller\\:\\:_belongsToMany\\(\\) expects Cake\\\\ORM\\\\Association\\\\BelongsToMany, Cake\\\\ORM\\\\Association given\\.$#"
  333. count: 1
  334. path: src/ORM/Marshaller.php
  335. -
  336. message: "#^Parameter \\#2 \\$assoc of method Cake\\\\ORM\\\\Marshaller\\:\\:_mergeBelongsToMany\\(\\) expects Cake\\\\ORM\\\\Association\\\\BelongsToMany, Cake\\\\ORM\\\\Association given\\.$#"
  337. count: 1
  338. path: src/ORM/Marshaller.php
  339. -
  340. message: "#^Method Cake\\\\ORM\\\\Query\\:\\:find\\(\\) should return static\\(Cake\\\\ORM\\\\Query\\) but returns Cake\\\\ORM\\\\Query\\.$#"
  341. count: 1
  342. path: src/ORM/Query.php
  343. -
  344. message: "#^Property Cake\\\\ORM\\\\Query\\:\\:\\$_repository \\(Cake\\\\ORM\\\\Table\\) does not accept Cake\\\\Datasource\\\\RepositoryInterface\\.$#"
  345. count: 1
  346. path: src/ORM/Query.php
  347. -
  348. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  349. count: 1
  350. path: src/ORM/Query.php
  351. -
  352. message: "#^Parameter \\#1 \\$iterator of class LimitIterator constructor expects Iterator, Countable&Traversable\\<mixed, mixed\\> given\\.$#"
  353. count: 2
  354. path: src/ORM/ResultSet.php
  355. -
  356. message: "#^Parameter \\#1 \\$iterator of method AppendIterator\\:\\:append\\(\\) expects Iterator, Traversable given\\.$#"
  357. count: 2
  358. path: src/ORM/ResultSet.php
  359. -
  360. message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<ArrayObject\\> and 'ArrayIterator' will always evaluate to false\\.$#"
  361. count: 1
  362. path: src/ORM/ResultSet.php
  363. -
  364. message: "#^Parameter \\#1 \\$rules of method Cake\\\\ORM\\\\Table\\:\\:buildRules\\(\\) expects Cake\\\\ORM\\\\RulesChecker, Cake\\\\Datasource\\\\RulesChecker given\\.$#"
  365. count: 1
  366. path: src/ORM/Table.php
  367. -
  368. message: "#^Parameter \\#1 \\$request of static method Cake\\\\Routing\\\\Router\\:\\:parseRequest\\(\\) expects Cake\\\\Http\\\\ServerRequest, Psr\\\\Http\\\\Message\\\\ServerRequestInterface given\\.$#"
  369. count: 1
  370. path: src/Routing/Middleware/RoutingMiddleware.php
  371. -
  372. message: "#^Parameter \\#1 \\$request of static method Cake\\\\Routing\\\\Router\\:\\:setRequest\\(\\) expects Cake\\\\Http\\\\ServerRequest, Psr\\\\Http\\\\Message\\\\ServerRequestInterface given\\.$#"
  373. count: 1
  374. path: src/Routing/Middleware/RoutingMiddleware.php
  375. -
  376. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  377. count: 1
  378. path: src/Routing/RouteBuilder.php
  379. -
  380. message: "#^Property Cake\\\\TestSuite\\\\ConsoleIntegrationTestCase\\:\\:\\$_err \\(Cake\\\\TestSuite\\\\Stub\\\\ConsoleOutput\\) does not accept null\\.$#"
  381. count: 1
  382. path: src/TestSuite/ConsoleIntegrationTestCase.php
  383. -
  384. message: "#^Property Cake\\\\TestSuite\\\\ConsoleIntegrationTestCase\\:\\:\\$_in \\(Cake\\\\Console\\\\ConsoleInput\\) does not accept null\\.$#"
  385. count: 1
  386. path: src/TestSuite/ConsoleIntegrationTestCase.php
  387. -
  388. message: "#^Property Cake\\\\TestSuite\\\\ConsoleIntegrationTestCase\\:\\:\\$_out \\(Cake\\\\TestSuite\\\\Stub\\\\ConsoleOutput\\) does not accept null\\.$#"
  389. count: 1
  390. path: src/TestSuite/ConsoleIntegrationTestCase.php
  391. -
  392. message: "#^Parameter \\#1 \\$connection of method Cake\\\\Database\\\\Schema\\\\SqlGeneratorInterface\\:\\:addConstraintSql\\(\\) expects Cake\\\\Database\\\\Connection, Cake\\\\Datasource\\\\ConnectionInterface given\\.$#"
  393. count: 1
  394. path: src/TestSuite/Fixture/TestFixture.php
  395. -
  396. message: "#^Parameter \\#1 \\$connection of method Cake\\\\Database\\\\Schema\\\\SqlGeneratorInterface\\:\\:createSql\\(\\) expects Cake\\\\Database\\\\Connection, Cake\\\\Datasource\\\\ConnectionInterface given\\.$#"
  397. count: 1
  398. path: src/TestSuite/Fixture/TestFixture.php
  399. -
  400. message: "#^Parameter \\#1 \\$connection of method Cake\\\\Database\\\\Schema\\\\SqlGeneratorInterface\\:\\:dropConstraintSql\\(\\) expects Cake\\\\Database\\\\Connection, Cake\\\\Datasource\\\\ConnectionInterface given\\.$#"
  401. count: 1
  402. path: src/TestSuite/Fixture/TestFixture.php
  403. -
  404. message: "#^Parameter \\#1 \\$connection of method Cake\\\\Database\\\\Schema\\\\SqlGeneratorInterface\\:\\:dropSql\\(\\) expects Cake\\\\Database\\\\Connection, Cake\\\\Datasource\\\\ConnectionInterface given\\.$#"
  405. count: 1
  406. path: src/TestSuite/Fixture/TestFixture.php
  407. -
  408. message: "#^Parameter \\#1 \\$connection of method Cake\\\\Database\\\\Schema\\\\SqlGeneratorInterface\\:\\:truncateSql\\(\\) expects Cake\\\\Database\\\\Connection, Cake\\\\Datasource\\\\ConnectionInterface given\\.$#"
  409. count: 1
  410. path: src/TestSuite/Fixture/TestFixture.php
  411. -
  412. message: "#^Property Cake\\\\TestSuite\\\\Fixture\\\\TestFixture\\:\\:\\$_schema \\(Cake\\\\Database\\\\Schema\\\\SqlGeneratorInterface&Cake\\\\Database\\\\Schema\\\\TableSchemaInterface\\) in isset\\(\\) is not nullable\\.$#"
  413. count: 2
  414. path: src/TestSuite/Fixture/TestFixture.php
  415. -
  416. message: "#^Parameter \\#1 \\$response of class Cake\\\\TestSuite\\\\Constraint\\\\Response\\\\CookieEncryptedEquals constructor expects Cake\\\\Http\\\\Response\\|null, Psr\\\\Http\\\\Message\\\\ResponseInterface\\|null given\\.$#"
  417. count: 1
  418. path: src/TestSuite/IntegrationTestCase.php
  419. -
  420. message: "#^Parameter \\#1 \\$response of class Cake\\\\TestSuite\\\\Constraint\\\\Response\\\\CookieEquals constructor expects Cake\\\\Http\\\\Response\\|null, Psr\\\\Http\\\\Message\\\\ResponseInterface\\|null given\\.$#"
  421. count: 1
  422. path: src/TestSuite/IntegrationTestCase.php
  423. -
  424. message: "#^Property Cake\\\\TestSuite\\\\IntegrationTestCase\\:\\:\\$_layoutName \\(string\\) does not accept null\\.$#"
  425. count: 1
  426. path: src/TestSuite/IntegrationTestCase.php
  427. -
  428. message: "#^Property Cake\\\\TestSuite\\\\IntegrationTestCase\\:\\:\\$_requestSession \\(Cake\\\\Http\\\\Session\\) does not accept null\\.$#"
  429. count: 1
  430. path: src/TestSuite/IntegrationTestCase.php
  431. -
  432. message: "#^Property Cake\\\\TestSuite\\\\IntegrationTestCase\\:\\:\\$_viewName \\(string\\) does not accept null\\.$#"
  433. count: 1
  434. path: src/TestSuite/IntegrationTestCase.php
  435. -
  436. message: "#^Offset 0 does not exist on array\\<string, mixed\\>\\.$#"
  437. count: 1
  438. path: src/TestSuite/TestCase.php
  439. -
  440. message: "#^Offset 1 does not exist on array\\<string, mixed\\>\\.$#"
  441. count: 1
  442. path: src/TestSuite/TestCase.php
  443. -
  444. message: "#^Offset 2 does not exist on array\\<string, mixed\\>\\.$#"
  445. count: 1
  446. path: src/TestSuite/TestCase.php
  447. -
  448. message: "#^Unsafe access to private property Cake\\\\TestSuite\\\\TestEmailTransport\\:\\:\\$messages through static\\:\\:\\.$#"
  449. count: 3
  450. path: src/TestSuite/TestEmailTransport.php
  451. -
  452. message: "#^Dead catch \\- Error is never thrown in the try block\\.$#"
  453. count: 1
  454. path: src/View/Cell.php
  455. -
  456. message: "#^Property Cake\\\\View\\\\Cell\\:\\:\\$request \\(Cake\\\\Http\\\\ServerRequest\\) on left side of \\?\\? is not nullable\\.$#"
  457. count: 1
  458. path: src/View/Cell.php
  459. -
  460. message: "#^Property Cake\\\\View\\\\Cell\\:\\:\\$response \\(Cake\\\\Http\\\\Response\\) on left side of \\?\\? is not nullable\\.$#"
  461. count: 1
  462. path: src/View/Cell.php
  463. -
  464. message: "#^Unsafe usage of new static\\(\\)\\.$#"
  465. count: 1
  466. path: src/View/Form/ContextFactory.php
  467. -
  468. message: "#^Constructor of class Cake\\\\View\\\\Form\\\\NullContext has an unused parameter \\$context\\.$#"
  469. count: 1
  470. path: src/View/Form/NullContext.php
  471. -
  472. message: "#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#"
  473. count: 1
  474. path: src/View/Helper/TimeHelper.php