phpstan-baseline.neon 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: "#^Method PhpParser\\\\Builder\\\\ClassConst\\:\\:__construct\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  5. count: 1
  6. path: lib/PhpParser/Builder/ClassConst.php
  7. -
  8. message: "#^Method PhpParser\\\\Builder\\\\ClassConst\\:\\:addConst\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  9. count: 1
  10. path: lib/PhpParser/Builder/ClassConst.php
  11. -
  12. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:args\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
  13. count: 1
  14. path: lib/PhpParser/BuilderFactory.php
  15. -
  16. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:attribute\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
  17. count: 1
  18. path: lib/PhpParser/BuilderFactory.php
  19. -
  20. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:classConst\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  21. count: 1
  22. path: lib/PhpParser/BuilderFactory.php
  23. -
  24. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:funcCall\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
  25. count: 1
  26. path: lib/PhpParser/BuilderFactory.php
  27. -
  28. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:methodCall\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
  29. count: 1
  30. path: lib/PhpParser/BuilderFactory.php
  31. -
  32. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:new\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
  33. count: 1
  34. path: lib/PhpParser/BuilderFactory.php
  35. -
  36. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:staticCall\\(\\) has parameter \\$args with no value type specified in iterable type array\\.$#"
  37. count: 1
  38. path: lib/PhpParser/BuilderFactory.php
  39. -
  40. message: "#^Method PhpParser\\\\BuilderFactory\\:\\:val\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  41. count: 1
  42. path: lib/PhpParser/BuilderFactory.php
  43. -
  44. message: "#^Method PhpParser\\\\BuilderHelpers\\:\\:normalizeValue\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  45. count: 1
  46. path: lib/PhpParser/BuilderHelpers.php
  47. -
  48. message: "#^Method PhpParser\\\\ConstExprEvaluator\\:\\:evaluateArray\\(\\) return type has no value type specified in iterable type array\\.$#"
  49. count: 1
  50. path: lib/PhpParser/ConstExprEvaluator.php
  51. -
  52. message: "#^Unary operation \"~\" on mixed results in an error\\.$#"
  53. count: 1
  54. path: lib/PhpParser/ConstExprEvaluator.php
  55. -
  56. message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeArray\\(\\) has parameter \\$array with no value type specified in iterable type array\\.$#"
  57. count: 1
  58. path: lib/PhpParser/JsonDecoder.php
  59. -
  60. message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeArray\\(\\) return type has no value type specified in iterable type array\\.$#"
  61. count: 1
  62. path: lib/PhpParser/JsonDecoder.php
  63. -
  64. message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeComment\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  65. count: 1
  66. path: lib/PhpParser/JsonDecoder.php
  67. -
  68. message: "#^Method PhpParser\\\\JsonDecoder\\:\\:decodeNode\\(\\) has parameter \\$value with no value type specified in iterable type array\\.$#"
  69. count: 1
  70. path: lib/PhpParser/JsonDecoder.php
  71. -
  72. message: "#^Call to function assert\\(\\) with false will always evaluate to false\\.$#"
  73. count: 1
  74. path: lib/PhpParser/Lexer/Emulative.php
  75. -
  76. message: "#^Method PhpParser\\\\NodeDumper\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
  77. count: 1
  78. path: lib/PhpParser/NodeDumper.php
  79. -
  80. message: "#^Method PhpParser\\\\NodeDumper\\:\\:dump\\(\\) has parameter \\$node with no value type specified in iterable type array\\.$#"
  81. count: 1
  82. path: lib/PhpParser/NodeDumper.php
  83. -
  84. message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) has parameter \\$nodes with no value type specified in iterable type array\\.$#"
  85. count: 1
  86. path: lib/PhpParser/NodeTraverser.php
  87. -
  88. message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) return type has no value type specified in iterable type array\\.$#"
  89. count: 1
  90. path: lib/PhpParser/NodeTraverser.php
  91. -
  92. message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$attrGroups\\.$#"
  93. count: 1
  94. path: lib/PhpParser/NodeVisitor/NameResolver.php
  95. -
  96. message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$name\\.$#"
  97. count: 1
  98. path: lib/PhpParser/NodeVisitor/NameResolver.php
  99. -
  100. message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
  101. count: 1
  102. path: lib/PhpParser/NodeVisitor/NameResolver.php
  103. -
  104. message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
  105. count: 1
  106. path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
  107. -
  108. message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
  109. count: 1
  110. path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
  111. -
  112. message: "#^Method PhpParser\\\\NodeVisitor\\\\NodeConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
  113. count: 1
  114. path: lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php
  115. -
  116. message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:beforeTraverse\\(\\) should return array\\<PhpParser\\\\Node\\>\\|null but return statement is missing\\.$#"
  117. count: 1
  118. path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
  119. -
  120. message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:enterNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
  121. count: 1
  122. path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
  123. -
  124. message: "#^Method PhpParser\\\\NodeVisitor\\\\ParentConnectingVisitor\\:\\:leaveNode\\(\\) should return array\\<PhpParser\\\\Node\\>\\|int\\|PhpParser\\\\Node\\|null but return statement is missing\\.$#"
  125. count: 1
  126. path: lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php
  127. -
  128. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG\\.$#"
  129. count: 1
  130. path: lib/PhpParser/ParserAbstract.php
  131. -
  132. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG\\.$#"
  133. count: 1
  134. path: lib/PhpParser/ParserAbstract.php
  135. -
  136. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ATTRIBUTE\\.$#"
  137. count: 1
  138. path: lib/PhpParser/ParserAbstract.php
  139. -
  140. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_COALESCE_EQUAL\\.$#"
  141. count: 1
  142. path: lib/PhpParser/ParserAbstract.php
  143. -
  144. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ECHO\\.$#"
  145. count: 1
  146. path: lib/PhpParser/ParserAbstract.php
  147. -
  148. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_ENUM\\.$#"
  149. count: 1
  150. path: lib/PhpParser/ParserAbstract.php
  151. -
  152. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_FN\\.$#"
  153. count: 1
  154. path: lib/PhpParser/ParserAbstract.php
  155. -
  156. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_MATCH\\.$#"
  157. count: 1
  158. path: lib/PhpParser/ParserAbstract.php
  159. -
  160. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NAME_FULLY_QUALIFIED\\.$#"
  161. count: 1
  162. path: lib/PhpParser/ParserAbstract.php
  163. -
  164. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NAME_QUALIFIED\\.$#"
  165. count: 1
  166. path: lib/PhpParser/ParserAbstract.php
  167. -
  168. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NAME_RELATIVE\\.$#"
  169. count: 1
  170. path: lib/PhpParser/ParserAbstract.php
  171. -
  172. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_NULLSAFE_OBJECT_OPERATOR\\.$#"
  173. count: 1
  174. path: lib/PhpParser/ParserAbstract.php
  175. -
  176. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_PAAMAYIM_NEKUDOTAYIM\\.$#"
  177. count: 1
  178. path: lib/PhpParser/ParserAbstract.php
  179. -
  180. message: "#^Access to undefined constant static\\(PhpParser\\\\ParserAbstract\\)\\:\\:T_READONLY\\.$#"
  181. count: 1
  182. path: lib/PhpParser/ParserAbstract.php
  183. -
  184. message: "#^Unary operation \"\\+\" on string results in an error\\.$#"
  185. count: 1
  186. path: lib/PhpParser/ParserAbstract.php
  187. -
  188. message: "#^Variable \\$action might not be defined\\.$#"
  189. count: 1
  190. path: lib/PhpParser/ParserAbstract.php