baseline.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?php declare(strict_types = 1);
  2. $ignoreErrors = [];
  3. $ignoreErrors[] = [
  4. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:determineRequiredLineCount\\(\\) has parameter \\$class with no value type specified in iterable type array\\.$#',
  5. 'count' => 1,
  6. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  7. ];
  8. $ignoreErrors[] = [
  9. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getFirstTokenIndexOfClassElement\\(\\) has parameter \\$class with no value type specified in iterable type array\\.$#',
  10. 'count' => 1,
  11. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  12. ];
  13. $ignoreErrors[] = [
  14. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getFirstTokenIndexOfClassElement\\(\\) has parameter \\$element with no value type specified in iterable type array\\.$#',
  15. 'count' => 1,
  16. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  17. ];
  18. $ignoreErrors[] = [
  19. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getLastTokenIndexOfClassElement\\(\\) has parameter \\$class with no value type specified in iterable type array\\.$#',
  20. 'count' => 1,
  21. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  22. ];
  23. $ignoreErrors[] = [
  24. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getLastTokenIndexOfClassElement\\(\\) has parameter \\$element with no value type specified in iterable type array\\.$#',
  25. 'count' => 1,
  26. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  27. ];
  28. $ignoreErrors[] = [
  29. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionExtends\\(\\) has parameter \\$classExtendsInfo with no value type specified in iterable type array\\.$#',
  30. 'count' => 1,
  31. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  32. ];
  33. $ignoreErrors[] = [
  34. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionExtends\\(\\) return type has no value type specified in iterable type array\\.$#',
  35. 'count' => 1,
  36. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  37. ];
  38. $ignoreErrors[] = [
  39. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionImplements\\(\\) has parameter \\$classImplementsInfo with no value type specified in iterable type array\\.$#',
  40. 'count' => 1,
  41. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  42. ];
  43. $ignoreErrors[] = [
  44. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionImplements\\(\\) return type has no value type specified in iterable type array\\.$#',
  45. 'count' => 1,
  46. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  47. ];
  48. $ignoreErrors[] = [
  49. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:fixClassyDefinitionOpenSpacing\\(\\) has parameter \\$classDefInfo with no value type specified in iterable type array\\.$#',
  50. 'count' => 1,
  51. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  52. ];
  53. $ignoreErrors[] = [
  54. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:getClassyInheritanceInfo\\(\\) return type has no value type specified in iterable type array\\.$#',
  55. 'count' => 1,
  56. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  57. ];
  58. $ignoreErrors[] = [
  59. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:getWrapperMethodSequence\\(\\) return type has no value type specified in iterable type array\\.$#',
  60. 'count' => 1,
  61. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  62. ];
  63. $ignoreErrors[] = [
  64. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:sortElements\\(\\) has parameter \\$elements with no value type specified in iterable type array\\.$#',
  65. 'count' => 1,
  66. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  67. ];
  68. $ignoreErrors[] = [
  69. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Comment\\\\NoEmptyCommentFixer\\:\\:getCommentBlock\\(\\) return type has no value type specified in iterable type array\\.$#',
  70. 'count' => 1,
  71. 'path' => __DIR__ . '/../../src/Fixer/Comment/NoEmptyCommentFixer.php',
  72. ];
  73. $ignoreErrors[] = [
  74. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ConfigurableFixerInterface\\:\\:configure\\(\\) has parameter \\$configuration with no value type specified in iterable type array\\.$#',
  75. 'count' => 1,
  76. 'path' => __DIR__ . '/../../src/Fixer/ConfigurableFixerInterface.php',
  77. ];
  78. $ignoreErrors[] = [
  79. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ControlStructure\\\\YodaStyleFixer\\:\\:getCompareFixableInfo\\(\\) return type has no value type specified in iterable type array\\.$#',
  80. 'count' => 1,
  81. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/YodaStyleFixer.php',
  82. ];
  83. $ignoreErrors[] = [
  84. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:countImportsUsedAsArgument\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#',
  85. 'count' => 1,
  86. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
  87. ];
  88. $ignoreErrors[] = [
  89. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:countImportsUsedAsArgument\\(\\) has parameter \\$imports with no value type specified in iterable type array\\.$#',
  90. 'count' => 1,
  91. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
  92. ];
  93. $ignoreErrors[] = [
  94. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:countImportsUsedAsArgument\\(\\) return type has no value type specified in iterable type array\\.$#',
  95. 'count' => 1,
  96. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
  97. ];
  98. $ignoreErrors[] = [
  99. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:filterArguments\\(\\) has parameter \\$arguments with no value type specified in iterable type array\\.$#',
  100. 'count' => 1,
  101. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
  102. ];
  103. $ignoreErrors[] = [
  104. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:filterArguments\\(\\) return type has no value type specified in iterable type array\\.$#',
  105. 'count' => 1,
  106. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
  107. ];
  108. $ignoreErrors[] = [
  109. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\LambdaNotUsedImportFixer\\:\\:findNotUsedLambdaImports\\(\\) has parameter \\$imports with no value type specified in iterable type array\\.$#',
  110. 'count' => 1,
  111. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/LambdaNotUsedImportFixer.php',
  112. ];
  113. $ignoreErrors[] = [
  114. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\PhpdocToPropertyTypeFixer\\:\\:resolveApplicableType\\(\\) return type has no value type specified in iterable type array\\.$#',
  115. 'count' => 1,
  116. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/PhpdocToPropertyTypeFixer.php',
  117. ];
  118. $ignoreErrors[] = [
  119. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\GlobalNamespaceImportFixer\\:\\:filterUseDeclarations\\(\\) return type has no value type specified in iterable type array\\.$#',
  120. 'count' => 1,
  121. 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
  122. ];
  123. $ignoreErrors[] = [
  124. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\GlobalNamespaceImportFixer\\:\\:insertImports\\(\\) has parameter \\$imports with no value type specified in iterable type array\\.$#',
  125. 'count' => 1,
  126. 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
  127. ];
  128. $ignoreErrors[] = [
  129. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\GlobalNamespaceImportFixer\\:\\:prepareImports\\(\\) has parameter \\$global with no value type specified in iterable type array\\.$#',
  130. 'count' => 1,
  131. 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
  132. ];
  133. $ignoreErrors[] = [
  134. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:getNewOrder\\(\\) return type has no value type specified in iterable type array\\.$#',
  135. 'count' => 1,
  136. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  137. ];
  138. $ignoreErrors[] = [
  139. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\SingleImportPerStatementFixer\\:\\:getGroupDeclaration\\(\\) return type has no value type specified in iterable type array\\.$#',
  140. 'count' => 1,
  141. 'path' => __DIR__ . '/../../src/Fixer/Import/SingleImportPerStatementFixer.php',
  142. ];
  143. $ignoreErrors[] = [
  144. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:fixGetClassCall\\(\\) return type has no value type specified in iterable type array\\.$#',
  145. 'count' => 1,
  146. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
  147. ];
  148. $ignoreErrors[] = [
  149. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:getReplaceCandidate\\(\\) return type has no value type specified in iterable type array\\.$#',
  150. 'count' => 1,
  151. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
  152. ];
  153. $ignoreErrors[] = [
  154. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\LanguageConstruct\\\\FunctionToConstantFixer\\:\\:getReplacementTokenClones\\(\\) return type has no value type specified in iterable type array\\.$#',
  155. 'count' => 1,
  156. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
  157. ];
  158. $ignoreErrors[] = [
  159. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\OperatorLinebreakFixer\\:\\:getNonBooleanOperators\\(\\) return type has no value type specified in iterable type array\\.$#',
  160. 'count' => 1,
  161. 'path' => __DIR__ . '/../../src/Fixer/Operator/OperatorLinebreakFixer.php',
  162. ];
  163. $ignoreErrors[] = [
  164. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\TernaryToElvisOperatorFixer\\:\\:getBeforeOperator\\(\\) has parameter \\$blockEdgeDefinitions with no value type specified in iterable type array\\.$#',
  165. 'count' => 1,
  166. 'path' => __DIR__ . '/../../src/Fixer/Operator/TernaryToElvisOperatorFixer.php',
  167. ];
  168. $ignoreErrors[] = [
  169. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\NoSuperfluousPhpdocTagsFixer\\:\\:annotationIsSuperfluous\\(\\) has parameter \\$info with no value type specified in iterable type array\\.$#',
  170. 'count' => 1,
  171. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
  172. ];
  173. $ignoreErrors[] = [
  174. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\NoSuperfluousPhpdocTagsFixer\\:\\:removeSuperfluousModifierAnnotation\\(\\) has parameter \\$element with no value type specified in iterable type array\\.$#',
  175. 'count' => 1,
  176. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
  177. ];
  178. $ignoreErrors[] = [
  179. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\NoSuperfluousPhpdocTagsFixer\\:\\:toComparableNames\\(\\) return type has no value type specified in iterable type array\\.$#',
  180. 'count' => 1,
  181. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
  182. ];
  183. $ignoreErrors[] = [
  184. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Strict\\\\StrictParamFixer\\:\\:fixFunction\\(\\) has parameter \\$functionParams with no value type specified in iterable type array\\.$#',
  185. 'count' => 1,
  186. 'path' => __DIR__ . '/../../src/Fixer/Strict/StrictParamFixer.php',
  187. ];
  188. return ['parameters' => ['ignoreErrors' => $ignoreErrors]];