baseline.php 158 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323
  1. <?php declare(strict_types = 1);
  2. $ignoreErrors = [];
  3. $ignoreErrors[] = [
  4. 'message' => '#^Comparison operation "\\<" between int\\<70400, 79999\\>\\|int\\<80001, 80499\\> and 70400 is always false\\.$#',
  5. 'identifier' => 'smaller.alwaysFalse',
  6. 'count' => 1,
  7. 'path' => __DIR__ . '/../../php-cs-fixer',
  8. ];
  9. $ignoreErrors[] = [
  10. 'message' => '#^Offset 1 might not exist on list\\<int\\>\\.$#',
  11. 'identifier' => 'offsetAccess.notFound',
  12. 'count' => 1,
  13. 'path' => __DIR__ . '/../../src/AbstractFopenFlagFixer.php',
  14. ];
  15. $ignoreErrors[] = [
  16. 'message' => '#^Offset int might not exist on array\\<int, int\\>\\.$#',
  17. 'identifier' => 'offsetAccess.notFound',
  18. 'count' => 1,
  19. 'path' => __DIR__ . '/../../src/AbstractFopenFlagFixer.php',
  20. ];
  21. $ignoreErrors[] = [
  22. 'message' => '#^Offset 1 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  23. 'identifier' => 'offsetAccess.notFound',
  24. 'count' => 1,
  25. 'path' => __DIR__ . '/../../src/AbstractFunctionReferenceFixer.php',
  26. ];
  27. $ignoreErrors[] = [
  28. 'message' => '#^Cannot call method getPriority\\(\\) on PhpCsFixer\\\\Fixer\\\\FixerInterface\\|false\\.$#',
  29. 'identifier' => 'method.nonObject',
  30. 'count' => 1,
  31. 'path' => __DIR__ . '/../../src/AbstractProxyFixer.php',
  32. ];
  33. $ignoreErrors[] = [
  34. 'message' => '#^Offset string might not exist on array\\<string, string\\>\\.$#',
  35. 'identifier' => 'offsetAccess.notFound',
  36. 'count' => 1,
  37. 'path' => __DIR__ . '/../../src/Cache/Cache.php',
  38. ];
  39. $ignoreErrors[] = [
  40. 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#',
  41. 'identifier' => 'booleanNot.exprNotBoolean',
  42. 'count' => 1,
  43. 'path' => __DIR__ . '/../../src/Cache/Signature.php',
  44. ];
  45. $ignoreErrors[] = [
  46. 'message' => '#^Method PhpCsFixer\\\\Config\\:\\:getFinder\\(\\) should return PhpCsFixer\\\\Finder but returns iterable\\<SplFileInfo\\>\\.$#',
  47. 'identifier' => 'return.type',
  48. 'count' => 1,
  49. 'path' => __DIR__ . '/../../src/Config.php',
  50. ];
  51. $ignoreErrors[] = [
  52. 'message' => '#^Offset 1 might not exist on non\\-empty\\-list\\<string\\>\\.$#',
  53. 'identifier' => 'offsetAccess.notFound',
  54. 'count' => 2,
  55. 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php',
  56. ];
  57. $ignoreErrors[] = [
  58. 'message' => '#^Only numeric types are allowed in \\-, int\\|false given on the left side\\.$#',
  59. 'identifier' => 'minus.leftNonNumeric',
  60. 'count' => 1,
  61. 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php',
  62. ];
  63. $ignoreErrors[] = [
  64. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#',
  65. 'identifier' => 'argument.type',
  66. 'count' => 1,
  67. 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php',
  68. ];
  69. $ignoreErrors[] = [
  70. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\CheckCommand\\:\\:\\$defaultDescription has no type specified\\.$#',
  71. 'identifier' => 'missingType.property',
  72. 'count' => 1,
  73. 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php',
  74. ];
  75. $ignoreErrors[] = [
  76. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\CheckCommand\\:\\:\\$defaultName has no type specified\\.$#',
  77. 'identifier' => 'missingType.property',
  78. 'count' => 1,
  79. 'path' => __DIR__ . '/../../src/Console/Command/CheckCommand.php',
  80. ];
  81. $ignoreErrors[] = [
  82. 'message' => '#^Offset 1 might not exist on array\\.$#',
  83. 'identifier' => 'offsetAccess.notFound',
  84. 'count' => 2,
  85. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  86. ];
  87. $ignoreErrors[] = [
  88. 'message' => '#^Offset 2 might not exist on array\\.$#',
  89. 'identifier' => 'offsetAccess.notFound',
  90. 'count' => 1,
  91. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  92. ];
  93. $ignoreErrors[] = [
  94. 'message' => '#^Offset non\\-falsy\\-string might not exist on array\\<string, PhpCsFixer\\\\RuleSet\\\\RuleSetDescriptionInterface\\>\\.$#',
  95. 'identifier' => 'offsetAccess.notFound',
  96. 'count' => 1,
  97. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  98. ];
  99. $ignoreErrors[] = [
  100. 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  101. 'identifier' => 'offsetAccess.notFound',
  102. 'count' => 1,
  103. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  104. ];
  105. $ignoreErrors[] = [
  106. 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\RuleSet\\\\RuleSetDescriptionInterface\\>\\.$#',
  107. 'identifier' => 'offsetAccess.notFound',
  108. 'count' => 4,
  109. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  110. ];
  111. $ignoreErrors[] = [
  112. 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\<string\\>, array\\<non\\-falsy\\-string\\> given\\.$#',
  113. 'identifier' => 'argument.type',
  114. 'count' => 1,
  115. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  116. ];
  117. $ignoreErrors[] = [
  118. 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#',
  119. 'identifier' => 'argument.type',
  120. 'count' => 1,
  121. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  122. ];
  123. $ignoreErrors[] = [
  124. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\DescribeCommand\\:\\:\\$defaultName has no type specified\\.$#',
  125. 'identifier' => 'missingType.property',
  126. 'count' => 1,
  127. 'path' => __DIR__ . '/../../src/Console/Command/DescribeCommand.php',
  128. ];
  129. $ignoreErrors[] = [
  130. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\DocumentationCommand\\:\\:\\$defaultName has no type specified\\.$#',
  131. 'identifier' => 'missingType.property',
  132. 'count' => 1,
  133. 'path' => __DIR__ . '/../../src/Console/Command/DocumentationCommand.php',
  134. ];
  135. $ignoreErrors[] = [
  136. 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#',
  137. 'identifier' => 'argument.type',
  138. 'count' => 1,
  139. 'path' => __DIR__ . '/../../src/Console/Command/FixCommand.php',
  140. ];
  141. $ignoreErrors[] = [
  142. 'message' => '#^Parameter \\#3 \\$time of class PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\ReportSummary constructor expects int, float\\|int given\\.$#',
  143. 'identifier' => 'argument.type',
  144. 'count' => 1,
  145. 'path' => __DIR__ . '/../../src/Console/Command/FixCommand.php',
  146. ];
  147. $ignoreErrors[] = [
  148. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\FixCommand\\:\\:\\$defaultDescription has no type specified\\.$#',
  149. 'identifier' => 'missingType.property',
  150. 'count' => 1,
  151. 'path' => __DIR__ . '/../../src/Console/Command/FixCommand.php',
  152. ];
  153. $ignoreErrors[] = [
  154. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\FixCommand\\:\\:\\$defaultName has no type specified\\.$#',
  155. 'identifier' => 'missingType.property',
  156. 'count' => 1,
  157. 'path' => __DIR__ . '/../../src/Console/Command/FixCommand.php',
  158. ];
  159. $ignoreErrors[] = [
  160. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\HelpCommand\\:\\:\\$defaultName has no type specified\\.$#',
  161. 'identifier' => 'missingType.property',
  162. 'count' => 1,
  163. 'path' => __DIR__ . '/../../src/Console/Command/HelpCommand.php',
  164. ];
  165. $ignoreErrors[] = [
  166. 'message' => '#^Parameter \\#2 \\$basePath of static method Symfony\\\\Component\\\\Filesystem\\\\Path\\:\\:makeRelative\\(\\) expects string, string\\|false given\\.$#',
  167. 'identifier' => 'argument.type',
  168. 'count' => 1,
  169. 'path' => __DIR__ . '/../../src/Console/Command/ListFilesCommand.php',
  170. ];
  171. $ignoreErrors[] = [
  172. 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#',
  173. 'identifier' => 'argument.type',
  174. 'count' => 1,
  175. 'path' => __DIR__ . '/../../src/Console/Command/ListFilesCommand.php',
  176. ];
  177. $ignoreErrors[] = [
  178. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\ListFilesCommand\\:\\:\\$defaultName has no type specified\\.$#',
  179. 'identifier' => 'missingType.property',
  180. 'count' => 1,
  181. 'path' => __DIR__ . '/../../src/Console/Command/ListFilesCommand.php',
  182. ];
  183. $ignoreErrors[] = [
  184. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\ListSetsCommand\\:\\:\\$defaultName has no type specified\\.$#',
  185. 'identifier' => 'missingType.property',
  186. 'count' => 1,
  187. 'path' => __DIR__ . '/../../src/Console/Command/ListSetsCommand.php',
  188. ];
  189. $ignoreErrors[] = [
  190. 'message' => '#^Offset \'argv\' might not exist on array\\<mixed\\>\\.$#',
  191. 'identifier' => 'offsetAccess.notFound',
  192. 'count' => 1,
  193. 'path' => __DIR__ . '/../../src/Console/Command/SelfUpdateCommand.php',
  194. ];
  195. $ignoreErrors[] = [
  196. 'message' => '#^Offset \'major\' might not exist on array\\{0\\?\\: string, major\\?\\: numeric\\-string, 1\\?\\: numeric\\-string\\}\\.$#',
  197. 'identifier' => 'offsetAccess.notFound',
  198. 'count' => 1,
  199. 'path' => __DIR__ . '/../../src/Console/Command/SelfUpdateCommand.php',
  200. ];
  201. $ignoreErrors[] = [
  202. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\SelfUpdateCommand\\:\\:\\$defaultName has no type specified\\.$#',
  203. 'identifier' => 'missingType.property',
  204. 'count' => 1,
  205. 'path' => __DIR__ . '/../../src/Console/Command/SelfUpdateCommand.php',
  206. ];
  207. $ignoreErrors[] = [
  208. 'message' => '#^Offset \'files\' might not exist on array\\.$#',
  209. 'identifier' => 'offsetAccess.notFound',
  210. 'count' => 1,
  211. 'path' => __DIR__ . '/../../src/Console/Command/WorkerCommand.php',
  212. ];
  213. $ignoreErrors[] = [
  214. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\WorkerCommand\\:\\:\\$defaultDescription has no type specified\\.$#',
  215. 'identifier' => 'missingType.property',
  216. 'count' => 1,
  217. 'path' => __DIR__ . '/../../src/Console/Command/WorkerCommand.php',
  218. ];
  219. $ignoreErrors[] = [
  220. 'message' => '#^Property PhpCsFixer\\\\Console\\\\Command\\\\WorkerCommand\\:\\:\\$defaultName has no type specified\\.$#',
  221. 'identifier' => 'missingType.property',
  222. 'count' => 1,
  223. 'path' => __DIR__ . '/../../src/Console/Command/WorkerCommand.php',
  224. ];
  225. $ignoreErrors[] = [
  226. 'message' => '#^Offset \'allow\\-risky\' might not exist on array\\<string, mixed\\>\\.$#',
  227. 'identifier' => 'offsetAccess.notFound',
  228. 'count' => 1,
  229. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  230. ];
  231. $ignoreErrors[] = [
  232. 'message' => '#^Offset \'cache\\-file\' might not exist on array\\<string, mixed\\>\\.$#',
  233. 'identifier' => 'offsetAccess.notFound',
  234. 'count' => 1,
  235. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  236. ];
  237. $ignoreErrors[] = [
  238. 'message' => '#^Offset \'config\' might not exist on array\\<string, mixed\\>\\.$#',
  239. 'identifier' => 'offsetAccess.notFound',
  240. 'count' => 1,
  241. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  242. ];
  243. $ignoreErrors[] = [
  244. 'message' => '#^Offset \'diff\' might not exist on array\\<string, mixed\\>\\.$#',
  245. 'identifier' => 'offsetAccess.notFound',
  246. 'count' => 1,
  247. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  248. ];
  249. $ignoreErrors[] = [
  250. 'message' => '#^Offset \'dry\\-run\' might not exist on array\\<string, mixed\\>\\.$#',
  251. 'identifier' => 'offsetAccess.notFound',
  252. 'count' => 1,
  253. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  254. ];
  255. $ignoreErrors[] = [
  256. 'message' => '#^Offset \'path\' might not exist on array\\<string, mixed\\>\\.$#',
  257. 'identifier' => 'offsetAccess.notFound',
  258. 'count' => 6,
  259. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  260. ];
  261. $ignoreErrors[] = [
  262. 'message' => '#^Offset \'path\\-mode\' might not exist on array\\<string, mixed\\>\\.$#',
  263. 'identifier' => 'offsetAccess.notFound',
  264. 'count' => 2,
  265. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  266. ];
  267. $ignoreErrors[] = [
  268. 'message' => '#^Offset \'rules\' might not exist on array\\<string, mixed\\>\\.$#',
  269. 'identifier' => 'offsetAccess.notFound',
  270. 'count' => 1,
  271. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  272. ];
  273. $ignoreErrors[] = [
  274. 'message' => '#^Offset \'sequential\' might not exist on array\\<string, mixed\\>\\.$#',
  275. 'identifier' => 'offsetAccess.notFound',
  276. 'count' => 1,
  277. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  278. ];
  279. $ignoreErrors[] = [
  280. 'message' => '#^Offset \'show\\-progress\' might not exist on array\\<string, mixed\\>\\.$#',
  281. 'identifier' => 'offsetAccess.notFound',
  282. 'count' => 1,
  283. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  284. ];
  285. $ignoreErrors[] = [
  286. 'message' => '#^Offset \'stop\\-on\\-violation\' might not exist on array\\<string, mixed\\>\\.$#',
  287. 'identifier' => 'offsetAccess.notFound',
  288. 'count' => 1,
  289. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  290. ];
  291. $ignoreErrors[] = [
  292. 'message' => '#^Offset \'using\\-cache\' might not exist on array\\<string, mixed\\>\\.$#',
  293. 'identifier' => 'offsetAccess.notFound',
  294. 'count' => 1,
  295. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  296. ];
  297. $ignoreErrors[] = [
  298. 'message' => '#^Offset string might not exist on array\\<string, mixed\\>\\.$#',
  299. 'identifier' => 'offsetAccess.notFound',
  300. 'count' => 1,
  301. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  302. ];
  303. $ignoreErrors[] = [
  304. 'message' => '#^Parameter \\#1 \\$filename of function is_file expects string, string\\|false given\\.$#',
  305. 'identifier' => 'argument.type',
  306. 'count' => 1,
  307. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  308. ];
  309. $ignoreErrors[] = [
  310. 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\<string\\>, non\\-empty\\-array\\<int\\<0, max\\>, string\\> given\\.$#',
  311. 'identifier' => 'argument.type',
  312. 'count' => 1,
  313. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  314. ];
  315. $ignoreErrors[] = [
  316. 'message' => '#^Property PhpCsFixer\\\\Console\\\\ConfigurationResolver\\:\\:\\$path \\(list\\<string\\>\\|null\\) does not accept array\\<non\\-empty\\-string\\>\\.$#',
  317. 'identifier' => 'assign.propertyType',
  318. 'count' => 1,
  319. 'path' => __DIR__ . '/../../src/Console/ConfigurationResolver.php',
  320. ];
  321. $ignoreErrors[] = [
  322. 'message' => '#^Offset \'line\' might not exist on array\\{function\\?\\: string, line\\?\\: int, file\\: string, class\\?\\: class\\-string, type\\?\\: \'\\-\\>\'\\|\'\\:\\:\', args\\?\\: array\\<mixed\\>, object\\?\\: object\\}\\.$#',
  323. 'identifier' => 'offsetAccess.notFound',
  324. 'count' => 1,
  325. 'path' => __DIR__ . '/../../src/Console/Output/ErrorOutput.php',
  326. ];
  327. $ignoreErrors[] = [
  328. 'message' => '#^Offset int might not exist on array\\<1\\|2\\|3\\|4\\|5\\|6, array\\{symbol\\: string, format\\: string, description\\: string\\}\\>\\.$#',
  329. 'identifier' => 'offsetAccess.notFound',
  330. 'count' => 1,
  331. 'path' => __DIR__ . '/../../src/Console/Output/Progress/DotsOutput.php',
  332. ];
  333. $ignoreErrors[] = [
  334. 'message' => '#^Offset string might not exist on array\\<string, class\\-string\\<PhpCsFixer\\\\Console\\\\Output\\\\Progress\\\\ProgressOutputInterface\\>\\>\\.$#',
  335. 'identifier' => 'offsetAccess.notFound',
  336. 'count' => 1,
  337. 'path' => __DIR__ . '/../../src/Console/Output/Progress/ProgressOutputFactory.php',
  338. ];
  339. $ignoreErrors[] = [
  340. 'message' => '#^Method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\CheckstyleReporter\\:\\:generate\\(\\) should return string but returns string\\|false\\.$#',
  341. 'identifier' => 'return.type',
  342. 'count' => 1,
  343. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/CheckstyleReporter.php',
  344. ];
  345. $ignoreErrors[] = [
  346. 'message' => '#^Parameter \\#1 \\$text of static method Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatter\\:\\:escape\\(\\) expects string, string\\|false given\\.$#',
  347. 'identifier' => 'argument.type',
  348. 'count' => 1,
  349. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/CheckstyleReporter.php',
  350. ];
  351. $ignoreErrors[] = [
  352. 'message' => '#^Parameter \\#1 \\$diffs of static method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\GitlabReporter\\:\\:getLines\\(\\) expects list\\<SebastianBergmann\\\\Diff\\\\Diff\\>, array\\<SebastianBergmann\\\\Diff\\\\Diff\\> given\\.$#',
  353. 'identifier' => 'argument.type',
  354. 'count' => 1,
  355. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/GitlabReporter.php',
  356. ];
  357. $ignoreErrors[] = [
  358. 'message' => '#^Method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\JunitReporter\\:\\:generate\\(\\) should return string but returns string\\|false\\.$#',
  359. 'identifier' => 'return.type',
  360. 'count' => 1,
  361. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/JunitReporter.php',
  362. ];
  363. $ignoreErrors[] = [
  364. 'message' => '#^Parameter \\#1 \\$text of static method Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatter\\:\\:escape\\(\\) expects string, string\\|false given\\.$#',
  365. 'identifier' => 'argument.type',
  366. 'count' => 1,
  367. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/JunitReporter.php',
  368. ];
  369. $ignoreErrors[] = [
  370. 'message' => '#^Parameter \\#1 \\$reporter of method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\ReporterFactory\\:\\:registerReporter\\(\\) expects PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\ReporterInterface, object given\\.$#',
  371. 'identifier' => 'argument.type',
  372. 'count' => 1,
  373. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/ReporterFactory.php',
  374. ];
  375. $ignoreErrors[] = [
  376. 'message' => '#^Method PhpCsFixer\\\\Console\\\\Report\\\\FixReport\\\\XmlReporter\\:\\:generate\\(\\) should return string but returns string\\|false\\.$#',
  377. 'identifier' => 'return.type',
  378. 'count' => 1,
  379. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/XmlReporter.php',
  380. ];
  381. $ignoreErrors[] = [
  382. 'message' => '#^Parameter \\#1 \\$text of static method Symfony\\\\Component\\\\Console\\\\Formatter\\\\OutputFormatter\\:\\:escape\\(\\) expects string, string\\|false given\\.$#',
  383. 'identifier' => 'argument.type',
  384. 'count' => 1,
  385. 'path' => __DIR__ . '/../../src/Console/Report/FixReport/XmlReporter.php',
  386. ];
  387. $ignoreErrors[] = [
  388. 'message' => '#^Parameter \\#1 \\$reporter of method PhpCsFixer\\\\Console\\\\Report\\\\ListSetsReport\\\\ReporterFactory\\:\\:registerReporter\\(\\) expects PhpCsFixer\\\\Console\\\\Report\\\\ListSetsReport\\\\ReporterInterface, object given\\.$#',
  389. 'identifier' => 'argument.type',
  390. 'count' => 1,
  391. 'path' => __DIR__ . '/../../src/Console/Report/ListSetsReport/ReporterFactory.php',
  392. ];
  393. $ignoreErrors[] = [
  394. 'message' => '#^Offset 0 might not exist on list\\<string\\>\\.$#',
  395. 'identifier' => 'offsetAccess.notFound',
  396. 'count' => 1,
  397. 'path' => __DIR__ . '/../../src/Console/SelfUpdate/NewVersionChecker.php',
  398. ];
  399. $ignoreErrors[] = [
  400. 'message' => '#^Offset 0 might not exist on array\\.$#',
  401. 'identifier' => 'offsetAccess.notFound',
  402. 'count' => 3,
  403. 'path' => __DIR__ . '/../../src/Differ/DiffConsoleFormatter.php',
  404. ];
  405. $ignoreErrors[] = [
  406. 'message' => '#^Offset \'types\' might not exist on array\\<string\\>\\.$#',
  407. 'identifier' => 'offsetAccess.notFound',
  408. 'count' => 1,
  409. 'path' => __DIR__ . '/../../src/DocBlock/Annotation.php',
  410. ];
  411. $ignoreErrors[] = [
  412. 'message' => '#^Offset \'variable\' might not exist on array\\<string\\>\\.$#',
  413. 'identifier' => 'offsetAccess.notFound',
  414. 'count' => 1,
  415. 'path' => __DIR__ . '/../../src/DocBlock/Annotation.php',
  416. ];
  417. $ignoreErrors[] = [
  418. 'message' => '#^Offset 0 might not exist on array\\<int, PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  419. 'identifier' => 'offsetAccess.notFound',
  420. 'count' => 5,
  421. 'path' => __DIR__ . '/../../src/DocBlock/Annotation.php',
  422. ];
  423. $ignoreErrors[] = [
  424. 'message' => '#^Offset 0 might not exist on list\\<PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  425. 'identifier' => 'offsetAccess.notFound',
  426. 'count' => 1,
  427. 'path' => __DIR__ . '/../../src/DocBlock/DocBlock.php',
  428. ];
  429. $ignoreErrors[] = [
  430. 'message' => '#^Offset int might not exist on list\\<PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  431. 'identifier' => 'offsetAccess.notFound',
  432. 'count' => 1,
  433. 'path' => __DIR__ . '/../../src/DocBlock/DocBlock.php',
  434. ];
  435. $ignoreErrors[] = [
  436. 'message' => '#^Offset \'_array_shape_inner\' might not exist on array\\<string\\>\\.$#',
  437. 'identifier' => 'offsetAccess.notFound',
  438. 'count' => 1,
  439. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  440. ];
  441. $ignoreErrors[] = [
  442. 'message' => '#^Offset \'_callable_argument\' might not exist on array\\<string\\>\\.$#',
  443. 'identifier' => 'offsetAccess.notFound',
  444. 'count' => 1,
  445. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  446. ];
  447. $ignoreErrors[] = [
  448. 'message' => '#^Offset \'_callable_template_inner\' might not exist on array\\<string\\>\\.$#',
  449. 'identifier' => 'offsetAccess.notFound',
  450. 'count' => 1,
  451. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  452. ];
  453. $ignoreErrors[] = [
  454. 'message' => '#^Offset \'array\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  455. 'identifier' => 'offsetAccess.notFound',
  456. 'count' => 1,
  457. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  458. ];
  459. $ignoreErrors[] = [
  460. 'message' => '#^Offset \'array_shape_inner_value\' might not exist on array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  461. 'identifier' => 'offsetAccess.notFound',
  462. 'count' => 2,
  463. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  464. ];
  465. $ignoreErrors[] = [
  466. 'message' => '#^Offset \'array_shape_inners\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  467. 'identifier' => 'offsetAccess.notFound',
  468. 'count' => 1,
  469. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  470. ];
  471. $ignoreErrors[] = [
  472. 'message' => '#^Offset \'array_shape_name\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  473. 'identifier' => 'offsetAccess.notFound',
  474. 'count' => 2,
  475. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  476. ];
  477. $ignoreErrors[] = [
  478. 'message' => '#^Offset \'array_shape_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  479. 'identifier' => 'offsetAccess.notFound',
  480. 'count' => 1,
  481. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  482. ];
  483. $ignoreErrors[] = [
  484. 'message' => '#^Offset \'callable_argument_type\' might not exist on array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  485. 'identifier' => 'offsetAccess.notFound',
  486. 'count' => 1,
  487. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  488. ];
  489. $ignoreErrors[] = [
  490. 'message' => '#^Offset \'callable_arguments\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  491. 'identifier' => 'offsetAccess.notFound',
  492. 'count' => 1,
  493. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  494. ];
  495. $ignoreErrors[] = [
  496. 'message' => '#^Offset \'callable_name\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  497. 'identifier' => 'offsetAccess.notFound',
  498. 'count' => 3,
  499. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  500. ];
  501. $ignoreErrors[] = [
  502. 'message' => '#^Offset \'callable_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  503. 'identifier' => 'offsetAccess.notFound',
  504. 'count' => 1,
  505. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  506. ];
  507. $ignoreErrors[] = [
  508. 'message' => '#^Offset \'callable_template\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  509. 'identifier' => 'offsetAccess.notFound',
  510. 'count' => 1,
  511. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  512. ];
  513. $ignoreErrors[] = [
  514. 'message' => '#^Offset \'callable_template_inner_b\' might not exist on array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  515. 'identifier' => 'offsetAccess.notFound',
  516. 'count' => 1,
  517. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  518. ];
  519. $ignoreErrors[] = [
  520. 'message' => '#^Offset \'callable_template_inner_b_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  521. 'identifier' => 'offsetAccess.notFound',
  522. 'count' => 2,
  523. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  524. ];
  525. $ignoreErrors[] = [
  526. 'message' => '#^Offset \'callable_template_inner_d\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  527. 'identifier' => 'offsetAccess.notFound',
  528. 'count' => 1,
  529. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  530. ];
  531. $ignoreErrors[] = [
  532. 'message' => '#^Offset \'callable_template_inner_d_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  533. 'identifier' => 'offsetAccess.notFound',
  534. 'count' => 2,
  535. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  536. ];
  537. $ignoreErrors[] = [
  538. 'message' => '#^Offset \'callable_template_inners\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  539. 'identifier' => 'offsetAccess.notFound',
  540. 'count' => 1,
  541. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  542. ];
  543. $ignoreErrors[] = [
  544. 'message' => '#^Offset \'callable_template_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  545. 'identifier' => 'offsetAccess.notFound',
  546. 'count' => 1,
  547. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  548. ];
  549. $ignoreErrors[] = [
  550. 'message' => '#^Offset \'class_constant\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  551. 'identifier' => 'offsetAccess.notFound',
  552. 'count' => 1,
  553. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  554. ];
  555. $ignoreErrors[] = [
  556. 'message' => '#^Offset \'class_constant_name\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  557. 'identifier' => 'offsetAccess.notFound',
  558. 'count' => 1,
  559. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  560. ];
  561. $ignoreErrors[] = [
  562. 'message' => '#^Offset \'conditional_cond_left\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  563. 'identifier' => 'offsetAccess.notFound',
  564. 'count' => 1,
  565. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  566. ];
  567. $ignoreErrors[] = [
  568. 'message' => '#^Offset \'conditional_cond_middle\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  569. 'identifier' => 'offsetAccess.notFound',
  570. 'count' => 1,
  571. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  572. ];
  573. $ignoreErrors[] = [
  574. 'message' => '#^Offset \'conditional_cond_right_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  575. 'identifier' => 'offsetAccess.notFound',
  576. 'count' => 2,
  577. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  578. ];
  579. $ignoreErrors[] = [
  580. 'message' => '#^Offset \'conditional_false_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  581. 'identifier' => 'offsetAccess.notFound',
  582. 'count' => 1,
  583. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  584. ];
  585. $ignoreErrors[] = [
  586. 'message' => '#^Offset \'conditional_false_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  587. 'identifier' => 'offsetAccess.notFound',
  588. 'count' => 1,
  589. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  590. ];
  591. $ignoreErrors[] = [
  592. 'message' => '#^Offset \'conditional_true_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  593. 'identifier' => 'offsetAccess.notFound',
  594. 'count' => 1,
  595. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  596. ];
  597. $ignoreErrors[] = [
  598. 'message' => '#^Offset \'conditional_true_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  599. 'identifier' => 'offsetAccess.notFound',
  600. 'count' => 2,
  601. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  602. ];
  603. $ignoreErrors[] = [
  604. 'message' => '#^Offset \'generic_name\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  605. 'identifier' => 'offsetAccess.notFound',
  606. 'count' => 2,
  607. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  608. ];
  609. $ignoreErrors[] = [
  610. 'message' => '#^Offset \'generic_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  611. 'identifier' => 'offsetAccess.notFound',
  612. 'count' => 1,
  613. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  614. ];
  615. $ignoreErrors[] = [
  616. 'message' => '#^Offset \'generic_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  617. 'identifier' => 'offsetAccess.notFound',
  618. 'count' => 1,
  619. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  620. ];
  621. $ignoreErrors[] = [
  622. 'message' => '#^Offset \'nullable\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  623. 'identifier' => 'offsetAccess.notFound',
  624. 'count' => 1,
  625. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  626. ];
  627. $ignoreErrors[] = [
  628. 'message' => '#^Offset \'parenthesized_start\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  629. 'identifier' => 'offsetAccess.notFound',
  630. 'count' => 1,
  631. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  632. ];
  633. $ignoreErrors[] = [
  634. 'message' => '#^Offset \'parenthesized_types\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  635. 'identifier' => 'offsetAccess.notFound',
  636. 'count' => 1,
  637. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  638. ];
  639. $ignoreErrors[] = [
  640. 'message' => '#^Offset \'type\' might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  641. 'identifier' => 'offsetAccess.notFound',
  642. 'count' => 3,
  643. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  644. ];
  645. $ignoreErrors[] = [
  646. 'message' => '#^Offset \'types\' might not exist on array\\<string\\>\\.$#',
  647. 'identifier' => 'offsetAccess.notFound',
  648. 'count' => 1,
  649. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  650. ];
  651. $ignoreErrors[] = [
  652. 'message' => '#^Offset 0 might not exist on array\\<string\\>\\.$#',
  653. 'identifier' => 'offsetAccess.notFound',
  654. 'count' => 4,
  655. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  656. ];
  657. $ignoreErrors[] = [
  658. 'message' => '#^Offset 0 might not exist on non\\-empty\\-array\\<array\\{string, int\\<\\-1, max\\>\\}\\>\\.$#',
  659. 'identifier' => 'offsetAccess.notFound',
  660. 'count' => 1,
  661. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  662. ];
  663. $ignoreErrors[] = [
  664. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<array\\{start_index\\: int\\<0, max\\>, value\\: string, next_glue\\: string\\|null, next_glue_raw\\: string\\|null\\}\\>\\.$#',
  665. 'identifier' => 'offsetAccess.notFound',
  666. 'count' => 2,
  667. 'path' => __DIR__ . '/../../src/DocBlock/TypeExpression.php',
  668. ];
  669. $ignoreErrors[] = [
  670. 'message' => '#^Offset int might not exist on list\\<PhpCsFixer\\\\Doctrine\\\\Annotation\\\\Token\\>\\.$#',
  671. 'identifier' => 'offsetAccess.notFound',
  672. 'count' => 1,
  673. 'path' => __DIR__ . '/../../src/Doctrine/Annotation/DocLexer.php',
  674. ];
  675. $ignoreErrors[] = [
  676. 'message' => '#^Offset 1 might not exist on array\\.$#',
  677. 'identifier' => 'offsetAccess.notFound',
  678. 'count' => 1,
  679. 'path' => __DIR__ . '/../../src/Documentation/DocumentationLocator.php',
  680. ];
  681. $ignoreErrors[] = [
  682. 'message' => '#^Offset 2 might not exist on array\\.$#',
  683. 'identifier' => 'offsetAccess.notFound',
  684. 'count' => 1,
  685. 'path' => __DIR__ . '/../../src/Documentation/DocumentationLocator.php',
  686. ];
  687. $ignoreErrors[] = [
  688. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
  689. 'identifier' => 'plus.leftNonNumeric',
  690. 'count' => 1,
  691. 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php',
  692. ];
  693. $ignoreErrors[] = [
  694. 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\<string\\>, array\\<non\\-falsy\\-string\\> given\\.$#',
  695. 'identifier' => 'argument.type',
  696. 'count' => 1,
  697. 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php',
  698. ];
  699. $ignoreErrors[] = [
  700. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#',
  701. 'identifier' => 'argument.type',
  702. 'count' => 1,
  703. 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php',
  704. ];
  705. $ignoreErrors[] = [
  706. 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\<string\\>\\|string, string\\|false given\\.$#',
  707. 'identifier' => 'argument.type',
  708. 'count' => 1,
  709. 'path' => __DIR__ . '/../../src/Documentation/FixerDocumentGenerator.php',
  710. ];
  711. $ignoreErrors[] = [
  712. 'message' => '#^Offset \\(int\\|string\\) might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  713. 'identifier' => 'offsetAccess.notFound',
  714. 'count' => 1,
  715. 'path' => __DIR__ . '/../../src/Documentation/RuleSetDocumentationGenerator.php',
  716. ];
  717. $ignoreErrors[] = [
  718. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#',
  719. 'identifier' => 'argument.type',
  720. 'count' => 2,
  721. 'path' => __DIR__ . '/../../src/Documentation/RuleSetDocumentationGenerator.php',
  722. ];
  723. $ignoreErrors[] = [
  724. 'message' => '#^Method PhpCsFixer\\\\Error\\\\ErrorsManager\\:\\:getExceptionErrors\\(\\) should return list\\<PhpCsFixer\\\\Error\\\\Error\\> but returns array\\<int\\<0, max\\>, PhpCsFixer\\\\Error\\\\Error\\>\\.$#',
  725. 'identifier' => 'return.type',
  726. 'count' => 1,
  727. 'path' => __DIR__ . '/../../src/Error/ErrorsManager.php',
  728. ];
  729. $ignoreErrors[] = [
  730. 'message' => '#^Method PhpCsFixer\\\\Error\\\\ErrorsManager\\:\\:getInvalidErrors\\(\\) should return list\\<PhpCsFixer\\\\Error\\\\Error\\> but returns array\\<int\\<0, max\\>, PhpCsFixer\\\\Error\\\\Error\\>\\.$#',
  731. 'identifier' => 'return.type',
  732. 'count' => 1,
  733. 'path' => __DIR__ . '/../../src/Error/ErrorsManager.php',
  734. ];
  735. $ignoreErrors[] = [
  736. 'message' => '#^Method PhpCsFixer\\\\Error\\\\ErrorsManager\\:\\:getLintErrors\\(\\) should return list\\<PhpCsFixer\\\\Error\\\\Error\\> but returns array\\<int\\<0, max\\>, PhpCsFixer\\\\Error\\\\Error\\>\\.$#',
  737. 'identifier' => 'return.type',
  738. 'count' => 1,
  739. 'path' => __DIR__ . '/../../src/Error/ErrorsManager.php',
  740. ];
  741. $ignoreErrors[] = [
  742. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\AbstractPhpUnitFixer\\:\\:addInternalAnnotation\\(\\) should return list\\<PhpCsFixer\\\\DocBlock\\\\Line\\> but returns array\\<int\\<0, max\\>, PhpCsFixer\\\\DocBlock\\\\Line\\|non\\-falsy\\-string\\>\\.$#',
  743. 'identifier' => 'return.type',
  744. 'count' => 1,
  745. 'path' => __DIR__ . '/../../src/Fixer/AbstractPhpUnitFixer.php',
  746. ];
  747. $ignoreErrors[] = [
  748. 'message' => '#^Offset 0 might not exist on array\\<int, string\\>\\.$#',
  749. 'identifier' => 'offsetAccess.notFound',
  750. 'count' => 1,
  751. 'path' => __DIR__ . '/../../src/Fixer/Alias/EregToPregFixer.php',
  752. ];
  753. $ignoreErrors[] = [
  754. 'message' => '#^Offset 1 might not exist on array\\<int, string\\>\\.$#',
  755. 'identifier' => 'offsetAccess.notFound',
  756. 'count' => 1,
  757. 'path' => __DIR__ . '/../../src/Fixer/Alias/EregToPregFixer.php',
  758. ];
  759. $ignoreErrors[] = [
  760. 'message' => '#^Offset 2 might not exist on array\\<int, string\\>\\.$#',
  761. 'identifier' => 'offsetAccess.notFound',
  762. 'count' => 1,
  763. 'path' => __DIR__ . '/../../src/Fixer/Alias/EregToPregFixer.php',
  764. ];
  765. $ignoreErrors[] = [
  766. 'message' => '#^Offset 2 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  767. 'identifier' => 'offsetAccess.notFound',
  768. 'count' => 4,
  769. 'path' => __DIR__ . '/../../src/Fixer/Alias/EregToPregFixer.php',
  770. ];
  771. $ignoreErrors[] = [
  772. 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getNextTokenOfKind\\(\\) expects int, int\\|false given\\.$#',
  773. 'identifier' => 'argument.type',
  774. 'count' => 1,
  775. 'path' => __DIR__ . '/../../src/Fixer/Alias/PowToExponentiationFixer.php',
  776. ];
  777. $ignoreErrors[] = [
  778. 'message' => '#^Offset string might not exist on array\\<string, array\\<int, int\\>\\>\\.$#',
  779. 'identifier' => 'offsetAccess.notFound',
  780. 'count' => 1,
  781. 'path' => __DIR__ . '/../../src/Fixer/Alias/RandomApiMigrationFixer.php',
  782. ];
  783. $ignoreErrors[] = [
  784. 'message' => '#^Offset 0 might not exist on list\\<int\\>\\.$#',
  785. 'identifier' => 'offsetAccess.notFound',
  786. 'count' => 1,
  787. 'path' => __DIR__ . '/../../src/Fixer/Alias/SetTypeToCastFixer.php',
  788. ];
  789. $ignoreErrors[] = [
  790. 'message' => '#^Offset 1 might not exist on list\\<int\\>\\.$#',
  791. 'identifier' => 'offsetAccess.notFound',
  792. 'count' => 2,
  793. 'path' => __DIR__ . '/../../src/Fixer/Alias/SetTypeToCastFixer.php',
  794. ];
  795. $ignoreErrors[] = [
  796. 'message' => '#^Offset 2 might not exist on list\\<int\\>\\.$#',
  797. 'identifier' => 'offsetAccess.notFound',
  798. 'count' => 2,
  799. 'path' => __DIR__ . '/../../src/Fixer/Alias/SetTypeToCastFixer.php',
  800. ];
  801. $ignoreErrors[] = [
  802. 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, int\\>\\.$#',
  803. 'identifier' => 'offsetAccess.notFound',
  804. 'count' => 1,
  805. 'path' => __DIR__ . '/../../src/Fixer/Alias/SetTypeToCastFixer.php',
  806. ];
  807. $ignoreErrors[] = [
  808. 'message' => '#^Parameter \\#1 \\$slices of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:insertSlices\\(\\) expects array\\<int, list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|PhpCsFixer\\\\Tokenizer\\\\Tokens\\>, array\\<\'\'\\|int, array\\{PhpCsFixer\\\\Tokenizer\\\\Token, PhpCsFixer\\\\Tokenizer\\\\Token\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\> given\\.$#',
  809. 'identifier' => 'argument.type',
  810. 'count' => 1,
  811. 'path' => __DIR__ . '/../../src/Fixer/ArrayNotation/YieldFromArrayToYieldsFixer.php',
  812. ];
  813. $ignoreErrors[] = [
  814. 'message' => '#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#',
  815. 'identifier' => 'argument.type',
  816. 'count' => 1,
  817. 'path' => __DIR__ . '/../../src/Fixer/AttributeNotation/OrderedAttributesFixer.php',
  818. ];
  819. $ignoreErrors[] = [
  820. 'message' => '#^Offset 0 might not exist on list\\<string\\>\\.$#',
  821. 'identifier' => 'offsetAccess.notFound',
  822. 'count' => 5,
  823. 'path' => __DIR__ . '/../../src/Fixer/Basic/NumericLiteralSeparatorFixer.php',
  824. ];
  825. $ignoreErrors[] = [
  826. 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#',
  827. 'identifier' => 'argument.type',
  828. 'count' => 3,
  829. 'path' => __DIR__ . '/../../src/Fixer/Basic/PsrAutoloadingFixer.php',
  830. ];
  831. $ignoreErrors[] = [
  832. 'message' => '#^Offset int\\|null might not exist on array\\<int, string\\>\\.$#',
  833. 'identifier' => 'offsetAccess.notFound',
  834. 'count' => 1,
  835. 'path' => __DIR__ . '/../../src/Fixer/Casing/MagicConstantCasingFixer.php',
  836. ];
  837. $ignoreErrors[] = [
  838. 'message' => '#^Offset string might not exist on array\\<string, string\\>\\.$#',
  839. 'identifier' => 'offsetAccess.notFound',
  840. 'count' => 1,
  841. 'path' => __DIR__ . '/../../src/Fixer/Casing/MagicMethodCasingFixer.php',
  842. ];
  843. $ignoreErrors[] = [
  844. 'message' => '#^Cannot access offset \'elements\' on array\\{index\\: int, open\\: int\\|null, close\\: int\\<0, max\\>, elements\\: list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\', index\\: int, start\\: int, end\\: int\\}\\>\\}\\|false\\.$#',
  845. 'identifier' => 'offsetAccess.nonOffsetAccessible',
  846. 'count' => 1,
  847. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  848. ];
  849. $ignoreErrors[] = [
  850. 'message' => '#^Cannot access offset \'index\' on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\'\\}\\|false\\.$#',
  851. 'identifier' => 'offsetAccess.nonOffsetAccessible',
  852. 'count' => 1,
  853. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  854. ];
  855. $ignoreErrors[] = [
  856. 'message' => '#^Offset \'end\' might not exist on array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\.$#',
  857. 'identifier' => 'offsetAccess.notFound',
  858. 'count' => 3,
  859. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  860. ];
  861. $ignoreErrors[] = [
  862. 'message' => '#^Offset \'start\' might not exist on array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\.$#',
  863. 'identifier' => 'offsetAccess.notFound',
  864. 'count' => 11,
  865. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  866. ];
  867. $ignoreErrors[] = [
  868. 'message' => '#^Offset int might not exist on non\\-empty\\-list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\>\\.$#',
  869. 'identifier' => 'offsetAccess.notFound',
  870. 'count' => 3,
  871. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  872. ];
  873. $ignoreErrors[] = [
  874. 'message' => '#^Offset int\\<1, max\\> might not exist on non\\-empty\\-list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\>\\.$#',
  875. 'identifier' => 'offsetAccess.notFound',
  876. 'count' => 1,
  877. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  878. ];
  879. $ignoreErrors[] = [
  880. 'message' => '#^Offset string might not exist on array\\<string, string\\>\\.$#',
  881. 'identifier' => 'offsetAccess.notFound',
  882. 'count' => 1,
  883. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  884. ];
  885. $ignoreErrors[] = [
  886. 'message' => '#^Parameter \\#2 \\$class of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getFirstTokenIndexOfClassElement\\(\\) expects array\\{index\\: int, open\\: int, close\\: int, elements\\: non\\-empty\\-list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\>\\}, array\\{index\\: int, open\\: int\\|null, close\\: int\\<0, max\\>, elements\\: list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\', index\\: int, start\\: int, end\\: int\\}\\>\\}\\|false given\\.$#',
  887. 'identifier' => 'argument.type',
  888. 'count' => 1,
  889. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  890. ];
  891. $ignoreErrors[] = [
  892. 'message' => '#^Parameter \\#2 \\$class of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassAttributesSeparationFixer\\:\\:getLastTokenIndexOfClassElement\\(\\) expects array\\{index\\: int, open\\: int, close\\: int, elements\\: non\\-empty\\-list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, index\\: int, start\\?\\: int, end\\?\\: int\\}\\>\\}, array\\{index\\: int, open\\: int\\|null, close\\: int\\<0, max\\>, elements\\: list\\<array\\{token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\', index\\: int, start\\: int, end\\: int\\}\\>\\}\\|false given\\.$#',
  893. 'identifier' => 'argument.type',
  894. 'count' => 1,
  895. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassAttributesSeparationFixer.php',
  896. ];
  897. $ignoreErrors[] = [
  898. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\ClassDefinitionFixer\\:\\:getClassyDefinitionInfo\\(\\) should return array\\{start\\: int, classy\\: int, open\\: int, extends\\: array\\{start\\: int, numberOfExtends\\: int, multiLine\\: bool\\}\\|false, implements\\: array\\{start\\: int, numberOfImplements\\: int, multiLine\\: bool\\}\\|false, anonymousClass\\: bool, final\\: int\\|false, abstract\\: int\\|false, \\.\\.\\.\\} but returns array\\{classy\\: int, open\\: int\\|null, extends\\: array\\<string, bool\\|int\\>\\|false, implements\\: array\\<string, bool\\|int\\>\\|false, anonymousClass\\: bool, final\\: int\\|false, abstract\\: int\\|false, readonly\\: int\\|false, \\.\\.\\.\\}\\.$#',
  899. 'identifier' => 'return.type',
  900. 'count' => 1,
  901. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  902. ];
  903. $ignoreErrors[] = [
  904. 'message' => '#^Offset \'multiLine\' might not exist on non\\-empty\\-array\\<string, bool\\|int\\>\\.$#',
  905. 'identifier' => 'offsetAccess.notFound',
  906. 'count' => 1,
  907. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  908. ];
  909. $ignoreErrors[] = [
  910. 'message' => '#^Offset string might not exist on non\\-empty\\-array\\<string, bool\\|int\\>\\.$#',
  911. 'identifier' => 'offsetAccess.notFound',
  912. 'count' => 1,
  913. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  914. ];
  915. $ignoreErrors[] = [
  916. 'message' => '#^Only booleans are allowed in a negated boolean, bool\\|int given\\.$#',
  917. 'identifier' => 'booleanNot.exprNotBoolean',
  918. 'count' => 1,
  919. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  920. ];
  921. $ignoreErrors[] = [
  922. 'message' => '#^Only booleans are allowed in an elseif condition, array\\<string, bool\\|int\\>\\|false given\\.$#',
  923. 'identifier' => 'elseif.condNotBoolean',
  924. 'count' => 1,
  925. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  926. ];
  927. $ignoreErrors[] = [
  928. 'message' => '#^Only booleans are allowed in an if condition, array\\<string, bool\\|int\\>\\|false given\\.$#',
  929. 'identifier' => 'if.condNotBoolean',
  930. 'count' => 1,
  931. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  932. ];
  933. $ignoreErrors[] = [
  934. 'message' => '#^Only numeric types are allowed in pre\\-increment, bool\\|int given\\.$#',
  935. 'identifier' => 'preInc.nonNumeric',
  936. 'count' => 1,
  937. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ClassDefinitionFixer.php',
  938. ];
  939. $ignoreErrors[] = [
  940. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
  941. 'identifier' => 'plus.leftNonNumeric',
  942. 'count' => 1,
  943. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoBlankLinesAfterClassOpeningFixer.php',
  944. ];
  945. $ignoreErrors[] = [
  946. 'message' => '#^Offset int\\<1, max\\> might not exist on array\\<int\\<1, max\\>, int\\>\\.$#',
  947. 'identifier' => 'offsetAccess.notFound',
  948. 'count' => 3,
  949. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php',
  950. ];
  951. $ignoreErrors[] = [
  952. 'message' => '#^Offset int\\<1, max\\> might not exist on non\\-empty\\-array\\<int\\<1, max\\>, int\\>\\.$#',
  953. 'identifier' => 'offsetAccess.notFound',
  954. 'count' => 1,
  955. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoNullPropertyInitializationFixer.php',
  956. ];
  957. $ignoreErrors[] = [
  958. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:findFunction\\(\\) should return array\\{nameIndex\\: int, startIndex\\: int, endIndex\\: int, bodyIndex\\: int, modifiers\\: list\\<int\\>\\}\\|null but returns array\\{nameIndex\\: int\\<0, max\\>, startIndex\\: int, endIndex\\: int\\|null, bodyIndex\\: int\\|null, modifiers\\: array\\<\'\'\\|int, int\\>\\}\\.$#',
  959. 'identifier' => 'return.type',
  960. 'count' => 1,
  961. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  962. ];
  963. $ignoreErrors[] = [
  964. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\NoPhp4ConstructorFixer\\:\\:getWrapperMethodSequence\\(\\) should return array\\{list\\<list\\<array\\{int, string\\}\\|int\\|string\\>\\>, array\\{3\\: false\\}\\} but returns array\\{list\\<non\\-empty\\-list\\<\'\\(\'\\|\'\\)\'\\|\',\'\\|\';\'\\|\'\\{\'\\|\'\\}\'\\|array\\{0\\: int, 1\\?\\: string\\}\\>\\>, array\\{3\\: false\\}\\}\\.$#',
  965. 'identifier' => 'return.type',
  966. 'count' => 1,
  967. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  968. ];
  969. $ignoreErrors[] = [
  970. 'message' => '#^Offset 1 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  971. 'identifier' => 'offsetAccess.notFound',
  972. 'count' => 3,
  973. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  974. ];
  975. $ignoreErrors[] = [
  976. 'message' => '#^Offset 2 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  977. 'identifier' => 'offsetAccess.notFound',
  978. 'count' => 4,
  979. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  980. ];
  981. $ignoreErrors[] = [
  982. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  983. 'identifier' => 'offsetAccess.notFound',
  984. 'count' => 1,
  985. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  986. ];
  987. $ignoreErrors[] = [
  988. 'message' => '#^Offset int\\<1, max\\> might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  989. 'identifier' => 'offsetAccess.notFound',
  990. 'count' => 1,
  991. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  992. ];
  993. $ignoreErrors[] = [
  994. 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>, list\\<array\\{int, string\\}\\|int\\|string\\> given\\.$#',
  995. 'identifier' => 'argument.type',
  996. 'count' => 2,
  997. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoPhp4ConstructorFixer.php',
  998. ];
  999. $ignoreErrors[] = [
  1000. 'message' => '#^Cannot access offset \'type\' on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: \'case\'\\|\'const\'\\|\'method\'\\|\'property\'\\|\'trait_import\'\\}\\|false\\.$#',
  1001. 'identifier' => 'offsetAccess.nonOffsetAccessible',
  1002. 'count' => 1,
  1003. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php',
  1004. ];
  1005. $ignoreErrors[] = [
  1006. 'message' => '#^Offset \'class_is_final\' might not exist on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, class_is_final\\?\\: bool, method_final_index\\: int\\|null, method_is_constructor\\?\\: bool, method_is_private\\: bool, method_of_enum\\: false\\}\\.$#',
  1007. 'identifier' => 'offsetAccess.notFound',
  1008. 'count' => 1,
  1009. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php',
  1010. ];
  1011. $ignoreErrors[] = [
  1012. 'message' => '#^Offset \'method_is_constructor\' might not exist on array\\{classIndex\\: int, token\\: PhpCsFixer\\\\Tokenizer\\\\Token, type\\: string, class_is_final\\: false, method_final_index\\: int\\|null, method_is_constructor\\?\\: bool, method_is_private\\: true, method_of_enum\\: false\\}\\.$#',
  1013. 'identifier' => 'offsetAccess.notFound',
  1014. 'count' => 1,
  1015. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php',
  1016. ];
  1017. $ignoreErrors[] = [
  1018. 'message' => '#^Offset int might not exist on array\\<int, bool\\>\\.$#',
  1019. 'identifier' => 'offsetAccess.notFound',
  1020. 'count' => 2,
  1021. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/NoUnneededFinalMethodFixer.php',
  1022. ];
  1023. $ignoreErrors[] = [
  1024. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:getElements\\(\\) should return list\\<array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}\\> but returns list\\<array\\{start\\: int, visibility\\: \'public\', abstract\\: false, static\\: false, readonly\\: bool, type\\: string, name\\?\\: string, end\\: int\\}\\|array\\{start\\: int, visibility\\: non\\-empty\\-string, abstract\\: bool, static\\: bool, readonly\\: bool\\}\\>\\.$#',
  1025. 'identifier' => 'return.type',
  1026. 'count' => 1,
  1027. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1028. ];
  1029. $ignoreErrors[] = [
  1030. 'message' => '#^Offset \'abstract\' might not exist on array\\.$#',
  1031. 'identifier' => 'offsetAccess.notFound',
  1032. 'count' => 1,
  1033. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1034. ];
  1035. $ignoreErrors[] = [
  1036. 'message' => '#^Offset \'end\' might not exist on array\\{start\\: int, visibility\\: non\\-empty\\-string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\?\\: string, name\\?\\: string, end\\?\\: int\\}\\.$#',
  1037. 'identifier' => 'offsetAccess.notFound',
  1038. 'count' => 1,
  1039. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1040. ];
  1041. $ignoreErrors[] = [
  1042. 'message' => '#^Offset \'name\' might not exist on array\\.$#',
  1043. 'identifier' => 'offsetAccess.notFound',
  1044. 'count' => 3,
  1045. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1046. ];
  1047. $ignoreErrors[] = [
  1048. 'message' => '#^Offset \'readonly\' might not exist on non\\-empty\\-array\\.$#',
  1049. 'identifier' => 'offsetAccess.notFound',
  1050. 'count' => 1,
  1051. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1052. ];
  1053. $ignoreErrors[] = [
  1054. 'message' => '#^Offset \'static\' might not exist on non\\-empty\\-array\\.$#',
  1055. 'identifier' => 'offsetAccess.notFound',
  1056. 'count' => 1,
  1057. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1058. ];
  1059. $ignoreErrors[] = [
  1060. 'message' => '#^Offset \'type\' might not exist on array\\.$#',
  1061. 'identifier' => 'offsetAccess.notFound',
  1062. 'count' => 1,
  1063. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1064. ];
  1065. $ignoreErrors[] = [
  1066. 'message' => '#^Offset \'visibility\' might not exist on array\\.$#',
  1067. 'identifier' => 'offsetAccess.notFound',
  1068. 'count' => 1,
  1069. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1070. ];
  1071. $ignoreErrors[] = [
  1072. 'message' => '#^Offset 0 might not exist on list\\<string\\>\\.$#',
  1073. 'identifier' => 'offsetAccess.notFound',
  1074. 'count' => 1,
  1075. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1076. ];
  1077. $ignoreErrors[] = [
  1078. 'message' => '#^Offset 1 might not exist on list\\<string\\>\\.$#',
  1079. 'identifier' => 'offsetAccess.notFound',
  1080. 'count' => 1,
  1081. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1082. ];
  1083. $ignoreErrors[] = [
  1084. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}\\>\\.$#',
  1085. 'identifier' => 'offsetAccess.notFound',
  1086. 'count' => 1,
  1087. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1088. ];
  1089. $ignoreErrors[] = [
  1090. 'message' => '#^Offset mixed might not exist on array\\<string, int\\>\\.$#',
  1091. 'identifier' => 'offsetAccess.notFound',
  1092. 'count' => 1,
  1093. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1094. ];
  1095. $ignoreErrors[] = [
  1096. 'message' => '#^Parameter \\#1 \\$a of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:sortGroupElements\\(\\) expects array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}, array&T given\\.$#',
  1097. 'identifier' => 'argument.type',
  1098. 'count' => 1,
  1099. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1100. ];
  1101. $ignoreErrors[] = [
  1102. 'message' => '#^Parameter \\#2 \\$b of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedClassElementsFixer\\:\\:sortGroupElements\\(\\) expects array\\{start\\: int, visibility\\: string, abstract\\: bool, static\\: bool, readonly\\: bool, type\\: string, name\\: string, end\\: int\\}, array&T given\\.$#',
  1103. 'identifier' => 'argument.type',
  1104. 'count' => 1,
  1105. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedClassElementsFixer.php',
  1106. ];
  1107. $ignoreErrors[] = [
  1108. 'message' => '#^Offset \'normalized\' might not exist on array\\<\'normalized\'\\|\'originalIndex\'\\|\'tokens\'\\|int\\<0, max\\>, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>\\.$#',
  1109. 'identifier' => 'offsetAccess.notFound',
  1110. 'count' => 6,
  1111. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1112. ];
  1113. $ignoreErrors[] = [
  1114. 'message' => '#^Offset \'originalIndex\' might not exist on array\\<\'normalized\'\\|\'originalIndex\'\\|\'tokens\'\\|int\\<0, max\\>, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>\\.$#',
  1115. 'identifier' => 'offsetAccess.notFound',
  1116. 'count' => 1,
  1117. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1118. ];
  1119. $ignoreErrors[] = [
  1120. 'message' => '#^Offset \'tokens\' might not exist on array\\<\'normalized\'\\|\'originalIndex\'\\|\'tokens\'\\|int\\<0, max\\>, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>\\.$#',
  1121. 'identifier' => 'offsetAccess.notFound',
  1122. 'count' => 2,
  1123. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1124. ];
  1125. $ignoreErrors[] = [
  1126. 'message' => '#^Only iterables can be unpacked, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given in argument \\#3\\.$#',
  1127. 'identifier' => 'argument.unpackNonIterable',
  1128. 'count' => 1,
  1129. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1130. ];
  1131. $ignoreErrors[] = [
  1132. 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given\\.$#',
  1133. 'identifier' => 'argument.type',
  1134. 'count' => 2,
  1135. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1136. ];
  1137. $ignoreErrors[] = [
  1138. 'message' => '#^Parameter \\#1 \\$string1 of function strcasecmp expects string, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given\\.$#',
  1139. 'identifier' => 'argument.type',
  1140. 'count' => 1,
  1141. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1142. ];
  1143. $ignoreErrors[] = [
  1144. 'message' => '#^Parameter \\#2 \\$string2 of function strcasecmp expects string, int\\|list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string given\\.$#',
  1145. 'identifier' => 'argument.type',
  1146. 'count' => 1,
  1147. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedInterfacesFixer.php',
  1148. ];
  1149. $ignoreErrors[] = [
  1150. 'message' => '#^Generator expects value type array\\<int, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>, array\\<int\\|string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\> given\\.$#',
  1151. 'identifier' => 'generator.valueType',
  1152. 'count' => 1,
  1153. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTraitsFixer.php',
  1154. ];
  1155. $ignoreErrors[] = [
  1156. 'message' => '#^Offset int might not exist on array\\<int, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>\\.$#',
  1157. 'identifier' => 'offsetAccess.notFound',
  1158. 'count' => 1,
  1159. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTraitsFixer.php',
  1160. ];
  1161. $ignoreErrors[] = [
  1162. 'message' => '#^Parameter \\#2 \\$elements of method PhpCsFixer\\\\Fixer\\\\ClassNotation\\\\OrderedTraitsFixer\\:\\:sort\\(\\) expects array\\<int, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>, array\\<int\\<0, max\\>\\|string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\> given\\.$#',
  1163. 'identifier' => 'argument.type',
  1164. 'count' => 1,
  1165. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/OrderedTraitsFixer.php',
  1166. ];
  1167. $ignoreErrors[] = [
  1168. 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, bool\\>\\.$#',
  1169. 'identifier' => 'offsetAccess.notFound',
  1170. 'count' => 1,
  1171. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ProtectedToPrivateFixer.php',
  1172. ];
  1173. $ignoreErrors[] = [
  1174. 'message' => '#^Only booleans are allowed in &&, int\\|false\\|null given on the left side\\.$#',
  1175. 'identifier' => 'booleanAnd.leftNotBoolean',
  1176. 'count' => 1,
  1177. 'path' => __DIR__ . '/../../src/Fixer/ClassNotation/ProtectedToPrivateFixer.php',
  1178. ];
  1179. $ignoreErrors[] = [
  1180. 'message' => '#^Argument of an invalid type array\\<int\\<0, max\\>, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token supplied for foreach, only iterables are supported\\.$#',
  1181. 'identifier' => 'foreach.nonIterable',
  1182. 'count' => 1,
  1183. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/IncludeFixer.php',
  1184. ];
  1185. $ignoreErrors[] = [
  1186. 'message' => '#^Offset 1 might not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: non\\-falsy\\-string\\}\\.$#',
  1187. 'identifier' => 'offsetAccess.notFound',
  1188. 'count' => 1,
  1189. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/NoBreakCommentFixer.php',
  1190. ];
  1191. $ignoreErrors[] = [
  1192. 'message' => '#^Offset 2 might not exist on array\\{0\\?\\: string, 1\\?\\: string, 2\\?\\: non\\-falsy\\-string\\}\\.$#',
  1193. 'identifier' => 'offsetAccess.notFound',
  1194. 'count' => 1,
  1195. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/NoBreakCommentFixer.php',
  1196. ];
  1197. $ignoreErrors[] = [
  1198. 'message' => '#^Offset int\\|null might not exist on array\\<int\\|string, bool\\|null\\>\\.$#',
  1199. 'identifier' => 'offsetAccess.notFound',
  1200. 'count' => 1,
  1201. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/YodaStyleFixer.php',
  1202. ];
  1203. $ignoreErrors[] = [
  1204. 'message' => '#^Offset string might not exist on array\\<int\\|string, bool\\|null\\>\\.$#',
  1205. 'identifier' => 'offsetAccess.notFound',
  1206. 'count' => 1,
  1207. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/YodaStyleFixer.php',
  1208. ];
  1209. $ignoreErrors[] = [
  1210. 'message' => '#^Parameter \\#1 \\$possibleKind of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:isGivenKind\\(\\) expects int\\|list\\<int\\>, list\\<int\\|string\\> given\\.$#',
  1211. 'identifier' => 'argument.type',
  1212. 'count' => 1,
  1213. 'path' => __DIR__ . '/../../src/Fixer/ControlStructure/YodaStyleFixer.php',
  1214. ];
  1215. $ignoreErrors[] = [
  1216. 'message' => '#^Offset 0 might not exist on list\\<int\\>\\.$#',
  1217. 'identifier' => 'offsetAccess.notFound',
  1218. 'count' => 2,
  1219. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/CombineNestedDirnameFixer.php',
  1220. ];
  1221. $ignoreErrors[] = [
  1222. 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, int\\>\\.$#',
  1223. 'identifier' => 'offsetAccess.notFound',
  1224. 'count' => 1,
  1225. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/DateTimeCreateFromFormatCallFixer.php',
  1226. ];
  1227. $ignoreErrors[] = [
  1228. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\FunctionNotation\\\\ImplodeCallFixer\\:\\:getArgumentIndices\\(\\) should return array\\<int, int\\> but returns array\\<int\\|string, int\\|null\\>\\.$#',
  1229. 'identifier' => 'return.type',
  1230. 'count' => 1,
  1231. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/ImplodeCallFixer.php',
  1232. ];
  1233. $ignoreErrors[] = [
  1234. 'message' => '#^Offset 1 might not exist on non\\-empty\\-list\\<int\\>\\.$#',
  1235. 'identifier' => 'offsetAccess.notFound',
  1236. 'count' => 1,
  1237. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/ImplodeCallFixer.php',
  1238. ];
  1239. $ignoreErrors[] = [
  1240. 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, int\\>\\.$#',
  1241. 'identifier' => 'offsetAccess.notFound',
  1242. 'count' => 1,
  1243. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/ImplodeCallFixer.php',
  1244. ];
  1245. $ignoreErrors[] = [
  1246. 'message' => '#^Parameter \\#1 \\$others of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:equalsAny\\(\\) expects list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>, array\\<int, array\\<int, int\\|string\\>\\> given\\.$#',
  1247. 'identifier' => 'argument.type',
  1248. 'count' => 1,
  1249. 'path' => __DIR__ . '/../../src/Fixer/FunctionNotation/PhpdocToReturnTypeFixer.php',
  1250. ];
  1251. $ignoreErrors[] = [
  1252. 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\Analysis\\\\ArgumentAnalysis\\>\\.$#',
  1253. 'identifier' => 'offsetAccess.notFound',
  1254. 'count' => 1,
  1255. 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php',
  1256. ];
  1257. $ignoreErrors[] = [
  1258. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
  1259. 'identifier' => 'plus.leftNonNumeric',
  1260. 'count' => 2,
  1261. 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php',
  1262. ];
  1263. $ignoreErrors[] = [
  1264. 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#',
  1265. 'identifier' => 'argument.type',
  1266. 'count' => 2,
  1267. 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php',
  1268. ];
  1269. $ignoreErrors[] = [
  1270. 'message' => '#^Property PhpCsFixer\\\\Fixer\\\\Import\\\\FullyQualifiedStrictTypesFixer\\:\\:\\$reservedIdentifiersByLevel \\(array\\<int\\<0, max\\>, array\\<string, true\\>\\>\\) does not accept non\\-empty\\-array\\<int, array\\<string, true\\>\\>\\.$#',
  1271. 'identifier' => 'assign.propertyType',
  1272. 'count' => 1,
  1273. 'path' => __DIR__ . '/../../src/Fixer/Import/FullyQualifiedStrictTypesFixer.php',
  1274. ];
  1275. $ignoreErrors[] = [
  1276. 'message' => '#^Offset 0 might not exist on list\\<PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\Analysis\\\\NamespaceAnalysis\\>\\.$#',
  1277. 'identifier' => 'offsetAccess.notFound',
  1278. 'count' => 1,
  1279. 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
  1280. ];
  1281. $ignoreErrors[] = [
  1282. 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<int, PhpCsFixer\\\\DocBlock\\\\DocBlock\\>\\.$#',
  1283. 'identifier' => 'offsetAccess.notFound',
  1284. 'count' => 1,
  1285. 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
  1286. ];
  1287. $ignoreErrors[] = [
  1288. 'message' => '#^Parameter \\#1 \\$types of method PhpCsFixer\\\\DocBlock\\\\Annotation\\:\\:setTypes\\(\\) expects list\\<string\\>, array\\<int\\<0, max\\>, string\\> given\\.$#',
  1289. 'identifier' => 'argument.type',
  1290. 'count' => 1,
  1291. 'path' => __DIR__ . '/../../src/Fixer/Import/GlobalNamespaceImportFixer.php',
  1292. ];
  1293. $ignoreErrors[] = [
  1294. 'message' => '#^Offset 0 might not exist on list\\<PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\Analysis\\\\NamespaceUseAnalysis\\>\\.$#',
  1295. 'identifier' => 'offsetAccess.notFound',
  1296. 'count' => 1,
  1297. 'path' => __DIR__ . '/../../src/Fixer/Import/GroupImportFixer.php',
  1298. ];
  1299. $ignoreErrors[] = [
  1300. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
  1301. 'identifier' => 'plus.leftNonNumeric',
  1302. 'count' => 1,
  1303. 'path' => __DIR__ . '/../../src/Fixer/Import/GroupImportFixer.php',
  1304. ];
  1305. $ignoreErrors[] = [
  1306. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#',
  1307. 'identifier' => 'argument.type',
  1308. 'count' => 1,
  1309. 'path' => __DIR__ . '/../../src/Fixer/Import/NoUnusedImportsFixer.php',
  1310. ];
  1311. $ignoreErrors[] = [
  1312. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:getNewOrder\\(\\) should return array\\<int, array\\{namespace\\: non\\-empty\\-string, startIndex\\: int, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\> but returns array\\<\'\'\\|int, array\\{namespace\\: string, startIndex\\: int\\|null, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\>\\.$#',
  1313. 'identifier' => 'return.type',
  1314. 'count' => 1,
  1315. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1316. ];
  1317. $ignoreErrors[] = [
  1318. 'message' => '#^Offset int might not exist on array\\<int, int\\>\\.$#',
  1319. 'identifier' => 'offsetAccess.notFound',
  1320. 'count' => 1,
  1321. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1322. ];
  1323. $ignoreErrors[] = [
  1324. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  1325. 'identifier' => 'offsetAccess.notFound',
  1326. 'count' => 2,
  1327. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1328. ];
  1329. $ignoreErrors[] = [
  1330. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<int\\|null\\>\\.$#',
  1331. 'identifier' => 'offsetAccess.notFound',
  1332. 'count' => 1,
  1333. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1334. ];
  1335. $ignoreErrors[] = [
  1336. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-list\\<int\\>\\>\\.$#',
  1337. 'identifier' => 'offsetAccess.notFound',
  1338. 'count' => 1,
  1339. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1340. ];
  1341. $ignoreErrors[] = [
  1342. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<int\\>\\.$#',
  1343. 'identifier' => 'offsetAccess.notFound',
  1344. 'count' => 3,
  1345. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1346. ];
  1347. $ignoreErrors[] = [
  1348. 'message' => '#^Offset int\\<1, max\\> might not exist on list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  1349. 'identifier' => 'offsetAccess.notFound',
  1350. 'count' => 6,
  1351. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1352. ];
  1353. $ignoreErrors[] = [
  1354. 'message' => '#^Offset int\\<1, max\\> might not exist on non\\-empty\\-list\\<int\\>\\.$#',
  1355. 'identifier' => 'offsetAccess.notFound',
  1356. 'count' => 2,
  1357. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1358. ];
  1359. $ignoreErrors[] = [
  1360. 'message' => '#^Parameter \\#1 \\$indices of method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:sortByAlgorithm\\(\\) expects array\\<int, array\\{namespace\\: non\\-empty\\-string, startIndex\\: int, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\>, array\\<\'\'\\|int, array\\{namespace\\: string, startIndex\\: int\\|null, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\> given\\.$#',
  1361. 'identifier' => 'argument.type',
  1362. 'count' => 1,
  1363. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1364. ];
  1365. $ignoreErrors[] = [
  1366. 'message' => '#^Parameter \\#1 \\$indices of method PhpCsFixer\\\\Fixer\\\\Import\\\\OrderedImportsFixer\\:\\:sortByAlgorithm\\(\\) expects array\\<int, array\\{namespace\\: non\\-empty\\-string, startIndex\\: int, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\>, non\\-empty\\-array\\<\'\'\\|int, array\\{namespace\\: string, startIndex\\: int\\|null, endIndex\\: int, importType\\: \'class\'\\|\'const\'\\|\'function\', group\\: bool\\}\\> given\\.$#',
  1367. 'identifier' => 'argument.type',
  1368. 'count' => 1,
  1369. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1370. ];
  1371. $ignoreErrors[] = [
  1372. 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\<string\\>, non\\-empty\\-array given\\.$#',
  1373. 'identifier' => 'argument.type',
  1374. 'count' => 1,
  1375. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1376. ];
  1377. $ignoreErrors[] = [
  1378. 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\<string\\>, non\\-empty\\-array\\<0\\|1\\|2, \'class\'\\|\'const\'\\|\'function\'\\> given\\.$#',
  1379. 'identifier' => 'argument.type',
  1380. 'count' => 1,
  1381. 'path' => __DIR__ . '/../../src/Fixer/Import/OrderedImportsFixer.php',
  1382. ];
  1383. $ignoreErrors[] = [
  1384. 'message' => '#^Offset 0 might not exist on list\\<non\\-falsy\\-string\\>\\.$#',
  1385. 'identifier' => 'offsetAccess.notFound',
  1386. 'count' => 1,
  1387. 'path' => __DIR__ . '/../../src/Fixer/Import/SingleImportPerStatementFixer.php',
  1388. ];
  1389. $ignoreErrors[] = [
  1390. 'message' => '#^Call to static method PhpCsFixer\\\\Preg\\:\\:match\\(\\) with arguments \'\\#\\^\\.\\*\\?\\(\\?P\\<annotation…\', mixed and array\\{\\} will always evaluate to false\\.$#',
  1391. 'identifier' => 'staticMethod.impossibleType',
  1392. 'count' => 1,
  1393. 'path' => __DIR__ . '/../../src/Fixer/Internal/ConfigurableFixerTemplateFixer.php',
  1394. ];
  1395. $ignoreErrors[] = [
  1396. 'message' => '#^Offset 0 might not exist on list\\<mixed\\>\\.$#',
  1397. 'identifier' => 'offsetAccess.notFound',
  1398. 'count' => 1,
  1399. 'path' => __DIR__ . '/../../src/Fixer/Internal/ConfigurableFixerTemplateFixer.php',
  1400. ];
  1401. $ignoreErrors[] = [
  1402. 'message' => '#^Offset 0 might not exist on list\\<string\\>\\.$#',
  1403. 'identifier' => 'offsetAccess.notFound',
  1404. 'count' => 1,
  1405. 'path' => __DIR__ . '/../../src/Fixer/Internal/ConfigurableFixerTemplateFixer.php',
  1406. ];
  1407. $ignoreErrors[] = [
  1408. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
  1409. 'identifier' => 'plus.leftNonNumeric',
  1410. 'count' => 2,
  1411. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php',
  1412. ];
  1413. $ignoreErrors[] = [
  1414. 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getNextMeaningfulToken\\(\\) expects int, int\\|false given\\.$#',
  1415. 'identifier' => 'argument.type',
  1416. 'count' => 2,
  1417. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/CombineConsecutiveIssetsFixer.php',
  1418. ];
  1419. $ignoreErrors[] = [
  1420. 'message' => '#^Offset \'get_called_class\'\\|\'get_class\'\\|\'get_class_this\'\\|\'php_sapi_name\'\\|\'phpversion\'\\|\'pi\' might not exist on array\\<string, list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\>\\.$#',
  1421. 'identifier' => 'offsetAccess.notFound',
  1422. 'count' => 1,
  1423. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
  1424. ];
  1425. $ignoreErrors[] = [
  1426. 'message' => '#^Offset 0 might not exist on list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  1427. 'identifier' => 'offsetAccess.notFound',
  1428. 'count' => 3,
  1429. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
  1430. ];
  1431. $ignoreErrors[] = [
  1432. 'message' => '#^Offset string might not exist on array\\<string, list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\>\\.$#',
  1433. 'identifier' => 'offsetAccess.notFound',
  1434. 'count' => 1,
  1435. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/FunctionToConstantFixer.php',
  1436. ];
  1437. $ignoreErrors[] = [
  1438. 'message' => '#^Offset 1 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  1439. 'identifier' => 'offsetAccess.notFound',
  1440. 'count' => 6,
  1441. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/IsNullFixer.php',
  1442. ];
  1443. $ignoreErrors[] = [
  1444. 'message' => '#^Offset \'endIndex\' might not exist on array\\<string, bool\\|int\\>\\.$#',
  1445. 'identifier' => 'offsetAccess.notFound',
  1446. 'count' => 1,
  1447. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1448. ];
  1449. $ignoreErrors[] = [
  1450. 'message' => '#^Offset \'endIndex\' might not exist on non\\-empty\\-array\\<string, bool\\|int\\>\\.$#',
  1451. 'identifier' => 'offsetAccess.notFound',
  1452. 'count' => 3,
  1453. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1454. ];
  1455. $ignoreErrors[] = [
  1456. 'message' => '#^Offset \'isFirst\' might not exist on array\\<string, bool\\|int\\>\\.$#',
  1457. 'identifier' => 'offsetAccess.notFound',
  1458. 'count' => 1,
  1459. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1460. ];
  1461. $ignoreErrors[] = [
  1462. 'message' => '#^Offset \'isFirst\' might not exist on non\\-empty\\-array\\<string, bool\\|int\\>\\.$#',
  1463. 'identifier' => 'offsetAccess.notFound',
  1464. 'count' => 1,
  1465. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1466. ];
  1467. $ignoreErrors[] = [
  1468. 'message' => '#^Offset \'isToTransform\' might not exist on array\\<string, bool\\|int\\>\\.$#',
  1469. 'identifier' => 'offsetAccess.notFound',
  1470. 'count' => 5,
  1471. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1472. ];
  1473. $ignoreErrors[] = [
  1474. 'message' => '#^Offset \'isToTransform\' might not exist on non\\-empty\\-array\\<string, bool\\|int\\>\\.$#',
  1475. 'identifier' => 'offsetAccess.notFound',
  1476. 'count' => 1,
  1477. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1478. ];
  1479. $ignoreErrors[] = [
  1480. 'message' => '#^Offset \'startIndex\' might not exist on non\\-empty\\-array\\<string, bool\\|int\\>\\.$#',
  1481. 'identifier' => 'offsetAccess.notFound',
  1482. 'count' => 2,
  1483. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1484. ];
  1485. $ignoreErrors[] = [
  1486. 'message' => '#^Only booleans are allowed in &&, bool\\|int given on the left side\\.$#',
  1487. 'identifier' => 'booleanAnd.leftNotBoolean',
  1488. 'count' => 1,
  1489. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1490. ];
  1491. $ignoreErrors[] = [
  1492. 'message' => '#^Only booleans are allowed in &&, bool\\|int given on the right side\\.$#',
  1493. 'identifier' => 'booleanAnd.rightNotBoolean',
  1494. 'count' => 2,
  1495. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1496. ];
  1497. $ignoreErrors[] = [
  1498. 'message' => '#^Only booleans are allowed in a negated boolean, bool\\|int given\\.$#',
  1499. 'identifier' => 'booleanNot.exprNotBoolean',
  1500. 'count' => 3,
  1501. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1502. ];
  1503. $ignoreErrors[] = [
  1504. 'message' => '#^Only booleans are allowed in an if condition, bool\\|int given\\.$#',
  1505. 'identifier' => 'if.condNotBoolean',
  1506. 'count' => 2,
  1507. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1508. ];
  1509. $ignoreErrors[] = [
  1510. 'message' => '#^Only numeric types are allowed in \\+, bool\\|int given on the left side\\.$#',
  1511. 'identifier' => 'plus.leftNonNumeric',
  1512. 'count' => 2,
  1513. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1514. ];
  1515. $ignoreErrors[] = [
  1516. 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getNextTokenOfKind\\(\\) expects int, bool\\|int given\\.$#',
  1517. 'identifier' => 'argument.type',
  1518. 'count' => 2,
  1519. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1520. ];
  1521. $ignoreErrors[] = [
  1522. 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:getPrevTokenOfKind\\(\\) expects int, bool\\|int given\\.$#',
  1523. 'identifier' => 'argument.type',
  1524. 'count' => 1,
  1525. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1526. ];
  1527. $ignoreErrors[] = [
  1528. 'message' => '#^Parameter \\#1 \\$index of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:insertAt\\(\\) expects int, bool\\|int given\\.$#',
  1529. 'identifier' => 'argument.type',
  1530. 'count' => 1,
  1531. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/NoUnsetOnPropertyFixer.php',
  1532. ];
  1533. $ignoreErrors[] = [
  1534. 'message' => '#^Offset \'abstract\'\\|\'as\'\\|\'attribute\'\\|\'break\'\\|\'case\'\\|\'catch\'\\|\'class\'\\|\'clone\'\\|\'comment\'\\|\'const\'\\|\'const_import\'\\|\'continue\'\\|\'do\'\\|\'echo\'\\|\'else\'\\|\'elseif\'\\|\'enum\'\\|\'extends\'\\|\'final\'\\|\'finally\'\\|\'for\'\\|\'foreach\'\\|\'function\'\\|\'function_import\'\\|\'global\'\\|\'goto\'\\|\'if\'\\|\'implements\'\\|\'include\'\\|\'include_once\'\\|\'instanceof\'\\|\'insteadof\'\\|\'interface\'\\|\'match\'\\|\'named_argument\'\\|\'namespace\'\\|\'new\'\\|\'open_tag_with_echo\'\\|\'php_doc\'\\|\'php_open\'\\|\'print\'\\|\'private\'\\|\'protected\'\\|\'public\'\\|\'readonly\'\\|\'require\'\\|\'require_once\'\\|\'return\'\\|\'static\'\\|\'switch\'\\|\'throw\'\\|\'trait\'\\|\'try\'\\|\'type_colon\'\\|\'use\'\\|\'use_lambda\'\\|\'use_trait\'\\|\'var\'\\|\'while\'\\|\'yield\'\\|\'yield_from\' might not exist on array\\<string, int\\|null\\>\\.$#',
  1535. 'identifier' => 'offsetAccess.notFound',
  1536. 'count' => 1,
  1537. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php',
  1538. ];
  1539. $ignoreErrors[] = [
  1540. 'message' => '#^Offset \'as\'\\|\'else\'\\|\'elseif\'\\|\'use_lambda\' might not exist on array\\<string, int\\|null\\>\\.$#',
  1541. 'identifier' => 'offsetAccess.notFound',
  1542. 'count' => 1,
  1543. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php',
  1544. ];
  1545. $ignoreErrors[] = [
  1546. 'message' => '#^Offset \'yield_from\' might not exist on array\\<string, int\\|null\\>\\.$#',
  1547. 'identifier' => 'offsetAccess.notFound',
  1548. 'count' => 1,
  1549. 'path' => __DIR__ . '/../../src/Fixer/LanguageConstruct/SingleSpaceAroundConstructFixer.php',
  1550. ];
  1551. $ignoreErrors[] = [
  1552. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\ListNotation\\\\ListSyntaxFixer\\:\\:configurePostNormalisation\\(\\) has PhpCsFixer\\\\ConfigurationException\\\\InvalidFixerConfigurationException in PHPDoc @throws tag but it\'s not thrown\\.$#',
  1553. 'identifier' => 'throws.unusedType',
  1554. 'count' => 1,
  1555. 'path' => __DIR__ . '/../../src/Fixer/ListNotation/ListSyntaxFixer.php',
  1556. ];
  1557. $ignoreErrors[] = [
  1558. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the left side\\.$#',
  1559. 'identifier' => 'plus.leftNonNumeric',
  1560. 'count' => 1,
  1561. 'path' => __DIR__ . '/../../src/Fixer/NamespaceNotation/BlankLinesBeforeNamespaceFixer.php',
  1562. ];
  1563. $ignoreErrors[] = [
  1564. 'message' => '#^Offset 0 might not exist on array\\.$#',
  1565. 'identifier' => 'offsetAccess.notFound',
  1566. 'count' => 2,
  1567. 'path' => __DIR__ . '/../../src/Fixer/Naming/NoHomoglyphNamesFixer.php',
  1568. ];
  1569. $ignoreErrors[] = [
  1570. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-array\\<int\\<0, max\\>, string\\>\\.$#',
  1571. 'identifier' => 'offsetAccess.notFound',
  1572. 'count' => 5,
  1573. 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php',
  1574. ];
  1575. $ignoreErrors[] = [
  1576. 'message' => '#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#',
  1577. 'identifier' => 'booleanNot.exprNotBoolean',
  1578. 'count' => 2,
  1579. 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php',
  1580. ];
  1581. $ignoreErrors[] = [
  1582. 'message' => '#^Only numeric types are allowed in \\-, int\\<0, max\\>\\|false given on the right side\\.$#',
  1583. 'identifier' => 'minus.rightNonNumeric',
  1584. 'count' => 1,
  1585. 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php',
  1586. ];
  1587. $ignoreErrors[] = [
  1588. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#',
  1589. 'identifier' => 'argument.type',
  1590. 'count' => 1,
  1591. 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php',
  1592. ];
  1593. $ignoreErrors[] = [
  1594. 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#',
  1595. 'identifier' => 'argument.type',
  1596. 'count' => 1,
  1597. 'path' => __DIR__ . '/../../src/Fixer/Operator/BinaryOperatorSpacesFixer.php',
  1598. ];
  1599. $ignoreErrors[] = [
  1600. 'message' => '#^Offset string might not exist on array\\<string, array\\{int, string\\}\\>\\.$#',
  1601. 'identifier' => 'offsetAccess.notFound',
  1602. 'count' => 1,
  1603. 'path' => __DIR__ . '/../../src/Fixer/Operator/LongToShorthandOperatorFixer.php',
  1604. ];
  1605. $ignoreErrors[] = [
  1606. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Operator\\\\TernaryToElvisOperatorFixer\\:\\:getAfterOperator\\(\\) should return array\\{start\\: int, end\\: int\\} but returns array\\{start\\: int\\|null, end\\?\\: int\\|null\\}\\.$#',
  1607. 'identifier' => 'return.type',
  1608. 'count' => 1,
  1609. 'path' => __DIR__ . '/../../src/Fixer/Operator/TernaryToElvisOperatorFixer.php',
  1610. ];
  1611. $ignoreErrors[] = [
  1612. 'message' => '#^Offset 1\\|2\\|3\\|4\\|5\\|6\\|7\\|8\\|9\\|10\\|11\\|12\\|13\\|14 might not exist on array\\<1\\|2\\|3\\|4\\|5\\|6\\|7\\|8\\|9\\|10\\|11\\|12\\|13\\|14, array\\{start\\: array\\{int, string\\}\\|string, end\\: array\\{int, string\\}\\|string\\}\\>\\.$#',
  1613. 'identifier' => 'offsetAccess.notFound',
  1614. 'count' => 1,
  1615. 'path' => __DIR__ . '/../../src/Fixer/Operator/TernaryToElvisOperatorFixer.php',
  1616. ];
  1617. $ignoreErrors[] = [
  1618. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitAttributesFixer\\:\\:createAttributeTokens\\(\\) should return list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\> but returns non\\-empty\\-array\\<int\\|string, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  1619. 'identifier' => 'return.type',
  1620. 'count' => 1,
  1621. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitAttributesFixer.php',
  1622. ];
  1623. $ignoreErrors[] = [
  1624. 'message' => '#^Offset string might not exist on non\\-empty\\-array\\<string, bool\\>\\.$#',
  1625. 'identifier' => 'offsetAccess.notFound',
  1626. 'count' => 1,
  1627. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitAttributesFixer.php',
  1628. ];
  1629. $ignoreErrors[] = [
  1630. 'message' => '#^Parameter \\#1 \\$name of static method PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitAttributesFixer\\:\\:toClassConstant\\(\\) expects class\\-string, string given\\.$#',
  1631. 'identifier' => 'argument.type',
  1632. 'count' => 5,
  1633. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitAttributesFixer.php',
  1634. ];
  1635. $ignoreErrors[] = [
  1636. 'message' => '#^Offset 0 might not exist on non\\-empty\\-array\\<int\\<0, max\\>, int\\|null\\>\\.$#',
  1637. 'identifier' => 'offsetAccess.notFound',
  1638. 'count' => 1,
  1639. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitConstructFixer.php',
  1640. ];
  1641. $ignoreErrors[] = [
  1642. 'message' => '#^Offset 1 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  1643. 'identifier' => 'offsetAccess.notFound',
  1644. 'count' => 1,
  1645. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitConstructFixer.php',
  1646. ];
  1647. $ignoreErrors[] = [
  1648. 'message' => '#^Offset non\\-empty\\-string might not exist on array\\<string, string\\>\\.$#',
  1649. 'identifier' => 'offsetAccess.notFound',
  1650. 'count' => 1,
  1651. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitConstructFixer.php',
  1652. ];
  1653. $ignoreErrors[] = [
  1654. 'message' => '#^Cannot call method isGivenKind\\(\\) on PhpCsFixer\\\\Tokenizer\\\\Token\\|false\\.$#',
  1655. 'identifier' => 'method.nonObject',
  1656. 'count' => 1,
  1657. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
  1658. ];
  1659. $ignoreErrors[] = [
  1660. 'message' => '#^Offset 0 might not exist on list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  1661. 'identifier' => 'offsetAccess.notFound',
  1662. 'count' => 2,
  1663. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
  1664. ];
  1665. $ignoreErrors[] = [
  1666. 'message' => '#^Offset 0 might not exist on list\\<int\\>\\.$#',
  1667. 'identifier' => 'offsetAccess.notFound',
  1668. 'count' => 1,
  1669. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
  1670. ];
  1671. $ignoreErrors[] = [
  1672. 'message' => '#^Offset 1 might not exist on list\\<int\\>\\.$#',
  1673. 'identifier' => 'offsetAccess.notFound',
  1674. 'count' => 1,
  1675. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
  1676. ];
  1677. $ignoreErrors[] = [
  1678. 'message' => '#^Offset int might not exist on array\\<int, int\\>\\.$#',
  1679. 'identifier' => 'offsetAccess.notFound',
  1680. 'count' => 2,
  1681. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
  1682. ];
  1683. $ignoreErrors[] = [
  1684. 'message' => '#^Offset string might not exist on array\\<string, array\\{positive\\: string, negative\\: string\\|false, argument_count\\?\\: int, swap_arguments\\?\\: true\\}\\|true\\>\\.$#',
  1685. 'identifier' => 'offsetAccess.notFound',
  1686. 'count' => 1,
  1687. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitDedicateAssertFixer.php',
  1688. ];
  1689. $ignoreErrors[] = [
  1690. 'message' => '#^Offset \'expectExceptionMessageRegExp\' might not exist on array\\<string, string\\>\\.$#',
  1691. 'identifier' => 'offsetAccess.notFound',
  1692. 'count' => 1,
  1693. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitExpectationFixer.php',
  1694. ];
  1695. $ignoreErrors[] = [
  1696. 'message' => '#^Offset 2 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  1697. 'identifier' => 'offsetAccess.notFound',
  1698. 'count' => 1,
  1699. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitExpectationFixer.php',
  1700. ];
  1701. $ignoreErrors[] = [
  1702. 'message' => '#^Offset int\\<1, max\\> might not exist on list\\<int\\>\\.$#',
  1703. 'identifier' => 'offsetAccess.notFound',
  1704. 'count' => 1,
  1705. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitExpectationFixer.php',
  1706. ];
  1707. $ignoreErrors[] = [
  1708. 'message' => '#^Offset string might not exist on array\\<string, string\\>\\.$#',
  1709. 'identifier' => 'offsetAccess.notFound',
  1710. 'count' => 1,
  1711. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitExpectationFixer.php',
  1712. ];
  1713. $ignoreErrors[] = [
  1714. 'message' => '#^Offset 1 might not exist on array\\.$#',
  1715. 'identifier' => 'offsetAccess.notFound',
  1716. 'count' => 1,
  1717. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php',
  1718. ];
  1719. $ignoreErrors[] = [
  1720. 'message' => '#^Offset 2 might not exist on array\\.$#',
  1721. 'identifier' => 'offsetAccess.notFound',
  1722. 'count' => 1,
  1723. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php',
  1724. ];
  1725. $ignoreErrors[] = [
  1726. 'message' => '#^Offset 3 might not exist on array\\.$#',
  1727. 'identifier' => 'offsetAccess.notFound',
  1728. 'count' => 1,
  1729. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php',
  1730. ];
  1731. $ignoreErrors[] = [
  1732. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  1733. 'identifier' => 'offsetAccess.notFound',
  1734. 'count' => 1,
  1735. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitMethodCasingFixer.php',
  1736. ];
  1737. $ignoreErrors[] = [
  1738. 'message' => '#^Offset \'expectedException\' might not exist on array\\<string, string\\>\\.$#',
  1739. 'identifier' => 'offsetAccess.notFound',
  1740. 'count' => 1,
  1741. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php',
  1742. ];
  1743. $ignoreErrors[] = [
  1744. 'message' => '#^Offset 1 might not exist on array\\<string\\>\\.$#',
  1745. 'identifier' => 'offsetAccess.notFound',
  1746. 'count' => 1,
  1747. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php',
  1748. ];
  1749. $ignoreErrors[] = [
  1750. 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#',
  1751. 'identifier' => 'argument.type',
  1752. 'count' => 1,
  1753. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitNoExpectationAnnotationFixer.php',
  1754. ];
  1755. $ignoreErrors[] = [
  1756. 'message' => '#^Offset \'assertAttributeEquals\'\\|\'assertAttributeNotEquals\'\\|\'assertEquals\'\\|\'assertNotEquals\' might not exist on array\\<string, string\\>\\.$#',
  1757. 'identifier' => 'offsetAccess.notFound',
  1758. 'count' => 1,
  1759. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitStrictFixer.php',
  1760. ];
  1761. $ignoreErrors[] = [
  1762. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\PhpUnit\\\\PhpUnitTestAnnotationFixer\\:\\:updateLines\\(\\) should return list\\<PhpCsFixer\\\\DocBlock\\\\Line\\> but returns array\\<int\\<0, max\\>, PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  1763. 'identifier' => 'return.type',
  1764. 'count' => 1,
  1765. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php',
  1766. ];
  1767. $ignoreErrors[] = [
  1768. 'message' => '#^Offset int might not exist on list\\<string\\>\\.$#',
  1769. 'identifier' => 'offsetAccess.notFound',
  1770. 'count' => 4,
  1771. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php',
  1772. ];
  1773. $ignoreErrors[] = [
  1774. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-array\\<int\\<0, max\\>, PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  1775. 'identifier' => 'offsetAccess.notFound',
  1776. 'count' => 2,
  1777. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php',
  1778. ];
  1779. $ignoreErrors[] = [
  1780. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  1781. 'identifier' => 'offsetAccess.notFound',
  1782. 'count' => 6,
  1783. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php',
  1784. ];
  1785. $ignoreErrors[] = [
  1786. 'message' => '#^Offset int\\<8, max\\> might not exist on list\\<string\\>\\.$#',
  1787. 'identifier' => 'offsetAccess.notFound',
  1788. 'count' => 1,
  1789. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php',
  1790. ];
  1791. $ignoreErrors[] = [
  1792. 'message' => '#^Only numeric types are allowed in \\+, int\\<0, max\\>\\|false given on the left side\\.$#',
  1793. 'identifier' => 'plus.leftNonNumeric',
  1794. 'count' => 1,
  1795. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestAnnotationFixer.php',
  1796. ];
  1797. $ignoreErrors[] = [
  1798. 'message' => '#^Offset 0 might not exist on list\\<array\\{int, string\\}\\>\\.$#',
  1799. 'identifier' => 'offsetAccess.notFound',
  1800. 'count' => 1,
  1801. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php',
  1802. ];
  1803. $ignoreErrors[] = [
  1804. 'message' => '#^Offset 1 might not exist on list\\<array\\{int, string\\}\\>\\.$#',
  1805. 'identifier' => 'offsetAccess.notFound',
  1806. 'count' => 2,
  1807. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php',
  1808. ];
  1809. $ignoreErrors[] = [
  1810. 'message' => '#^Offset string might not exist on array\\<string, list\\<array\\{int, string\\}\\>\\>\\.$#',
  1811. 'identifier' => 'offsetAccess.notFound',
  1812. 'count' => 3,
  1813. 'path' => __DIR__ . '/../../src/Fixer/PhpUnit/PhpUnitTestCaseStaticMethodCallsFixer.php',
  1814. ];
  1815. $ignoreErrors[] = [
  1816. 'message' => '#^Offset 1 might not exist on array\\.$#',
  1817. 'identifier' => 'offsetAccess.notFound',
  1818. 'count' => 2,
  1819. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php',
  1820. ];
  1821. $ignoreErrors[] = [
  1822. 'message' => '#^Offset mixed might not exist on non\\-empty\\-array\\<string, string\\>\\.$#',
  1823. 'identifier' => 'offsetAccess.notFound',
  1824. 'count' => 1,
  1825. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/GeneralPhpdocTagRenameFixer.php',
  1826. ];
  1827. $ignoreErrors[] = [
  1828. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#',
  1829. 'identifier' => 'argument.type',
  1830. 'count' => 1,
  1831. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoBlankLinesAfterPhpdocFixer.php',
  1832. ];
  1833. $ignoreErrors[] = [
  1834. 'message' => '#^PHPDoc tag @var with type non\\-empty\\-string is not subtype of native type non\\-falsy\\-string\\.$#',
  1835. 'identifier' => 'varTag.nativeType',
  1836. 'count' => 1,
  1837. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/NoSuperfluousPhpdocTagsFixer.php',
  1838. ];
  1839. $ignoreErrors[] = [
  1840. 'message' => '#^Offset 1 might not exist on array\\{0\\?\\: string, 1\\?\\: string\\}\\.$#',
  1841. 'identifier' => 'offsetAccess.notFound',
  1842. 'count' => 1,
  1843. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php',
  1844. ];
  1845. $ignoreErrors[] = [
  1846. 'message' => '#^Offset int\\<\\-1, max\\> might not exist on list\\<PhpCsFixer\\\\DocBlock\\\\Line\\>\\.$#',
  1847. 'identifier' => 'offsetAccess.notFound',
  1848. 'count' => 1,
  1849. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAddMissingParamAnnotationFixer.php',
  1850. ];
  1851. $ignoreErrors[] = [
  1852. 'message' => '#^Method PhpCsFixer\\\\Fixer\\\\Phpdoc\\\\PhpdocAlignFixer\\:\\:getMatches\\(\\) should return array\\{indent\\: string\\|null, tag\\: string\\|null, hint\\: string, var\\: string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\|null but returns non\\-empty\\-array\\<string\\>\\.$#',
  1853. 'identifier' => 'return.type',
  1854. 'count' => 1,
  1855. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1856. ];
  1857. $ignoreErrors[] = [
  1858. 'message' => '#^Offset \'desc\' might not exist on array\\{indent\\: string\\|null, tag\\: null, hint\\: string, var\\: string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\.$#',
  1859. 'identifier' => 'offsetAccess.notFound',
  1860. 'count' => 3,
  1861. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1862. ];
  1863. $ignoreErrors[] = [
  1864. 'message' => '#^Offset \'desc\' might not exist on array\\{indent\\: string\\|null, tag\\: string, hint\\: string, var\\: \'\', static\\: string, desc\\?\\: string\\|null\\}\\.$#',
  1865. 'identifier' => 'offsetAccess.notFound',
  1866. 'count' => 1,
  1867. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1868. ];
  1869. $ignoreErrors[] = [
  1870. 'message' => '#^Offset \'desc\' might not exist on array\\{indent\\: string\\|null, tag\\: string, hint\\: string, var\\: non\\-empty\\-string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\.$#',
  1871. 'identifier' => 'offsetAccess.notFound',
  1872. 'count' => 1,
  1873. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1874. ];
  1875. $ignoreErrors[] = [
  1876. 'message' => '#^Offset \'hint2\' might not exist on non\\-empty\\-array\\<string\\>\\.$#',
  1877. 'identifier' => 'offsetAccess.notFound',
  1878. 'count' => 1,
  1879. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1880. ];
  1881. $ignoreErrors[] = [
  1882. 'message' => '#^Offset \'hint3\' might not exist on non\\-empty\\-array\\<string\\>\\.$#',
  1883. 'identifier' => 'offsetAccess.notFound',
  1884. 'count' => 1,
  1885. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1886. ];
  1887. $ignoreErrors[] = [
  1888. 'message' => '#^Offset \'signature\' might not exist on non\\-empty\\-array\\<string\\>\\.$#',
  1889. 'identifier' => 'offsetAccess.notFound',
  1890. 'count' => 1,
  1891. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1892. ];
  1893. $ignoreErrors[] = [
  1894. 'message' => '#^Offset \'static\' might not exist on non\\-empty\\-array\\<string\\>\\.$#',
  1895. 'identifier' => 'offsetAccess.notFound',
  1896. 'count' => 1,
  1897. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1898. ];
  1899. $ignoreErrors[] = [
  1900. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<array\\{indent\\: string\\|null, tag\\: string\\|null, hint\\: string, var\\: string\\|null, static\\: string, desc\\?\\: string\\|null\\}\\>\\.$#',
  1901. 'identifier' => 'offsetAccess.notFound',
  1902. 'count' => 1,
  1903. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1904. ];
  1905. $ignoreErrors[] = [
  1906. 'message' => '#^Only booleans are allowed in an if condition, int\\|false given\\.$#',
  1907. 'identifier' => 'if.condNotBoolean',
  1908. 'count' => 2,
  1909. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAlignFixer.php',
  1910. ];
  1911. $ignoreErrors[] = [
  1912. 'message' => '#^Offset 1 might not exist on array\\.$#',
  1913. 'identifier' => 'offsetAccess.notFound',
  1914. 'count' => 1,
  1915. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php',
  1916. ];
  1917. $ignoreErrors[] = [
  1918. 'message' => '#^Offset 2 might not exist on array\\.$#',
  1919. 'identifier' => 'offsetAccess.notFound',
  1920. 'count' => 1,
  1921. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php',
  1922. ];
  1923. $ignoreErrors[] = [
  1924. 'message' => '#^Offset 3 might not exist on array\\.$#',
  1925. 'identifier' => 'offsetAccess.notFound',
  1926. 'count' => 1,
  1927. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocAnnotationWithoutDotFixer.php',
  1928. ];
  1929. $ignoreErrors[] = [
  1930. 'message' => '#^Offset 1 might not exist on array\\.$#',
  1931. 'identifier' => 'offsetAccess.notFound',
  1932. 'count' => 1,
  1933. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocArrayTypeFixer.php',
  1934. ];
  1935. $ignoreErrors[] = [
  1936. 'message' => '#^Offset 2 might not exist on array\\.$#',
  1937. 'identifier' => 'offsetAccess.notFound',
  1938. 'count' => 1,
  1939. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocArrayTypeFixer.php',
  1940. ];
  1941. $ignoreErrors[] = [
  1942. 'message' => '#^Offset 1 might not exist on array\\.$#',
  1943. 'identifier' => 'offsetAccess.notFound',
  1944. 'count' => 2,
  1945. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocInlineTagNormalizerFixer.php',
  1946. ];
  1947. $ignoreErrors[] = [
  1948. 'message' => '#^Offset 2 might not exist on array\\.$#',
  1949. 'identifier' => 'offsetAccess.notFound',
  1950. 'count' => 1,
  1951. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocInlineTagNormalizerFixer.php',
  1952. ];
  1953. $ignoreErrors[] = [
  1954. 'message' => '#^Offset \'general_phpdoc_tag_rename\' might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  1955. 'identifier' => 'offsetAccess.notFound',
  1956. 'count' => 1,
  1957. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocNoAliasTagFixer.php',
  1958. ];
  1959. $ignoreErrors[] = [
  1960. 'message' => '#^Offset 2 might not exist on array\\.$#',
  1961. 'identifier' => 'offsetAccess.notFound',
  1962. 'count' => 1,
  1963. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocNoUselessInheritdocFixer.php',
  1964. ];
  1965. $ignoreErrors[] = [
  1966. 'message' => '#^Cannot call method getEnd\\(\\) on PhpCsFixer\\\\DocBlock\\\\Annotation\\|false\\.$#',
  1967. 'identifier' => 'method.nonObject',
  1968. 'count' => 1,
  1969. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php',
  1970. ];
  1971. $ignoreErrors[] = [
  1972. 'message' => '#^Cannot call method getStart\\(\\) on PhpCsFixer\\\\DocBlock\\\\Annotation\\|false\\.$#',
  1973. 'identifier' => 'method.nonObject',
  1974. 'count' => 1,
  1975. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php',
  1976. ];
  1977. $ignoreErrors[] = [
  1978. 'message' => '#^Offset int might not exist on list\\<PhpCsFixer\\\\DocBlock\\\\Annotation\\>\\.$#',
  1979. 'identifier' => 'offsetAccess.notFound',
  1980. 'count' => 1,
  1981. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php',
  1982. ];
  1983. $ignoreErrors[] = [
  1984. 'message' => '#^Parameter \\#1 \\$content of method PhpCsFixer\\\\DocBlock\\\\Line\\:\\:setContent\\(\\) expects string, string\\|false given\\.$#',
  1985. 'identifier' => 'argument.type',
  1986. 'count' => 1,
  1987. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocParamOrderFixer.php',
  1988. ];
  1989. $ignoreErrors[] = [
  1990. 'message' => '#^Offset int\\<1, max\\> might not exist on array\\.$#',
  1991. 'identifier' => 'offsetAccess.notFound',
  1992. 'count' => 1,
  1993. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocSingleLineVarSpacingFixer.php',
  1994. ];
  1995. $ignoreErrors[] = [
  1996. 'message' => '#^Offset \'general_phpdoc_tag_rename\' might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  1997. 'identifier' => 'offsetAccess.notFound',
  1998. 'count' => 1,
  1999. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTagCasingFixer.php',
  2000. ];
  2001. $ignoreErrors[] = [
  2002. 'message' => '#^Offset 1\\|int\\<3, max\\> might not exist on array\\<int\\<0, max\\>, string\\>\\.$#',
  2003. 'identifier' => 'offsetAccess.notFound',
  2004. 'count' => 1,
  2005. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTagTypeFixer.php',
  2006. ];
  2007. $ignoreErrors[] = [
  2008. 'message' => '#^Offset int might not exist on array\\<int, string\\>\\.$#',
  2009. 'identifier' => 'offsetAccess.notFound',
  2010. 'count' => 2,
  2011. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTagTypeFixer.php',
  2012. ];
  2013. $ignoreErrors[] = [
  2014. 'message' => '#^Offset 0 might not exist on array\\.$#',
  2015. 'identifier' => 'offsetAccess.notFound',
  2016. 'count' => 1,
  2017. 'path' => __DIR__ . '/../../src/Fixer/Phpdoc/PhpdocTypesOrderFixer.php',
  2018. ];
  2019. $ignoreErrors[] = [
  2020. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<int\\>\\.$#',
  2021. 'identifier' => 'offsetAccess.notFound',
  2022. 'count' => 1,
  2023. 'path' => __DIR__ . '/../../src/Fixer/ReturnNotation/ReturnAssignmentFixer.php',
  2024. ];
  2025. $ignoreErrors[] = [
  2026. 'message' => '#^Only booleans are allowed in a ternary operator condition, int\\|false given\\.$#',
  2027. 'identifier' => 'ternary.condNotBoolean',
  2028. 'count' => 1,
  2029. 'path' => __DIR__ . '/../../src/Fixer/Semicolon/MultilineWhitespaceBeforeSemicolonsFixer.php',
  2030. ];
  2031. $ignoreErrors[] = [
  2032. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\>\\.$#',
  2033. 'identifier' => 'offsetAccess.notFound',
  2034. 'count' => 1,
  2035. 'path' => __DIR__ . '/../../src/Fixer/Strict/StrictParamFixer.php',
  2036. ];
  2037. $ignoreErrors[] = [
  2038. 'message' => '#^Offset \'string_implicit_backslashes\' might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  2039. 'identifier' => 'offsetAccess.notFound',
  2040. 'count' => 1,
  2041. 'path' => __DIR__ . '/../../src/Fixer/StringNotation/EscapeImplicitBackslashesFixer.php',
  2042. ];
  2043. $ignoreErrors[] = [
  2044. 'message' => '#^Offset \'end_index\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, int\\|string\\>\\.$#',
  2045. 'identifier' => 'offsetAccess.notFound',
  2046. 'count' => 4,
  2047. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2048. ];
  2049. $ignoreErrors[] = [
  2050. 'message' => '#^Offset \'initial_indent\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, int\\|string\\>\\.$#',
  2051. 'identifier' => 'offsetAccess.notFound',
  2052. 'count' => 2,
  2053. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2054. ];
  2055. $ignoreErrors[] = [
  2056. 'message' => '#^Offset \'new_indent\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, int\\|string\\>\\.$#',
  2057. 'identifier' => 'offsetAccess.notFound',
  2058. 'count' => 1,
  2059. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2060. ];
  2061. $ignoreErrors[] = [
  2062. 'message' => '#^Offset \'type\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, int\\|string\\>\\.$#',
  2063. 'identifier' => 'offsetAccess.notFound',
  2064. 'count' => 2,
  2065. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2066. ];
  2067. $ignoreErrors[] = [
  2068. 'message' => '#^Offset int might not exist on non\\-empty\\-list\\<non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, int\\|string\\>\\>\\.$#',
  2069. 'identifier' => 'offsetAccess.notFound',
  2070. 'count' => 1,
  2071. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2072. ];
  2073. $ignoreErrors[] = [
  2074. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, int\\|string\\>\\>\\.$#',
  2075. 'identifier' => 'offsetAccess.notFound',
  2076. 'count' => 3,
  2077. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2078. ];
  2079. $ignoreErrors[] = [
  2080. 'message' => '#^Parameter \\#1 \\$str of function preg_quote expects string, int\\|string given\\.$#',
  2081. 'identifier' => 'argument.type',
  2082. 'count' => 1,
  2083. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2084. ];
  2085. $ignoreErrors[] = [
  2086. 'message' => '#^Parameter \\#3 \\$parentScopeEndIndex of method PhpCsFixer\\\\Fixer\\\\Whitespace\\\\ArrayIndentationFixer\\:\\:findExpressionEndIndex\\(\\) expects int, int\\|string given\\.$#',
  2087. 'identifier' => 'argument.type',
  2088. 'count' => 1,
  2089. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/ArrayIndentationFixer.php',
  2090. ];
  2091. $ignoreErrors[] = [
  2092. 'message' => '#^Offset \'break\'\\|\'case\'\\|\'continue\'\\|\'declare\'\\|\'default\'\\|\'do\'\\|\'exit\'\\|\'for\'\\|\'foreach\'\\|\'goto\'\\|\'if\'\\|\'include\'\\|\'include_once\'\\|\'phpdoc\'\\|\'require\'\\|\'require_once\'\\|\'return\'\\|\'switch\'\\|\'throw\'\\|\'try\'\\|\'while\'\\|\'yield\'\\|\'yield_from\' might not exist on array\\<string, int\\>\\.$#',
  2093. 'identifier' => 'offsetAccess.notFound',
  2094. 'count' => 1,
  2095. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/BlankLineBeforeStatementFixer.php',
  2096. ];
  2097. $ignoreErrors[] = [
  2098. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<int\\>\\.$#',
  2099. 'identifier' => 'offsetAccess.notFound',
  2100. 'count' => 1,
  2101. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/BlankLineBetweenImportGroupsFixer.php',
  2102. ];
  2103. $ignoreErrors[] = [
  2104. 'message' => '#^Offset 0 might not exist on array\\{0\\?\\: string\\}\\.$#',
  2105. 'identifier' => 'offsetAccess.notFound',
  2106. 'count' => 1,
  2107. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/HeredocIndentationFixer.php',
  2108. ];
  2109. $ignoreErrors[] = [
  2110. 'message' => '#^Offset 0 might not exist on array\\.$#',
  2111. 'identifier' => 'offsetAccess.notFound',
  2112. 'count' => 1,
  2113. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/IndentationTypeFixer.php',
  2114. ];
  2115. $ignoreErrors[] = [
  2116. 'message' => '#^Offset 1 might not exist on array\\.$#',
  2117. 'identifier' => 'offsetAccess.notFound',
  2118. 'count' => 1,
  2119. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/IndentationTypeFixer.php',
  2120. ];
  2121. $ignoreErrors[] = [
  2122. 'message' => '#^Offset 2 might not exist on array\\.$#',
  2123. 'identifier' => 'offsetAccess.notFound',
  2124. 'count' => 1,
  2125. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/IndentationTypeFixer.php',
  2126. ];
  2127. $ignoreErrors[] = [
  2128. 'message' => '#^Offset int\\<1, max\\> might not exist on list\\<string\\>\\.$#',
  2129. 'identifier' => 'offsetAccess.notFound',
  2130. 'count' => 1,
  2131. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoExtraBlankLinesFixer.php',
  2132. ];
  2133. $ignoreErrors[] = [
  2134. 'message' => '#^Offset int\\|null might not exist on array\\<int, callable\\(int\\)\\: void\\>\\.$#',
  2135. 'identifier' => 'offsetAccess.notFound',
  2136. 'count' => 1,
  2137. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoExtraBlankLinesFixer.php',
  2138. ];
  2139. $ignoreErrors[] = [
  2140. 'message' => '#^Offset string might not exist on array\\<string, callable\\(int\\)\\: void\\>\\.$#',
  2141. 'identifier' => 'offsetAccess.notFound',
  2142. 'count' => 1,
  2143. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoExtraBlankLinesFixer.php',
  2144. ];
  2145. $ignoreErrors[] = [
  2146. 'message' => '#^Offset 0 might not exist on list\\<string\\>\\.$#',
  2147. 'identifier' => 'offsetAccess.notFound',
  2148. 'count' => 1,
  2149. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php',
  2150. ];
  2151. $ignoreErrors[] = [
  2152. 'message' => '#^Offset int\\<1, max\\> might not exist on array\\<int\\<0, max\\>, string\\>\\.$#',
  2153. 'identifier' => 'offsetAccess.notFound',
  2154. 'count' => 1,
  2155. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoTrailingWhitespaceFixer.php',
  2156. ];
  2157. $ignoreErrors[] = [
  2158. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-array\\<int\\<0, max\\>, string\\>\\.$#',
  2159. 'identifier' => 'offsetAccess.notFound',
  2160. 'count' => 1,
  2161. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/NoWhitespaceInBlankLineFixer.php',
  2162. ];
  2163. $ignoreErrors[] = [
  2164. 'message' => '#^Offset \'new_indent\' might not exist on array\\{type\\: \'statement\', skip\\: bool, end_index\\: int\\|null, end_index_inclusive\\: bool, initial_indent\\: string, new_indent\\?\\: string, is_indented_block\\: bool\\}\\.$#',
  2165. 'identifier' => 'offsetAccess.notFound',
  2166. 'count' => 1,
  2167. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php',
  2168. ];
  2169. $ignoreErrors[] = [
  2170. 'message' => '#^Offset int might not exist on array\\<int, int\\>\\.$#',
  2171. 'identifier' => 'offsetAccess.notFound',
  2172. 'count' => 1,
  2173. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php',
  2174. ];
  2175. $ignoreErrors[] = [
  2176. 'message' => '#^Offset int might not exist on list\\<array\\{type\\: \'block\'\\|\'block_signature\'\\|\'statement\', skip\\: bool, end_index\\: int\\|null, end_index_inclusive\\: bool, initial_indent\\: string, new_indent\\?\\: string, is_indented_block\\: bool\\}\\>\\.$#',
  2177. 'identifier' => 'offsetAccess.notFound',
  2178. 'count' => 2,
  2179. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php',
  2180. ];
  2181. $ignoreErrors[] = [
  2182. 'message' => '#^Offset int\\<\\-1, max\\> might not exist on list\\<array\\{type\\: \'block\'\\|\'block_signature\'\\|\'statement\', skip\\: bool, end_index\\: int\\|null, end_index_inclusive\\: bool, initial_indent\\: string, new_indent\\?\\: string, is_indented_block\\: bool\\}\\>\\.$#',
  2183. 'identifier' => 'offsetAccess.notFound',
  2184. 'count' => 2,
  2185. 'path' => __DIR__ . '/../../src/Fixer/Whitespace/StatementIndentationFixer.php',
  2186. ];
  2187. $ignoreErrors[] = [
  2188. 'message' => '#^Call to static method PhpCsFixer\\\\Preg\\:\\:match\\(\\) with arguments \'/array\\<\\\\\\\\w\\+,\\\\\\\\s\\*\\(\\\\\\\\\\?\\?\\[…\', string and array\\{\\} will always evaluate to false\\.$#',
  2189. 'identifier' => 'staticMethod.impossibleType',
  2190. 'count' => 1,
  2191. 'path' => __DIR__ . '/../../src/FixerConfiguration/FixerConfigurationResolver.php',
  2192. ];
  2193. $ignoreErrors[] = [
  2194. 'message' => '#^Offset string might not exist on non\\-empty\\-array\\<string, array\\<int\\<0, max\\>, string\\>\\>\\.$#',
  2195. 'identifier' => 'offsetAccess.notFound',
  2196. 'count' => 1,
  2197. 'path' => __DIR__ . '/../../src/FixerFactory.php',
  2198. ];
  2199. $ignoreErrors[] = [
  2200. 'message' => '#^Parameter \\#1 \\$fixerConflicts of method PhpCsFixer\\\\FixerFactory\\:\\:generateConflictMessage\\(\\) expects array\\<string, list\\<string\\>\\>, non\\-empty\\-array\\<string, non\\-empty\\-array\\<int\\<0, max\\>, string\\>\\> given\\.$#',
  2201. 'identifier' => 'argument.type',
  2202. 'count' => 1,
  2203. 'path' => __DIR__ . '/../../src/FixerFactory.php',
  2204. ];
  2205. $ignoreErrors[] = [
  2206. 'message' => '#^Parameter \\#1 \\$names of static method PhpCsFixer\\\\Utils\\:\\:naturalLanguageJoin\\(\\) expects list\\<string\\>, non\\-empty\\-array\\<int\\<0, max\\>, string\\> given\\.$#',
  2207. 'identifier' => 'argument.type',
  2208. 'count' => 1,
  2209. 'path' => __DIR__ . '/../../src/FixerFactory.php',
  2210. ];
  2211. $ignoreErrors[] = [
  2212. 'message' => '#^Parameter \\#1 \\$string of function md5 expects string, string\\|false given\\.$#',
  2213. 'identifier' => 'argument.type',
  2214. 'count' => 1,
  2215. 'path' => __DIR__ . '/../../src/Linter/CachingLinter.php',
  2216. ];
  2217. $ignoreErrors[] = [
  2218. 'message' => '#^Parameter \\#1 \\$filename of function file_put_contents expects string, string\\|false given\\.$#',
  2219. 'identifier' => 'argument.type',
  2220. 'count' => 1,
  2221. 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php',
  2222. ];
  2223. $ignoreErrors[] = [
  2224. 'message' => '#^Parameter \\#1 \\$path of method PhpCsFixer\\\\Linter\\\\ProcessLinter\\:\\:createProcessForFile\\(\\) expects string, string\\|false given\\.$#',
  2225. 'identifier' => 'argument.type',
  2226. 'count' => 1,
  2227. 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php',
  2228. ];
  2229. $ignoreErrors[] = [
  2230. 'message' => '#^Parameter \\#4 \\$path of class Symfony\\\\Component\\\\Filesystem\\\\Exception\\\\IOException constructor expects string\\|null, string\\|false given\\.$#',
  2231. 'identifier' => 'argument.type',
  2232. 'count' => 1,
  2233. 'path' => __DIR__ . '/../../src/Linter/ProcessLinter.php',
  2234. ];
  2235. $ignoreErrors[] = [
  2236. 'message' => '#^Method PhpCsFixer\\\\Preg\\:\\:replace\\(\\) should return string but returns list\\<string\\>\\|string\\.$#',
  2237. 'identifier' => 'return.type',
  2238. 'count' => 2,
  2239. 'path' => __DIR__ . '/../../src/Preg.php',
  2240. ];
  2241. $ignoreErrors[] = [
  2242. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\|false given\\.$#',
  2243. 'identifier' => 'argument.type',
  2244. 'count' => 1,
  2245. 'path' => __DIR__ . '/../../src/Preg.php',
  2246. ];
  2247. $ignoreErrors[] = [
  2248. 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#',
  2249. 'identifier' => 'argument.type',
  2250. 'count' => 1,
  2251. 'path' => __DIR__ . '/../../src/Preg.php',
  2252. ];
  2253. $ignoreErrors[] = [
  2254. 'message' => '#^Call to static method PhpCsFixer\\\\Preg\\:\\:match\\(\\) with arguments \'\\#\\^@PHP\\(\\[\\\\\\\\d\\]\\{2\\}…\', string and array\\{\\} will always evaluate to false\\.$#',
  2255. 'identifier' => 'staticMethod.impossibleType',
  2256. 'count' => 1,
  2257. 'path' => __DIR__ . '/../../src/RuleSet/AbstractMigrationSetDescription.php',
  2258. ];
  2259. $ignoreErrors[] = [
  2260. 'message' => '#^Only numeric types are allowed in \\+, int\\|false given on the right side\\.$#',
  2261. 'identifier' => 'plus.rightNonNumeric',
  2262. 'count' => 1,
  2263. 'path' => __DIR__ . '/../../src/RuleSet/AbstractRuleSetDescription.php',
  2264. ];
  2265. $ignoreErrors[] = [
  2266. 'message' => '#^Offset string might not exist on array\\<string, array\\<string, mixed\\>\\|true\\>\\.$#',
  2267. 'identifier' => 'offsetAccess.notFound',
  2268. 'count' => 1,
  2269. 'path' => __DIR__ . '/../../src/RuleSet/RuleSet.php',
  2270. ];
  2271. $ignoreErrors[] = [
  2272. 'message' => '#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, array\\<string, mixed\\>\\|bool given\\.$#',
  2273. 'identifier' => 'argument.type',
  2274. 'count' => 1,
  2275. 'path' => __DIR__ . '/../../src/RuleSet/RuleSet.php',
  2276. ];
  2277. $ignoreErrors[] = [
  2278. 'message' => '#^Offset \'action\' might not exist on array\\.$#',
  2279. 'identifier' => 'offsetAccess.notFound',
  2280. 'count' => 2,
  2281. 'path' => __DIR__ . '/../../src/Runner/Runner.php',
  2282. ];
  2283. $ignoreErrors[] = [
  2284. 'message' => '#^Offset \'file\' might not exist on non\\-empty\\-array\\.$#',
  2285. 'identifier' => 'offsetAccess.notFound',
  2286. 'count' => 1,
  2287. 'path' => __DIR__ . '/../../src/Runner/Runner.php',
  2288. ];
  2289. $ignoreErrors[] = [
  2290. 'message' => '#^Offset \'identifier\' might not exist on non\\-empty\\-array\\.$#',
  2291. 'identifier' => 'offsetAccess.notFound',
  2292. 'count' => 1,
  2293. 'path' => __DIR__ . '/../../src/Runner/Runner.php',
  2294. ];
  2295. $ignoreErrors[] = [
  2296. 'message' => '#^Offset \'status\' might not exist on non\\-empty\\-array\\.$#',
  2297. 'identifier' => 'offsetAccess.notFound',
  2298. 'count' => 1,
  2299. 'path' => __DIR__ . '/../../src/Runner/Runner.php',
  2300. ];
  2301. $ignoreErrors[] = [
  2302. 'message' => '#^Offset 0 might not exist on list\\<non\\-empty\\-string\\>\\.$#',
  2303. 'identifier' => 'offsetAccess.notFound',
  2304. 'count' => 1,
  2305. 'path' => __DIR__ . '/../../src/Runner/Runner.php',
  2306. ];
  2307. $ignoreErrors[] = [
  2308. 'message' => '#^Offset \'alternative_syntax\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\.$#',
  2309. 'identifier' => 'offsetAccess.notFound',
  2310. 'count' => 2,
  2311. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2312. ];
  2313. $ignoreErrors[] = [
  2314. 'message' => '#^Offset \'brace_count\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\.$#',
  2315. 'identifier' => 'offsetAccess.notFound',
  2316. 'count' => 3,
  2317. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2318. ];
  2319. $ignoreErrors[] = [
  2320. 'message' => '#^Offset \'default\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\.$#',
  2321. 'identifier' => 'offsetAccess.notFound',
  2322. 'count' => 1,
  2323. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2324. ];
  2325. $ignoreErrors[] = [
  2326. 'message' => '#^Offset \'index\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\.$#',
  2327. 'identifier' => 'offsetAccess.notFound',
  2328. 'count' => 2,
  2329. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2330. ];
  2331. $ignoreErrors[] = [
  2332. 'message' => '#^Offset \'kind\' might not exist on non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\.$#',
  2333. 'identifier' => 'offsetAccess.notFound',
  2334. 'count' => 3,
  2335. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2336. ];
  2337. $ignoreErrors[] = [
  2338. 'message' => '#^Offset int\\<\\-1, max\\> might not exist on array\\<int\\<0, max\\>, non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\>\\.$#',
  2339. 'identifier' => 'offsetAccess.notFound',
  2340. 'count' => 2,
  2341. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2342. ];
  2343. $ignoreErrors[] = [
  2344. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\>\\.$#',
  2345. 'identifier' => 'offsetAccess.notFound',
  2346. 'count' => 3,
  2347. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2348. ];
  2349. $ignoreErrors[] = [
  2350. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-array\\<int\\<0, max\\>, non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\>\\>\\.$#',
  2351. 'identifier' => 'offsetAccess.notFound',
  2352. 'count' => 6,
  2353. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2354. ];
  2355. $ignoreErrors[] = [
  2356. 'message' => '#^Parameter \\#1 \\$analysis of static method PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\ControlCaseStructuresAnalyzer\\:\\:buildControlCaseStructureAnalysis\\(\\) expects array\\{kind\\: int, index\\: int, open\\: int, end\\: int, cases\\: list\\<array\\{index\\: int, open\\: int\\}\\>, default\\: array\\{index\\: int, open\\: int\\}\\|null\\}, non\\-empty\\-array\\<literal\\-string&non\\-falsy\\-string, mixed\\> given\\.$#',
  2357. 'identifier' => 'argument.type',
  2358. 'count' => 2,
  2359. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/ControlCaseStructuresAnalyzer.php',
  2360. ];
  2361. $ignoreErrors[] = [
  2362. 'message' => '#^Offset non\\-falsy\\-string might not exist on array\\<string, list\\<int\\>\\>\\.$#',
  2363. 'identifier' => 'offsetAccess.notFound',
  2364. 'count' => 1,
  2365. 'path' => __DIR__ . '/../../src/Tokenizer/Analyzer/SwitchAnalyzer.php',
  2366. ];
  2367. $ignoreErrors[] = [
  2368. 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findGivenKind\\(\\) should return array\\<int, array\\<int\\<0, max\\>, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\> but returns array\\<\'\'\\|int, array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  2369. 'identifier' => 'return.type',
  2370. 'count' => 1,
  2371. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2372. ];
  2373. $ignoreErrors[] = [
  2374. 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findOppositeBlockEdge\\(\\) should return int\\<0, max\\> but returns int\\.$#',
  2375. 'identifier' => 'return.type',
  2376. 'count' => 3,
  2377. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2378. ];
  2379. $ignoreErrors[] = [
  2380. 'message' => '#^Method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) should return non\\-empty\\-array\\<int\\<0, max\\>, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|null but returns non\\-empty\\-array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  2381. 'identifier' => 'return.type',
  2382. 'count' => 1,
  2383. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2384. ];
  2385. $ignoreErrors[] = [
  2386. 'message' => '#^Offset 1 might not exist on list\\<string\\>\\.$#',
  2387. 'identifier' => 'offsetAccess.notFound',
  2388. 'count' => 1,
  2389. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2390. ];
  2391. $ignoreErrors[] = [
  2392. 'message' => '#^Offset 2 might not exist on list\\<string\\>\\.$#',
  2393. 'identifier' => 'offsetAccess.notFound',
  2394. 'count' => 1,
  2395. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2396. ];
  2397. $ignoreErrors[] = [
  2398. 'message' => '#^Offset int might not exist on non\\-empty\\-array\\<\'\'\\|int, array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\>\\.$#',
  2399. 'identifier' => 'offsetAccess.notFound',
  2400. 'count' => 1,
  2401. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2402. ];
  2403. $ignoreErrors[] = [
  2404. 'message' => '#^Offset int\\|string might not exist on array\\<int\\|string, int\\>\\.$#',
  2405. 'identifier' => 'offsetAccess.notFound',
  2406. 'count' => 1,
  2407. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2408. ];
  2409. $ignoreErrors[] = [
  2410. 'message' => '#^Offset int\\|string might not exist on non\\-empty\\-array\\<int\\|string, int\\>\\.$#',
  2411. 'identifier' => 'offsetAccess.notFound',
  2412. 'count' => 1,
  2413. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2414. ];
  2415. $ignoreErrors[] = [
  2416. 'message' => '#^Offset non\\-empty\\-string might not exist on array\\<non\\-empty\\-string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>\\.$#',
  2417. 'identifier' => 'offsetAccess.notFound',
  2418. 'count' => 1,
  2419. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2420. ];
  2421. $ignoreErrors[] = [
  2422. 'message' => '#^Parameter \\#1 \\$others of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:equalsAny\\(\\) expects list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>, non\\-empty\\-array\\<int\\<0, max\\>, array\\{int\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\> given\\.$#',
  2423. 'identifier' => 'argument.type',
  2424. 'count' => 1,
  2425. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2426. ];
  2427. $ignoreErrors[] = [
  2428. 'message' => '#^Parameter \\#1 \\$possibleKind of method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:isGivenKind\\(\\) expects int\\|list\\<int\\>, non\\-empty\\-array\\<int\\<0, max\\>, int\\> given\\.$#',
  2429. 'identifier' => 'argument.type',
  2430. 'count' => 1,
  2431. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2432. ];
  2433. $ignoreErrors[] = [
  2434. 'message' => '#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Tokens given\\.$#',
  2435. 'identifier' => 'argument.type',
  2436. 'count' => 1,
  2437. 'path' => __DIR__ . '/../../src/Tokenizer/Tokens.php',
  2438. ];
  2439. $ignoreErrors[] = [
  2440. 'message' => '#^Parameter \\#1 \\$name of static method PhpCsFixer\\\\Tokenizer\\\\Processor\\\\ImportProcessor\\:\\:tokenizeName\\(\\) expects class\\-string, string given\\.$#',
  2441. 'identifier' => 'argument.type',
  2442. 'count' => 2,
  2443. 'path' => __DIR__ . '/../../src/Tokenizer/Transformer/NameQualifiedTransformer.php',
  2444. ];
  2445. $ignoreErrors[] = [
  2446. 'message' => '#^Generator expects value type PhpCsFixer\\\\Tokenizer\\\\TransformerInterface, object given\\.$#',
  2447. 'identifier' => 'generator.valueType',
  2448. 'count' => 1,
  2449. 'path' => __DIR__ . '/../../src/Tokenizer/Transformers.php',
  2450. ];
  2451. $ignoreErrors[] = [
  2452. 'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#',
  2453. 'identifier' => 'argument.type',
  2454. 'count' => 1,
  2455. 'path' => __DIR__ . '/../../src/ToolInfo.php',
  2456. ];
  2457. $ignoreErrors[] = [
  2458. 'message' => '#^Offset 0 does not exist on array&T of mixed\\.$#',
  2459. 'identifier' => 'offsetAccess.notFound',
  2460. 'count' => 1,
  2461. 'path' => __DIR__ . '/../../src/Utils.php',
  2462. ];
  2463. $ignoreErrors[] = [
  2464. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\CiConfigurationTest\\:\\:getPhpVersionsUsedForBuildingLocalImages\\(\\) should return list\\<numeric\\-string\\> but returns array\\<mixed\\>\\.$#',
  2465. 'identifier' => 'return.type',
  2466. 'count' => 1,
  2467. 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php',
  2468. ];
  2469. $ignoreErrors[] = [
  2470. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\CiConfigurationTest\\:\\:getPhpVersionsUsedForBuildingOfficialImages\\(\\) should return list\\<numeric\\-string\\> but returns array\\<mixed\\>\\.$#',
  2471. 'identifier' => 'return.type',
  2472. 'count' => 1,
  2473. 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php',
  2474. ];
  2475. $ignoreErrors[] = [
  2476. 'message' => '#^Parameter \\#1 \\$code of static method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:fromCode\\(\\) expects string, string\\|false given\\.$#',
  2477. 'identifier' => 'argument.type',
  2478. 'count' => 2,
  2479. 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php',
  2480. ];
  2481. $ignoreErrors[] = [
  2482. 'message' => '#^Parameter \\#1 \\$input of static method Symfony\\\\Component\\\\Yaml\\\\Yaml\\:\\:parse\\(\\) expects string, string\\|false given\\.$#',
  2483. 'identifier' => 'argument.type',
  2484. 'count' => 5,
  2485. 'path' => __DIR__ . '/../../tests/AutoReview/CiConfigurationTest.php',
  2486. ];
  2487. $ignoreErrors[] = [
  2488. 'message' => '#^Offset string might not exist on array\\<Symfony\\\\Component\\\\Console\\\\Command\\\\Command\\>\\.$#',
  2489. 'identifier' => 'offsetAccess.notFound',
  2490. 'count' => 3,
  2491. 'path' => __DIR__ . '/../../tests/AutoReview/CommandTest.php',
  2492. ];
  2493. $ignoreErrors[] = [
  2494. 'message' => '#^Offset \'scripts\' might not exist on array\\<string, mixed\\>\\.$#',
  2495. 'identifier' => 'offsetAccess.notFound',
  2496. 'count' => 3,
  2497. 'path' => __DIR__ . '/../../tests/AutoReview/ComposerFileTest.php',
  2498. ];
  2499. $ignoreErrors[] = [
  2500. 'message' => '#^Offset \'scripts\\-descriptions\' might not exist on array\\<string, mixed\\>\\.$#',
  2501. 'identifier' => 'offsetAccess.notFound',
  2502. 'count' => 2,
  2503. 'path' => __DIR__ . '/../../tests/AutoReview/ComposerFileTest.php',
  2504. ];
  2505. $ignoreErrors[] = [
  2506. 'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#',
  2507. 'identifier' => 'argument.type',
  2508. 'count' => 1,
  2509. 'path' => __DIR__ . '/../../tests/AutoReview/ComposerFileTest.php',
  2510. ];
  2511. $ignoreErrors[] = [
  2512. 'message' => '#^Parameter \\#2 \\$callback of function array_reduce expects callable\\(array, int\\|string\\)\\: array, Closure\\(array, string\\)\\: array given\\.$#',
  2513. 'identifier' => 'argument.type',
  2514. 'count' => 1,
  2515. 'path' => __DIR__ . '/../../tests/AutoReview/ComposerFileTest.php',
  2516. ];
  2517. $ignoreErrors[] = [
  2518. 'message' => '#^Offset 1 might not exist on array\\<string\\>\\.$#',
  2519. 'identifier' => 'offsetAccess.notFound',
  2520. 'count' => 1,
  2521. 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php',
  2522. ];
  2523. $ignoreErrors[] = [
  2524. 'message' => '#^Parameter \\#1 \\$filename of function file_get_contents expects string, string\\|false given\\.$#',
  2525. 'identifier' => 'argument.type',
  2526. 'count' => 1,
  2527. 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php',
  2528. ];
  2529. $ignoreErrors[] = [
  2530. 'message' => '#^Parameter \\#1 \\$json of function json_decode expects string, string\\|false given\\.$#',
  2531. 'identifier' => 'argument.type',
  2532. 'count' => 1,
  2533. 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php',
  2534. ];
  2535. $ignoreErrors[] = [
  2536. 'message' => '#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#',
  2537. 'identifier' => 'argument.type',
  2538. 'count' => 1,
  2539. 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php',
  2540. ];
  2541. $ignoreErrors[] = [
  2542. 'message' => '#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|false given\\.$#',
  2543. 'identifier' => 'argument.type',
  2544. 'count' => 1,
  2545. 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php',
  2546. ];
  2547. $ignoreErrors[] = [
  2548. 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#',
  2549. 'identifier' => 'argument.type',
  2550. 'count' => 1,
  2551. 'path' => __DIR__ . '/../../tests/AutoReview/DocumentationTest.php',
  2552. ];
  2553. $ignoreErrors[] = [
  2554. 'message' => '#^Cannot access offset \'reflection\' on array\\{reflection\\: ReflectionObject, short_classname\\: string\\}\\|PhpCsFixer\\\\Fixer\\\\FixerInterface\\.$#',
  2555. 'identifier' => 'offsetAccess.nonOffsetAccessible',
  2556. 'count' => 1,
  2557. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2558. ];
  2559. $ignoreErrors[] = [
  2560. 'message' => '#^Cannot access offset \'short_classname\' on array\\{reflection\\: ReflectionObject, short_classname\\: string\\}\\|PhpCsFixer\\\\Fixer\\\\FixerInterface\\.$#',
  2561. 'identifier' => 'offsetAccess.nonOffsetAccessible',
  2562. 'count' => 3,
  2563. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2564. ];
  2565. $ignoreErrors[] = [
  2566. 'message' => '#^Offset \\(int\\|string\\) might not exist on array\\<string, array\\{reflection\\: ReflectionObject, short_classname\\: string\\}\\|PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  2567. 'identifier' => 'offsetAccess.notFound',
  2568. 'count' => 4,
  2569. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2570. ];
  2571. $ignoreErrors[] = [
  2572. 'message' => '#^Offset int might not exist on list\\<PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  2573. 'identifier' => 'offsetAccess.notFound',
  2574. 'count' => 1,
  2575. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2576. ];
  2577. $ignoreErrors[] = [
  2578. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  2579. 'identifier' => 'offsetAccess.notFound',
  2580. 'count' => 1,
  2581. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2582. ];
  2583. $ignoreErrors[] = [
  2584. 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  2585. 'identifier' => 'offsetAccess.notFound',
  2586. 'count' => 2,
  2587. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2588. ];
  2589. $ignoreErrors[] = [
  2590. 'message' => '#^Parameter \\#1 \\$file of class Symfony\\\\Component\\\\Finder\\\\SplFileInfo constructor expects string, string\\|false given\\.$#',
  2591. 'identifier' => 'argument.type',
  2592. 'count' => 1,
  2593. 'path' => __DIR__ . '/../../tests/AutoReview/FixerFactoryTest.php',
  2594. ];
  2595. $ignoreErrors[] = [
  2596. 'message' => '#^Cannot access property \\$file on SimpleXMLElement\\|false\\.$#',
  2597. 'identifier' => 'property.nonObject',
  2598. 'count' => 1,
  2599. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2600. ];
  2601. $ignoreErrors[] = [
  2602. 'message' => '#^Cannot call method xpath\\(\\) on SimpleXMLElement\\|false\\.$#',
  2603. 'identifier' => 'method.nonObject',
  2604. 'count' => 1,
  2605. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2606. ];
  2607. $ignoreErrors[] = [
  2608. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:extractFunctionNamesCalledInClass\\(\\) should return list\\<string\\> but returns array\\<int, string\\>\\.$#',
  2609. 'identifier' => 'return.type',
  2610. 'count' => 1,
  2611. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2612. ];
  2613. $ignoreErrors[] = [
  2614. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\AutoReview\\\\ProjectCodeTest\\:\\:getFileContentForClass\\(\\) should return string but returns string\\|false\\.$#',
  2615. 'identifier' => 'return.type',
  2616. 'count' => 1,
  2617. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2618. ];
  2619. $ignoreErrors[] = [
  2620. 'message' => '#^Offset 0 might not exist on array\\<SimpleXMLElement\\|false\\>\\.$#',
  2621. 'identifier' => 'offsetAccess.notFound',
  2622. 'count' => 1,
  2623. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2624. ];
  2625. $ignoreErrors[] = [
  2626. 'message' => '#^Offset class\\-string might not exist on array\\<class\\-string, PhpCsFixer\\\\Tokenizer\\\\Tokens\\>\\.$#',
  2627. 'identifier' => 'offsetAccess.notFound',
  2628. 'count' => 1,
  2629. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2630. ];
  2631. $ignoreErrors[] = [
  2632. 'message' => '#^Offset int\\<0, max\\> might not exist on non\\-empty\\-list\\<ReflectionParameter\\>\\.$#',
  2633. 'identifier' => 'offsetAccess.notFound',
  2634. 'count' => 1,
  2635. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2636. ];
  2637. $ignoreErrors[] = [
  2638. 'message' => '#^Only booleans are allowed in &&, int\\<0, max\\>\\|false given on the right side\\.$#',
  2639. 'identifier' => 'booleanAnd.rightNotBoolean',
  2640. 'count' => 1,
  2641. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2642. ];
  2643. $ignoreErrors[] = [
  2644. 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\)\\: mixed\\)\\|null, Closure\\(PhpCsFixer\\\\Tokenizer\\\\Token\\)\\: string given\\.$#',
  2645. 'identifier' => 'argument.type',
  2646. 'count' => 1,
  2647. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2648. ];
  2649. $ignoreErrors[] = [
  2650. 'message' => '#^Parameter \\#1 \\$content of class PhpCsFixer\\\\DocBlock\\\\DocBlock constructor expects string, string\\|false given\\.$#',
  2651. 'identifier' => 'argument.type',
  2652. 'count' => 1,
  2653. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2654. ];
  2655. $ignoreErrors[] = [
  2656. 'message' => '#^Parameter \\#1 \\$data of function simplexml_load_string expects string, string\\|false given\\.$#',
  2657. 'identifier' => 'argument.type',
  2658. 'count' => 1,
  2659. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2660. ];
  2661. $ignoreErrors[] = [
  2662. 'message' => '#^Parameter \\#2 \\$callback of function array_filter expects \\(callable\\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\)\\: bool\\)\\|null, Closure\\(PhpCsFixer\\\\Tokenizer\\\\Token\\)\\: bool given\\.$#',
  2663. 'identifier' => 'argument.type',
  2664. 'count' => 1,
  2665. 'path' => __DIR__ . '/../../tests/AutoReview/ProjectCodeTest.php',
  2666. ];
  2667. $ignoreErrors[] = [
  2668. 'message' => '#^Offset \'array_typehint\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2669. 'identifier' => 'offsetAccess.notFound',
  2670. 'count' => 2,
  2671. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2672. ];
  2673. $ignoreErrors[] = [
  2674. 'message' => '#^Offset \'attribute\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2675. 'identifier' => 'offsetAccess.notFound',
  2676. 'count' => 2,
  2677. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2678. ];
  2679. $ignoreErrors[] = [
  2680. 'message' => '#^Offset \'brace\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2681. 'identifier' => 'offsetAccess.notFound',
  2682. 'count' => 4,
  2683. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2684. ];
  2685. $ignoreErrors[] = [
  2686. 'message' => '#^Offset \'brace_class_instantiation\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2687. 'identifier' => 'offsetAccess.notFound',
  2688. 'count' => 2,
  2689. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2690. ];
  2691. $ignoreErrors[] = [
  2692. 'message' => '#^Offset \'disjunctive_normal_form_type_parenthesis\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2693. 'identifier' => 'offsetAccess.notFound',
  2694. 'count' => 1,
  2695. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2696. ];
  2697. $ignoreErrors[] = [
  2698. 'message' => '#^Offset \'import\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2699. 'identifier' => 'offsetAccess.notFound',
  2700. 'count' => 2,
  2701. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2702. ];
  2703. $ignoreErrors[] = [
  2704. 'message' => '#^Offset \'name_qualified\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2705. 'identifier' => 'offsetAccess.notFound',
  2706. 'count' => 1,
  2707. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2708. ];
  2709. $ignoreErrors[] = [
  2710. 'message' => '#^Offset \'named_argument\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2711. 'identifier' => 'offsetAccess.notFound',
  2712. 'count' => 1,
  2713. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2714. ];
  2715. $ignoreErrors[] = [
  2716. 'message' => '#^Offset \'namespace_operator\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2717. 'identifier' => 'offsetAccess.notFound',
  2718. 'count' => 1,
  2719. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2720. ];
  2721. $ignoreErrors[] = [
  2722. 'message' => '#^Offset \'nullable_type\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2723. 'identifier' => 'offsetAccess.notFound',
  2724. 'count' => 1,
  2725. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2726. ];
  2727. $ignoreErrors[] = [
  2728. 'message' => '#^Offset \'return_ref\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2729. 'identifier' => 'offsetAccess.notFound',
  2730. 'count' => 2,
  2731. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2732. ];
  2733. $ignoreErrors[] = [
  2734. 'message' => '#^Offset \'square_brace\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2735. 'identifier' => 'offsetAccess.notFound',
  2736. 'count' => 2,
  2737. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2738. ];
  2739. $ignoreErrors[] = [
  2740. 'message' => '#^Offset \'type_alternation\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2741. 'identifier' => 'offsetAccess.notFound',
  2742. 'count' => 3,
  2743. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2744. ];
  2745. $ignoreErrors[] = [
  2746. 'message' => '#^Offset \'type_colon\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2747. 'identifier' => 'offsetAccess.notFound',
  2748. 'count' => 6,
  2749. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2750. ];
  2751. $ignoreErrors[] = [
  2752. 'message' => '#^Offset \'type_intersection\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2753. 'identifier' => 'offsetAccess.notFound',
  2754. 'count' => 2,
  2755. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2756. ];
  2757. $ignoreErrors[] = [
  2758. 'message' => '#^Offset \'use\' might not exist on array\\<string, PhpCsFixer\\\\Tokenizer\\\\TransformerInterface\\>\\.$#',
  2759. 'identifier' => 'offsetAccess.notFound',
  2760. 'count' => 2,
  2761. 'path' => __DIR__ . '/../../tests/AutoReview/TransformerTest.php',
  2762. ];
  2763. $ignoreErrors[] = [
  2764. 'message' => '#^Offset string might not exist on array\\<string, string\\>\\.$#',
  2765. 'identifier' => 'offsetAccess.notFound',
  2766. 'count' => 1,
  2767. 'path' => __DIR__ . '/../../tests/Cache/FileCacheManagerTest.php',
  2768. ];
  2769. $ignoreErrors[] = [
  2770. 'message' => '#^Parameter \\#3 \\$cwd of class PhpCsFixer\\\\Console\\\\ConfigurationResolver constructor expects string, string\\|false given\\.$#',
  2771. 'identifier' => 'argument.type',
  2772. 'count' => 3,
  2773. 'path' => __DIR__ . '/../../tests/ConfigTest.php',
  2774. ];
  2775. $ignoreErrors[] = [
  2776. 'message' => '#^Parameter \\#1 \\$filename of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertFileExists\\(\\) expects string, string\\|false given\\.$#',
  2777. 'identifier' => 'argument.type',
  2778. 'count' => 1,
  2779. 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php',
  2780. ];
  2781. $ignoreErrors[] = [
  2782. 'message' => '#^Parameter \\#1 \\$path of static method Symfony\\\\Component\\\\Filesystem\\\\Path\\:\\:makeRelative\\(\\) expects string, string\\|false given\\.$#',
  2783. 'identifier' => 'argument.type',
  2784. 'count' => 1,
  2785. 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php',
  2786. ];
  2787. $ignoreErrors[] = [
  2788. 'message' => '#^Parameter \\#1 \\$string of function ltrim expects string, string\\|false given\\.$#',
  2789. 'identifier' => 'argument.type',
  2790. 'count' => 1,
  2791. 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php',
  2792. ];
  2793. $ignoreErrors[] = [
  2794. 'message' => '#^Parameter \\#2 \\$basePath of static method Symfony\\\\Component\\\\Filesystem\\\\Path\\:\\:makeRelative\\(\\) expects string, string\\|false given\\.$#',
  2795. 'identifier' => 'argument.type',
  2796. 'count' => 1,
  2797. 'path' => __DIR__ . '/../../tests/Console/Command/ListFilesCommandTest.php',
  2798. ];
  2799. $ignoreErrors[] = [
  2800. 'message' => '#^Offset \'argv\' might not exist on array\\<mixed\\>\\.$#',
  2801. 'identifier' => 'offsetAccess.notFound',
  2802. 'count' => 1,
  2803. 'path' => __DIR__ . '/../../tests/Console/Command/SelfUpdateCommandTest.php',
  2804. ];
  2805. $ignoreErrors[] = [
  2806. 'message' => '#^Offset \'action\' might not exist on array\\.$#',
  2807. 'identifier' => 'offsetAccess.notFound',
  2808. 'count' => 1,
  2809. 'path' => __DIR__ . '/../../tests/Console/Command/WorkerCommandTest.php',
  2810. ];
  2811. $ignoreErrors[] = [
  2812. 'message' => '#^Offset \'action\' might not exist on array\\<int\\|string, mixed\\>\\.$#',
  2813. 'identifier' => 'offsetAccess.notFound',
  2814. 'count' => 3,
  2815. 'path' => __DIR__ . '/../../tests/Console/Command/WorkerCommandTest.php',
  2816. ];
  2817. $ignoreErrors[] = [
  2818. 'message' => '#^Offset \'status\' might not exist on non\\-empty\\-array\\.$#',
  2819. 'identifier' => 'offsetAccess.notFound',
  2820. 'count' => 1,
  2821. 'path' => __DIR__ . '/../../tests/Console/Command/WorkerCommandTest.php',
  2822. ];
  2823. $ignoreErrors[] = [
  2824. 'message' => '#^Anonymous function should return non\\-empty\\-string but returns non\\-empty\\-string\\|false\\.$#',
  2825. 'identifier' => 'return.type',
  2826. 'count' => 1,
  2827. 'path' => __DIR__ . '/../../tests/Console/ConfigurationResolverTest.php',
  2828. ];
  2829. $ignoreErrors[] = [
  2830. 'message' => '#^Parameter \\#1 \\$array of function sort expects TArray of array\\<string\\>, Exception\\|list\\<string\\> given\\.$#',
  2831. 'identifier' => 'argument.type',
  2832. 'count' => 1,
  2833. 'path' => __DIR__ . '/../../tests/Console/ConfigurationResolverTest.php',
  2834. ];
  2835. $ignoreErrors[] = [
  2836. 'message' => '#^Parameter \\#1 \\$stream of class Symfony\\\\Component\\\\Console\\\\Output\\\\StreamOutput constructor expects resource, resource\\|false given\\.$#',
  2837. 'identifier' => 'argument.type',
  2838. 'count' => 1,
  2839. 'path' => __DIR__ . '/../../tests/Console/Output/ErrorOutputTest.php',
  2840. ];
  2841. $ignoreErrors[] = [
  2842. 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\<string\\>\\|string, string\\|false given\\.$#',
  2843. 'identifier' => 'argument.type',
  2844. 'count' => 1,
  2845. 'path' => __DIR__ . '/../../tests/Console/Output/ErrorOutputTest.php',
  2846. ];
  2847. $ignoreErrors[] = [
  2848. 'message' => '#^Offset \'message\' might not exist on array\\.$#',
  2849. 'identifier' => 'offsetAccess.notFound',
  2850. 'count' => 1,
  2851. 'path' => __DIR__ . '/../../tests/Console/Report/FixReport/GitlabReporterTest.php',
  2852. ];
  2853. $ignoreErrors[] = [
  2854. 'message' => '#^Offset \'property\' might not exist on array\\.$#',
  2855. 'identifier' => 'offsetAccess.notFound',
  2856. 'count' => 1,
  2857. 'path' => __DIR__ . '/../../tests/Console/Report/FixReport/GitlabReporterTest.php',
  2858. ];
  2859. $ignoreErrors[] = [
  2860. 'message' => '#^Offset \'message\' might not exist on array\\.$#',
  2861. 'identifier' => 'offsetAccess.notFound',
  2862. 'count' => 1,
  2863. 'path' => __DIR__ . '/../../tests/Console/Report/FixReport/JsonReporterTest.php',
  2864. ];
  2865. $ignoreErrors[] = [
  2866. 'message' => '#^Offset \'property\' might not exist on array\\.$#',
  2867. 'identifier' => 'offsetAccess.notFound',
  2868. 'count' => 1,
  2869. 'path' => __DIR__ . '/../../tests/Console/Report/FixReport/JsonReporterTest.php',
  2870. ];
  2871. $ignoreErrors[] = [
  2872. 'message' => '#^Offset \'message\' might not exist on array\\.$#',
  2873. 'identifier' => 'offsetAccess.notFound',
  2874. 'count' => 1,
  2875. 'path' => __DIR__ . '/../../tests/Console/Report/ListSetsReport/JsonReporterTest.php',
  2876. ];
  2877. $ignoreErrors[] = [
  2878. 'message' => '#^Offset \'property\' might not exist on array\\.$#',
  2879. 'identifier' => 'offsetAccess.notFound',
  2880. 'count' => 1,
  2881. 'path' => __DIR__ . '/../../tests/Console/Report/ListSetsReport/JsonReporterTest.php',
  2882. ];
  2883. $ignoreErrors[] = [
  2884. 'message' => '#^Offset int\\<0, max\\> might not exist on list\\<int\\>\\.$#',
  2885. 'identifier' => 'offsetAccess.notFound',
  2886. 'count' => 1,
  2887. 'path' => __DIR__ . '/../../tests/DocBlock/AnnotationTest.php',
  2888. ];
  2889. $ignoreErrors[] = [
  2890. 'message' => '#^Offset string might not exist on array\\<string, array\\<string, string\\>\\>\\.$#',
  2891. 'identifier' => 'offsetAccess.notFound',
  2892. 'count' => 1,
  2893. 'path' => __DIR__ . '/../../tests/Fixer/Alias/NoAliasFunctionsFixerTest.php',
  2894. ];
  2895. $ignoreErrors[] = [
  2896. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Fixer\\\\Basic\\\\EncodingFixerTest\\:\\:prepareTestCase\\(\\) should return array\\{string, string\\|null, SplFileInfo\\} but returns array\\{string\\|false, string\\|false\\|null, SplFileInfo\\}\\.$#',
  2897. 'identifier' => 'return.type',
  2898. 'count' => 1,
  2899. 'path' => __DIR__ . '/../../tests/Fixer/Basic/EncodingFixerTest.php',
  2900. ];
  2901. $ignoreErrors[] = [
  2902. 'message' => '#^Offset \'classy\' might not exist on array\\<string, mixed\\>\\.$#',
  2903. 'identifier' => 'offsetAccess.notFound',
  2904. 'count' => 1,
  2905. 'path' => __DIR__ . '/../../tests/Fixer/ClassNotation/ClassDefinitionFixerTest.php',
  2906. ];
  2907. $ignoreErrors[] = [
  2908. 'message' => '#^Offset \'start\' might not exist on array\\<string, mixed\\>\\.$#',
  2909. 'identifier' => 'offsetAccess.notFound',
  2910. 'count' => 3,
  2911. 'path' => __DIR__ . '/../../tests/Fixer/ClassNotation/ClassDefinitionFixerTest.php',
  2912. ];
  2913. $ignoreErrors[] = [
  2914. 'message' => '#^Only booleans are allowed in an elseif condition, int\\|false given\\.$#',
  2915. 'identifier' => 'elseif.condNotBoolean',
  2916. 'count' => 1,
  2917. 'path' => __DIR__ . '/../../tests/Fixer/FunctionNotation/MethodArgumentSpaceFixerTest.php',
  2918. ];
  2919. $ignoreErrors[] = [
  2920. 'message' => '#^Generator expects value type array\\{0\\: string, 1\\: string\\|null, 2\\?\\: array\\<string, bool\\>\\}, array\\{0\\: string, 1\\?\\: string\\} given\\.$#',
  2921. 'identifier' => 'generator.valueType',
  2922. 'count' => 1,
  2923. 'path' => __DIR__ . '/../../tests/Fixer/FunctionNotation/NullableTypeDeclarationForDefaultNullValueFixerTest.php',
  2924. ];
  2925. $ignoreErrors[] = [
  2926. 'message' => '#^Offset \'operators\' might not exist on array\\<string, mixed\\>\\.$#',
  2927. 'identifier' => 'offsetAccess.notFound',
  2928. 'count' => 1,
  2929. 'path' => __DIR__ . '/../../tests/Fixer/Operator/LongToShorthandOperatorFixerTest.php',
  2930. ];
  2931. $ignoreErrors[] = [
  2932. 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#',
  2933. 'identifier' => 'booleanNot.exprNotBoolean',
  2934. 'count' => 1,
  2935. 'path' => __DIR__ . '/../../tests/Fixer/PhpTag/NoClosingTagFixerTest.php',
  2936. ];
  2937. $ignoreErrors[] = [
  2938. 'message' => '#^Generator expects value type array\\{0\\: string, 1\\?\\: string\\}, list\\<string\\> given\\.$#',
  2939. 'identifier' => 'generator.valueType',
  2940. 'count' => 5,
  2941. 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixerTest.php',
  2942. ];
  2943. $ignoreErrors[] = [
  2944. 'message' => '#^Generator expects value type array\\{string, string\\}, list\\<string\\> given\\.$#',
  2945. 'identifier' => 'generator.valueType',
  2946. 'count' => 2,
  2947. 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixerTest.php',
  2948. ];
  2949. $ignoreErrors[] = [
  2950. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Fixer\\\\PhpUnit\\\\PhpUnitDataProviderReturnTypeFixerTest\\:\\:mapToTemplate\\(\\) should return list\\<string\\> but returns array\\<int\\|string, string\\>\\.$#',
  2951. 'identifier' => 'return.type',
  2952. 'count' => 1,
  2953. 'path' => __DIR__ . '/../../tests/Fixer/PhpUnit/PhpUnitDataProviderReturnTypeFixerTest.php',
  2954. ];
  2955. $ignoreErrors[] = [
  2956. 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#',
  2957. 'identifier' => 'booleanNot.exprNotBoolean',
  2958. 'count' => 1,
  2959. 'path' => __DIR__ . '/../../tests/Fixer/Semicolon/NoEmptyStatementFixerTest.php',
  2960. ];
  2961. $ignoreErrors[] = [
  2962. 'message' => '#^Only booleans are allowed in a negated boolean, string\\|false given\\.$#',
  2963. 'identifier' => 'booleanNot.exprNotBoolean',
  2964. 'count' => 1,
  2965. 'path' => __DIR__ . '/../../tests/Fixer/Semicolon/SemicolonAfterInstructionFixerTest.php',
  2966. ];
  2967. $ignoreErrors[] = [
  2968. 'message' => '#^Call to new PhpCsFixer\\\\FixerConfiguration\\\\AliasedFixerOption\\(\\) on a separate line has no effect\\.$#',
  2969. 'identifier' => 'new.resultUnused',
  2970. 'count' => 1,
  2971. 'path' => __DIR__ . '/../../tests/FixerConfiguration/AliasedFixerOptionTest.php',
  2972. ];
  2973. $ignoreErrors[] = [
  2974. 'message' => '#^Parameter \\#1 \\$code of class PhpCsFixer\\\\FixerDefinition\\\\FileSpecificCodeSample constructor expects string, string\\|false given\\.$#',
  2975. 'identifier' => 'argument.type',
  2976. 'count' => 2,
  2977. 'path' => __DIR__ . '/../../tests/FixerDefinition/FileSpecificCodeSampleTest.php',
  2978. ];
  2979. $ignoreErrors[] = [
  2980. 'message' => '#^Parameter \\#1 \\$minimum of class PhpCsFixer\\\\FixerDefinition\\\\VersionSpecification constructor expects int\\<1, max\\>\\|null, int\\|null given\\.$#',
  2981. 'identifier' => 'argument.type',
  2982. 'count' => 3,
  2983. 'path' => __DIR__ . '/../../tests/FixerDefinition/VersionSpecificationTest.php',
  2984. ];
  2985. $ignoreErrors[] = [
  2986. 'message' => '#^Parameter \\#2 \\$maximum of class PhpCsFixer\\\\FixerDefinition\\\\VersionSpecification constructor expects int\\<1, max\\>\\|null, int\\|null given\\.$#',
  2987. 'identifier' => 'argument.type',
  2988. 'count' => 3,
  2989. 'path' => __DIR__ . '/../../tests/FixerDefinition/VersionSpecificationTest.php',
  2990. ];
  2991. $ignoreErrors[] = [
  2992. 'message' => '#^Offset string might not exist on array\\<string, array\\<string, mixed\\>\\|true\\>\\.$#',
  2993. 'identifier' => 'offsetAccess.notFound',
  2994. 'count' => 1,
  2995. 'path' => __DIR__ . '/../../tests/FixerFactoryTest.php',
  2996. ];
  2997. $ignoreErrors[] = [
  2998. 'message' => '#^Parameter \\#1 \\$pattern of static method PhpCsFixer\\\\Preg\\:\\:replace\\(\\) expects string, list\\<string\\>\\|string given\\.$#',
  2999. 'identifier' => 'argument.type',
  3000. 'count' => 1,
  3001. 'path' => __DIR__ . '/../../tests/PregTest.php',
  3002. ];
  3003. $ignoreErrors[] = [
  3004. 'message' => '#^Parameter \\#1 \\$pattern of static method PhpCsFixer\\\\Preg\\:\\:replaceCallback\\(\\) expects string, list\\<string\\>\\|string given\\.$#',
  3005. 'identifier' => 'argument.type',
  3006. 'count' => 1,
  3007. 'path' => __DIR__ . '/../../tests/PregTest.php',
  3008. ];
  3009. $ignoreErrors[] = [
  3010. 'message' => '#^Parameter \\#3 \\$subject of static method PhpCsFixer\\\\Preg\\:\\:replaceCallback\\(\\) expects string, list\\<string\\>\\|string given\\.$#',
  3011. 'identifier' => 'argument.type',
  3012. 'count' => 1,
  3013. 'path' => __DIR__ . '/../../tests/PregTest.php',
  3014. ];
  3015. $ignoreErrors[] = [
  3016. 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\Fixer\\\\FixerInterface\\>\\.$#',
  3017. 'identifier' => 'offsetAccess.notFound',
  3018. 'count' => 1,
  3019. 'path' => __DIR__ . '/../../tests/RuleSet/RuleSetTest.php',
  3020. ];
  3021. $ignoreErrors[] = [
  3022. 'message' => '#^Offset string might not exist on array\\<string, PhpCsFixer\\\\RuleSet\\\\RuleSetDescriptionInterface\\>\\.$#',
  3023. 'identifier' => 'offsetAccess.notFound',
  3024. 'count' => 1,
  3025. 'path' => __DIR__ . '/../../tests/RuleSet/RuleSetsTest.php',
  3026. ];
  3027. $ignoreErrors[] = [
  3028. 'message' => '#^Parameter \\#2 \\$string of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringStartsWith\\(\\) expects string, string\\|false given\\.$#',
  3029. 'identifier' => 'argument.type',
  3030. 'count' => 1,
  3031. 'path' => __DIR__ . '/../../tests/RuleSet/RuleSetsTest.php',
  3032. ];
  3033. $ignoreErrors[] = [
  3034. 'message' => '#^Offset mixed might not exist on array\\<int\\|string, SplFileInfo\\>\\.$#',
  3035. 'identifier' => 'offsetAccess.notFound',
  3036. 'count' => 1,
  3037. 'path' => __DIR__ . '/../../tests/Runner/FileCachingLintingFileIteratorTest.php',
  3038. ];
  3039. $ignoreErrors[] = [
  3040. 'message' => '#^Offset 3 might not exist on non\\-empty\\-list\\<string\\>\\.$#',
  3041. 'identifier' => 'offsetAccess.notFound',
  3042. 'count' => 1,
  3043. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3044. ];
  3045. $ignoreErrors[] = [
  3046. 'message' => '#^Offset 4 might not exist on non\\-empty\\-list\\<string\\>\\.$#',
  3047. 'identifier' => 'offsetAccess.notFound',
  3048. 'count' => 1,
  3049. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3050. ];
  3051. $ignoreErrors[] = [
  3052. 'message' => '#^Offset 5 might not exist on non\\-empty\\-list\\<string\\>\\.$#',
  3053. 'identifier' => 'offsetAccess.notFound',
  3054. 'count' => 1,
  3055. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3056. ];
  3057. $ignoreErrors[] = [
  3058. 'message' => '#^Offset 6 might not exist on non\\-empty\\-list\\<string\\>\\.$#',
  3059. 'identifier' => 'offsetAccess.notFound',
  3060. 'count' => 1,
  3061. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3062. ];
  3063. $ignoreErrors[] = [
  3064. 'message' => '#^Offset 7 might not exist on non\\-empty\\-list\\<string\\>\\.$#',
  3065. 'identifier' => 'offsetAccess.notFound',
  3066. 'count' => 1,
  3067. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3068. ];
  3069. $ignoreErrors[] = [
  3070. 'message' => '#^Parameter \\#2 \\$offset of function substr expects int, int\\<0, max\\>\\|false given\\.$#',
  3071. 'identifier' => 'argument.type',
  3072. 'count' => 1,
  3073. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3074. ];
  3075. $ignoreErrors[] = [
  3076. 'message' => '#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#',
  3077. 'identifier' => 'argument.type',
  3078. 'count' => 1,
  3079. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3080. ];
  3081. $ignoreErrors[] = [
  3082. 'message' => '#^Parameter \\#3 \\$subject of function str_replace expects array\\<string\\>\\|string, string\\|false given\\.$#',
  3083. 'identifier' => 'argument.type',
  3084. 'count' => 1,
  3085. 'path' => __DIR__ . '/../../tests/Smoke/CiIntegrationTest.php',
  3086. ];
  3087. $ignoreErrors[] = [
  3088. 'message' => '#^Offset 2 might not exist on non\\-empty\\-list\\<int\\<0, max\\>\\>\\.$#',
  3089. 'identifier' => 'offsetAccess.notFound',
  3090. 'count' => 1,
  3091. 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php',
  3092. ];
  3093. $ignoreErrors[] = [
  3094. 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|false given\\.$#',
  3095. 'identifier' => 'ternary.condNotBoolean',
  3096. 'count' => 1,
  3097. 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php',
  3098. ];
  3099. $ignoreErrors[] = [
  3100. 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(PhpCsFixer\\\\Tokenizer\\\\Token\\|null\\)\\: mixed\\)\\|null, Closure\\(PhpCsFixer\\\\Tokenizer\\\\Token\\)\\: string given\\.$#',
  3101. 'identifier' => 'argument.type',
  3102. 'count' => 1,
  3103. 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php',
  3104. ];
  3105. $ignoreErrors[] = [
  3106. 'message' => '#^Parameter \\#1 \\$code of static method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:fromCode\\(\\) expects string, string\\|false given\\.$#',
  3107. 'identifier' => 'argument.type',
  3108. 'count' => 1,
  3109. 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php',
  3110. ];
  3111. $ignoreErrors[] = [
  3112. 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>, list\\<array\\{0\\: int, 1\\?\\: string\\}\\> given\\.$#',
  3113. 'identifier' => 'argument.type',
  3114. 'count' => 1,
  3115. 'path' => __DIR__ . '/../../tests/Test/AbstractFixerTestCase.php',
  3116. ];
  3117. $ignoreErrors[] = [
  3118. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationCaseFactory\\:\\:determineRequirements\\(\\) should return array\\{php\\: int, php\\<\\: int, os\\: list\\<string\\>\\} but returns non\\-empty\\-array\\<string, mixed\\>\\.$#',
  3119. 'identifier' => 'return.type',
  3120. 'count' => 1,
  3121. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3122. ];
  3123. $ignoreErrors[] = [
  3124. 'message' => '#^Method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationCaseFactory\\:\\:determineSettings\\(\\) should return array\\{checkPriority\\: bool, deprecations\\: list\\<string\\>\\} but returns non\\-empty\\-array\\<string, mixed\\>\\.$#',
  3125. 'identifier' => 'return.type',
  3126. 'count' => 1,
  3127. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3128. ];
  3129. $ignoreErrors[] = [
  3130. 'message' => '#^Offset \'checkPriority\' might not exist on array\\<string, mixed\\>\\.$#',
  3131. 'identifier' => 'offsetAccess.notFound',
  3132. 'count' => 1,
  3133. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3134. ];
  3135. $ignoreErrors[] = [
  3136. 'message' => '#^Offset \'deprecations\' might not exist on non\\-empty\\-array\\<string, mixed\\>\\.$#',
  3137. 'identifier' => 'offsetAccess.notFound',
  3138. 'count' => 1,
  3139. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3140. ];
  3141. $ignoreErrors[] = [
  3142. 'message' => '#^Offset \'indent\' might not exist on array\\<string, mixed\\>\\.$#',
  3143. 'identifier' => 'offsetAccess.notFound',
  3144. 'count' => 1,
  3145. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3146. ];
  3147. $ignoreErrors[] = [
  3148. 'message' => '#^Offset \'lineEnding\' might not exist on non\\-empty\\-array\\<string, mixed\\>\\.$#',
  3149. 'identifier' => 'offsetAccess.notFound',
  3150. 'count' => 1,
  3151. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3152. ];
  3153. $ignoreErrors[] = [
  3154. 'message' => '#^Offset \'os\' might not exist on non\\-empty\\-array\\<string, mixed\\>\\.$#',
  3155. 'identifier' => 'offsetAccess.notFound',
  3156. 'count' => 1,
  3157. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3158. ];
  3159. $ignoreErrors[] = [
  3160. 'message' => '#^Offset \'php\' might not exist on array\\<string, mixed\\>\\.$#',
  3161. 'identifier' => 'offsetAccess.notFound',
  3162. 'count' => 1,
  3163. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3164. ];
  3165. $ignoreErrors[] = [
  3166. 'message' => '#^Offset \'php\\<\' might not exist on non\\-empty\\-array\\<string, mixed\\>\\.$#',
  3167. 'identifier' => 'offsetAccess.notFound',
  3168. 'count' => 1,
  3169. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3170. ];
  3171. $ignoreErrors[] = [
  3172. 'message' => '#^Only booleans are allowed in a negated boolean, int\\|false given\\.$#',
  3173. 'identifier' => 'booleanNot.exprNotBoolean',
  3174. 'count' => 1,
  3175. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationCaseFactory.php',
  3176. ];
  3177. $ignoreErrors[] = [
  3178. 'message' => '#^Only booleans are allowed in a ternary operator condition, string\\|false given\\.$#',
  3179. 'identifier' => 'ternary.condNotBoolean',
  3180. 'count' => 1,
  3181. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php',
  3182. ];
  3183. $ignoreErrors[] = [
  3184. 'message' => '#^Parameter \\#1 \\$dirs of method Symfony\\\\Component\\\\Finder\\\\Finder\\:\\:in\\(\\) expects array\\<string\\>\\|string, string\\|false given\\.$#',
  3185. 'identifier' => 'argument.type',
  3186. 'count' => 1,
  3187. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php',
  3188. ];
  3189. $ignoreErrors[] = [
  3190. 'message' => '#^Parameter \\#1 \\$filename of function is_dir expects string, string\\|false given\\.$#',
  3191. 'identifier' => 'argument.type',
  3192. 'count' => 1,
  3193. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php',
  3194. ];
  3195. $ignoreErrors[] = [
  3196. 'message' => '#^Parameter \\#1 \\$string of function strlen expects string, string\\|false given\\.$#',
  3197. 'identifier' => 'argument.type',
  3198. 'count' => 1,
  3199. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php',
  3200. ];
  3201. $ignoreErrors[] = [
  3202. 'message' => '#^Parameter \\#2 \\$fixedInputCode of static method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationTestCase\\:\\:assertRevertedOrderFixing\\(\\) expects string, string\\|false given\\.$#',
  3203. 'identifier' => 'argument.type',
  3204. 'count' => 1,
  3205. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php',
  3206. ];
  3207. $ignoreErrors[] = [
  3208. 'message' => '#^Parameter \\#3 \\$fixedInputCodeWithReversedFixers of static method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractIntegrationTestCase\\:\\:assertRevertedOrderFixing\\(\\) expects string, string\\|false given\\.$#',
  3209. 'identifier' => 'argument.type',
  3210. 'count' => 1,
  3211. 'path' => __DIR__ . '/../../tests/Test/AbstractIntegrationTestCase.php',
  3212. ];
  3213. $ignoreErrors[] = [
  3214. 'message' => '#^Parameter \\#1 \\$id of static method PhpCsFixer\\\\Tokenizer\\\\Token\\:\\:getNameForId\\(\\) expects int, int\\|string given\\.$#',
  3215. 'identifier' => 'argument.type',
  3216. 'count' => 1,
  3217. 'path' => __DIR__ . '/../../tests/Test/AbstractTransformerTestCase.php',
  3218. ];
  3219. $ignoreErrors[] = [
  3220. 'message' => '#^Parameter \\#2 \\$prototypes of method PhpCsFixer\\\\Tests\\\\Test\\\\AbstractTransformerTestCase\\:\\:countTokenPrototypes\\(\\) expects list\\<array\\{0\\: int, 1\\?\\: string\\}\\>, array\\<int\\<0, max\\>, array\\{int\\}\\|string\\> given\\.$#',
  3221. 'identifier' => 'argument.type',
  3222. 'count' => 1,
  3223. 'path' => __DIR__ . '/../../tests/Test/AbstractTransformerTestCase.php',
  3224. ];
  3225. $ignoreErrors[] = [
  3226. 'message' => '#^Offset 1 might not exist on array\\{0\\: string, 1\\?\\: string\\}\\.$#',
  3227. 'identifier' => 'offsetAccess.notFound',
  3228. 'count' => 1,
  3229. 'path' => __DIR__ . '/../../tests/Test/TestCaseUtils.php',
  3230. ];
  3231. $ignoreErrors[] = [
  3232. 'message' => '#^Property PhpCsFixer\\\\Tests\\\\Test\\\\TokensWithObservedTransformers\\:\\:\\$observedModificationsPerTransformer \\(array\\<string, list\\<int\\|string\\>\\>\\) does not accept non\\-empty\\-array\\<int\\|string, list\\<int\\|string\\>\\>\\.$#',
  3233. 'identifier' => 'assign.propertyType',
  3234. 'count' => 1,
  3235. 'path' => __DIR__ . '/../../tests/Test/TokensWithObservedTransformers.php',
  3236. ];
  3237. $ignoreErrors[] = [
  3238. 'message' => '#^Property PhpCsFixer\\\\Tests\\\\TestCase\\:\\:\\$actualDeprecations \\(list\\<string\\>\\) does not accept array\\<int\\<0, max\\>, string\\>\\.$#',
  3239. 'identifier' => 'assign.propertyType',
  3240. 'count' => 1,
  3241. 'path' => __DIR__ . '/../../tests/TestCase.php',
  3242. ];
  3243. $ignoreErrors[] = [
  3244. 'message' => '#^Property PhpCsFixer\\\\Tests\\\\TestCase\\:\\:\\$expectedDeprecations \\(list\\<string\\>\\) does not accept array\\<int\\<0, max\\>, string\\>\\.$#',
  3245. 'identifier' => 'assign.propertyType',
  3246. 'count' => 1,
  3247. 'path' => __DIR__ . '/../../tests/TestCase.php',
  3248. ];
  3249. $ignoreErrors[] = [
  3250. 'message' => '#^Offset int might not exist on array\\<int, PhpCsFixer\\\\Tokenizer\\\\Analyzer\\\\Analysis\\\\AbstractControlCaseStructuresAnalysis\\>\\.$#',
  3251. 'identifier' => 'offsetAccess.notFound',
  3252. 'count' => 2,
  3253. 'path' => __DIR__ . '/../../tests/Tokenizer/Analyzer/ControlCaseStructuresAnalyzerTest.php',
  3254. ];
  3255. $ignoreErrors[] = [
  3256. 'message' => '#^Offset int might not exist on array\\<int, bool\\>\\.$#',
  3257. 'identifier' => 'offsetAccess.notFound',
  3258. 'count' => 1,
  3259. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensAnalyzerTest.php',
  3260. ];
  3261. $ignoreErrors[] = [
  3262. 'message' => '#^Offset 0 might not exist on list\\<int\\<0, max\\>\\>\\.$#',
  3263. 'identifier' => 'offsetAccess.notFound',
  3264. 'count' => 1,
  3265. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3266. ];
  3267. $ignoreErrors[] = [
  3268. 'message' => '#^Offset 0 might not exist on non\\-empty\\-array\\<int\\<0, 3\\>, array\\{tokens\\: non\\-empty\\-list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>, content\\: literal\\-string&non\\-falsy\\-string\\}\\>\\.$#',
  3269. 'identifier' => 'offsetAccess.notFound',
  3270. 'count' => 2,
  3271. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3272. ];
  3273. $ignoreErrors[] = [
  3274. 'message' => '#^Offset 1 might not exist on list\\<int\\<0, max\\>\\>\\.$#',
  3275. 'identifier' => 'offsetAccess.notFound',
  3276. 'count' => 1,
  3277. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3278. ];
  3279. $ignoreErrors[] = [
  3280. 'message' => '#^Offset 1 might not exist on non\\-empty\\-array\\<int\\<0, 3\\>, array\\{tokens\\: non\\-empty\\-list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>, content\\: literal\\-string&non\\-falsy\\-string\\}\\>\\.$#',
  3281. 'identifier' => 'offsetAccess.notFound',
  3282. 'count' => 2,
  3283. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3284. ];
  3285. $ignoreErrors[] = [
  3286. 'message' => '#^Offset 2 might not exist on non\\-empty\\-array\\<int\\<0, 3\\>, array\\{tokens\\: non\\-empty\\-list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>, content\\: literal\\-string&non\\-falsy\\-string\\}\\>\\.$#',
  3287. 'identifier' => 'offsetAccess.notFound',
  3288. 'count' => 2,
  3289. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3290. ];
  3291. $ignoreErrors[] = [
  3292. 'message' => '#^Offset 3 might not exist on non\\-empty\\-array\\<int\\<0, 3\\>, array\\{tokens\\: non\\-empty\\-list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>, content\\: literal\\-string&non\\-falsy\\-string\\}\\>\\.$#',
  3293. 'identifier' => 'offsetAccess.notFound',
  3294. 'count' => 2,
  3295. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3296. ];
  3297. $ignoreErrors[] = [
  3298. 'message' => '#^Offset int might not exist on array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\.$#',
  3299. 'identifier' => 'offsetAccess.notFound',
  3300. 'count' => 2,
  3301. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3302. ];
  3303. $ignoreErrors[] = [
  3304. 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>, list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\> given\\.$#',
  3305. 'identifier' => 'argument.type',
  3306. 'count' => 1,
  3307. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3308. ];
  3309. $ignoreErrors[] = [
  3310. 'message' => '#^Parameter \\#1 \\$sequence of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:findSequence\\(\\) expects non\\-empty\\-list\\<array\\{0\\: int, 1\\?\\: string\\}\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|string\\>, list\\<mixed\\> given\\.$#',
  3311. 'identifier' => 'argument.type',
  3312. 'count' => 1,
  3313. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3314. ];
  3315. $ignoreErrors[] = [
  3316. 'message' => '#^Parameter \\#1 \\$slices of method PhpCsFixer\\\\Tokenizer\\\\Tokens\\:\\:insertSlices\\(\\) expects array\\<int, list\\<PhpCsFixer\\\\Tokenizer\\\\Token\\>\\|PhpCsFixer\\\\Tokenizer\\\\Token\\|PhpCsFixer\\\\Tokenizer\\\\Tokens\\>, array\\{16\\: array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>, 6\\: array\\<int, PhpCsFixer\\\\Tokenizer\\\\Token\\>\\} given\\.$#',
  3317. 'identifier' => 'argument.type',
  3318. 'count' => 1,
  3319. 'path' => __DIR__ . '/../../tests/Tokenizer/TokensTest.php',
  3320. ];
  3321. return ['parameters' => ['ignoreErrors' => $ignoreErrors]];