phpstan-baseline.neon 73 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841
  1. parameters:
  2. ignoreErrors:
  3. -
  4. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\:\\:__call\\(\\) should return PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement but returns null\\.$#"
  5. count: 1
  6. path: src/PhpWord/Element/AbstractContainer.php
  7. -
  8. message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
  9. count: 1
  10. path: src/PhpWord/Element/AbstractContainer.php
  11. -
  12. message: "#^Parameter \\#1 \\$string of function md5 expects string, int\\<0, max\\> given\\.$#"
  13. count: 1
  14. path: src/PhpWord/Element/AbstractElement.php
  15. -
  16. message: "#^Parameter \\#2 \\$styleValue of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:setNewStyle\\(\\) expects array\\|PhpOffice\\\\PhpWord\\\\Style\\|string\\|null, array\\|PhpOffice\\\\PhpWord\\\\Style\\\\Cell\\|null given\\.$#"
  17. count: 1
  18. path: src/PhpWord/Element/Cell.php
  19. -
  20. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Field\\:\\:setOptions\\(\\) should return PhpOffice\\\\PhpWord\\\\Element\\\\Field but returns array\\.$#"
  21. count: 1
  22. path: src/PhpWord/Element/Field.php
  23. -
  24. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Field\\:\\:setProperties\\(\\) should return PhpOffice\\\\PhpWord\\\\Element\\\\Field but returns array\\.$#"
  25. count: 1
  26. path: src/PhpWord/Element/Field.php
  27. -
  28. message: "#^Property PhpOffice\\\\PhpWord\\\\Element\\\\Field\\:\\:\\$fontStyle \\(PhpOffice\\\\PhpWord\\\\Style\\\\Font\\|string\\) does not accept null\\.$#"
  29. count: 1
  30. path: src/PhpWord/Element/Field.php
  31. -
  32. message: "#^Result of \\|\\| is always true\\.$#"
  33. count: 1
  34. path: src/PhpWord/Element/Field.php
  35. -
  36. message: "#^Parameter \\#2 \\$styleValue of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:setNewStyle\\(\\) expects array\\|PhpOffice\\\\PhpWord\\\\Style\\|string\\|null, array\\|PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\|string\\|null given\\.$#"
  37. count: 1
  38. path: src/PhpWord/Element/Footnote.php
  39. -
  40. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Image\\:\\:getArchiveImageSize\\(\\) should return array\\|null but returns array<int\\|string, int\\|string>\\|false\\|null\\.$#"
  41. count: 1
  42. path: src/PhpWord/Element/Image.php
  43. -
  44. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Image\\:\\:getImageString\\(\\) should return string\\|null but returns string\\|false\\|null\\.$#"
  45. count: 1
  46. path: src/PhpWord/Element/Image.php
  47. -
  48. message: "#^Parameter \\#1 \\$callback of function call_user_func expects callable\\(\\)\\: mixed, string given\\.$#"
  49. count: 1
  50. path: src/PhpWord/Element/Image.php
  51. -
  52. message: "#^Property PhpOffice\\\\PhpWord\\\\Element\\\\Image\\:\\:\\$source \\(string\\) does not accept string\\|false\\.$#"
  53. count: 1
  54. path: src/PhpWord/Element/Image.php
  55. -
  56. message: "#^Offset 'extension' does not exist on array\\{dirname\\?\\: string, basename\\: string, extension\\?\\: string, filename\\: string\\}\\.$#"
  57. count: 2
  58. path: src/PhpWord/Element/OLEObject.php
  59. -
  60. message: "#^Property PhpOffice\\\\PhpWord\\\\Element\\\\OLEObject\\:\\:\\$icon \\(string\\) does not accept string\\|false\\.$#"
  61. count: 1
  62. path: src/PhpWord/Element/OLEObject.php
  63. -
  64. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Section\\:\\:addHeader\\(\\) should return PhpOffice\\\\PhpWord\\\\Element\\\\Header but returns PhpOffice\\\\PhpWord\\\\Element\\\\Footer\\.$#"
  65. count: 1
  66. path: src/PhpWord/Element/Section.php
  67. -
  68. message: "#^Method PhpOffice\\\\PhpWord\\\\Element\\\\Section\\:\\:addHeaderFooter\\(\\) should return PhpOffice\\\\PhpWord\\\\Element\\\\Footer but returns PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\.$#"
  69. count: 1
  70. path: src/PhpWord/Element/Section.php
  71. -
  72. message: "#^Parameter \\#2 \\$styleValue of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:setNewStyle\\(\\) expects array\\|PhpOffice\\\\PhpWord\\\\Style\\|string\\|null, array\\|PhpOffice\\\\PhpWord\\\\Style\\|PhpOffice\\\\PhpWord\\\\Style\\\\Section\\|string given\\.$#"
  73. count: 1
  74. path: src/PhpWord/Element/Section.php
  75. -
  76. message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#"
  77. count: 1
  78. path: src/PhpWord/Element/Section.php
  79. -
  80. message: "#^Method PhpOffice\\\\PhpWord\\\\Escaper\\\\Rtf\\:\\:escapeAsciiCharacter\\(\\) has no return type specified\\.$#"
  81. count: 1
  82. path: src/PhpWord/Escaper/Rtf.php
  83. -
  84. message: "#^Method PhpOffice\\\\PhpWord\\\\Escaper\\\\Rtf\\:\\:escapeAsciiCharacter\\(\\) has parameter \\$code with no type specified\\.$#"
  85. count: 1
  86. path: src/PhpWord/Escaper/Rtf.php
  87. -
  88. message: "#^Method PhpOffice\\\\PhpWord\\\\Escaper\\\\Rtf\\:\\:escapeMultibyteCharacter\\(\\) has no return type specified\\.$#"
  89. count: 1
  90. path: src/PhpWord/Escaper/Rtf.php
  91. -
  92. message: "#^Method PhpOffice\\\\PhpWord\\\\Escaper\\\\Rtf\\:\\:escapeMultibyteCharacter\\(\\) has parameter \\$code with no type specified\\.$#"
  93. count: 1
  94. path: src/PhpWord/Escaper/Rtf.php
  95. -
  96. message: "#^Cannot instantiate interface PhpOffice\\\\PhpWord\\\\Writer\\\\WriterInterface\\.$#"
  97. count: 1
  98. path: src/PhpWord/IOFactory.php
  99. -
  100. message: "#^Method PhpOffice\\\\PhpWord\\\\IOFactory\\:\\:createObject\\(\\) should return PhpOffice\\\\PhpWord\\\\Reader\\\\ReaderInterface\\|PhpOffice\\\\PhpWord\\\\Writer\\\\WriterInterface but returns object\\.$#"
  101. count: 1
  102. path: src/PhpWord/IOFactory.php
  103. -
  104. message: "#^Method PhpOffice\\\\PhpWord\\\\IOFactory\\:\\:createReader\\(\\) should return PhpOffice\\\\PhpWord\\\\Reader\\\\ReaderInterface but returns PhpOffice\\\\PhpWord\\\\Reader\\\\ReaderInterface\\|PhpOffice\\\\PhpWord\\\\Writer\\\\WriterInterface\\.$#"
  105. count: 1
  106. path: src/PhpWord/IOFactory.php
  107. -
  108. message: "#^Method PhpOffice\\\\PhpWord\\\\IOFactory\\:\\:createWriter\\(\\) should return PhpOffice\\\\PhpWord\\\\Writer\\\\WriterInterface but returns PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\|PhpOffice\\\\PhpWord\\\\Writer\\\\WriterInterface\\.$#"
  109. count: 1
  110. path: src/PhpWord/IOFactory.php
  111. -
  112. message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
  113. count: 1
  114. path: src/PhpWord/IOFactory.php
  115. -
  116. message: "#^Method PhpOffice\\\\PhpWord\\\\PhpWord\\:\\:getDefaultFontSize\\(\\) should return int but returns float\\|int\\.$#"
  117. count: 1
  118. path: src/PhpWord/PhpWord.php
  119. -
  120. message: "#^Parameter \\#1 \\$callback of function forward_static_call_array expects callable\\(\\)\\: mixed, array\\{'PhpOffice\\\\\\\\PhpWord…', string\\} given\\.$#"
  121. count: 1
  122. path: src/PhpWord/PhpWord.php
  123. -
  124. message: "#^Method PhpOffice\\\\PhpWord\\\\Reader\\\\AbstractReader\\:\\:openFile\\(\\) should return resource but return statement is missing\\.$#"
  125. count: 1
  126. path: src/PhpWord/Reader/AbstractReader.php
  127. -
  128. message: "#^Parameter \\#2 \\$html of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:addHtml\\(\\) expects string, string\\|false given\\.$#"
  129. count: 1
  130. path: src/PhpWord/Reader/HTML.php
  131. -
  132. message: "#^Offset 'textNodes' on array\\{changed\\: PhpOffice\\\\PhpWord\\\\Element\\\\TrackChange, textNodes\\: DOMNodeList\\<DOMElement\\>\\} in isset\\(\\) always exists and is not nullable\\.$#"
  133. count: 1
  134. path: src/PhpWord/Reader/ODText/Content.php
  135. -
  136. message: "#^Parameter \\#2 \\$contextNode of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLReader\\:\\:getElements\\(\\) expects DOMElement\\|null, DOMNode\\|null given\\.$#"
  137. count: 2
  138. path: src/PhpWord/Reader/ODText/Content.php
  139. -
  140. message: "#^Parameter \\#2 \\$depth of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\:\\:addTitle\\(\\) expects int, string\\|null given\\.$#"
  141. count: 1
  142. path: src/PhpWord/Reader/ODText/Content.php
  143. -
  144. message: "#^Property PhpOffice\\\\PhpWord\\\\Reader\\\\RTF\\\\Document\\:\\:\\$rtf \\(string\\) does not accept string\\|false\\.$#"
  145. count: 1
  146. path: src/PhpWord/Reader/RTF.php
  147. -
  148. message: "#^Cannot call method setStyleByArray\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Font\\|string\\.$#"
  149. count: 1
  150. path: src/PhpWord/Reader/RTF/Document.php
  151. -
  152. message: "#^Property PhpOffice\\\\PhpWord\\\\Reader\\\\RTF\\\\Document\\:\\:\\$phpWord is never read, only written\\.$#"
  153. count: 1
  154. path: src/PhpWord/Reader/RTF/Document.php
  155. -
  156. message: "#^Method PhpOffice\\\\PhpWord\\\\Reader\\\\ReaderInterface\\:\\:load\\(\\) has no return type specified\\.$#"
  157. count: 1
  158. path: src/PhpWord/Reader/ReaderInterface.php
  159. -
  160. message: "#^Parameter \\#1 \\$string of function substr expects string, string\\|false given\\.$#"
  161. count: 2
  162. path: src/PhpWord/Reader/Word2007.php
  163. -
  164. message: "#^Parameter \\#2 \\$xmlFile of method PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\:\\:getRels\\(\\) expects string, string\\|false given\\.$#"
  165. count: 1
  166. path: src/PhpWord/Reader/Word2007.php
  167. -
  168. message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|false given\\.$#"
  169. count: 1
  170. path: src/PhpWord/Reader/Word2007.php
  171. -
  172. message: "#^Binary operation \"/\" between string\\|null and 2 results in an error\\.$#"
  173. count: 1
  174. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  175. -
  176. message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
  177. count: 2
  178. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  179. -
  180. message: "#^Method PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\\\AbstractPart\\:\\:getHeadingDepth\\(\\) never returns float so it can be removed from the return type\\.$#"
  181. count: 1
  182. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  183. -
  184. message: "#^Method PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\\\AbstractPart\\:\\:getHeadingDepth\\(\\) should return float\\|int\\|null but returns string\\.$#"
  185. count: 1
  186. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  187. -
  188. message: "#^Method PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\\\AbstractPart\\:\\:read\\(\\) has no return type specified\\.$#"
  189. count: 1
  190. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  191. -
  192. message: "#^Parameter \\#1 \\$depth of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\:\\:addListItemRun\\(\\) expects int, string\\|null given\\.$#"
  193. count: 1
  194. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  195. -
  196. message: "#^Parameter \\#1 \\$height of method PhpOffice\\\\PhpWord\\\\Element\\\\Table\\:\\:addRow\\(\\) expects int\\|null, string\\|null given\\.$#"
  197. count: 1
  198. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  199. -
  200. message: "#^Parameter \\#1 \\$value of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:setRelationId\\(\\) expects int, string\\|null given\\.$#"
  201. count: 2
  202. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  203. -
  204. message: "#^Parameter \\#1 \\$width of method PhpOffice\\\\PhpWord\\\\Element\\\\Row\\:\\:addCell\\(\\) expects int\\|null, string\\|null given\\.$#"
  205. count: 1
  206. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  207. -
  208. message: "#^Parameter \\#2 \\$contextNode of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLReader\\:\\:getAttribute\\(\\) expects DOMElement\\|null, DOMNode\\|null given\\.$#"
  209. count: 1
  210. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  211. -
  212. message: "#^Parameter \\#2 \\$depth of method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\:\\:addTitle\\(\\) expects int, float\\|int given\\.$#"
  213. count: 1
  214. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  215. -
  216. message: "#^Strict comparison using \\=\\=\\= between null and DOMElement will always evaluate to false\\.$#"
  217. count: 1
  218. path: src/PhpWord/Reader/Word2007/AbstractPart.php
  219. -
  220. message: "#^Parameter \\#2 \\$relationId of method PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\\\Footnotes\\:\\:getElement\\(\\) expects int, string\\|null given\\.$#"
  221. count: 1
  222. path: src/PhpWord/Reader/Word2007/Footnotes.php
  223. -
  224. message: "#^Parameter \\#3 \\$levelId of method PhpOffice\\\\PhpWord\\\\Reader\\\\Word2007\\\\Numbering\\:\\:readLevel\\(\\) expects int, string\\|null given\\.$#"
  225. count: 2
  226. path: src/PhpWord/Reader/Word2007/Numbering.php
  227. -
  228. message: "#^Parameter \\#1 \\$comments of method PhpOffice\\\\PhpWord\\\\ComplexType\\\\TrackChangesView\\:\\:setComments\\(\\) expects bool\\|null, string\\|null given\\.$#"
  229. count: 1
  230. path: src/PhpWord/Reader/Word2007/Settings.php
  231. -
  232. message: "#^Parameter \\#1 \\$consecutiveHyphenLimit of method PhpOffice\\\\PhpWord\\\\Metadata\\\\Settings\\:\\:setConsecutiveHyphenLimit\\(\\) expects int, string given\\.$#"
  233. count: 1
  234. path: src/PhpWord/Reader/Word2007/Settings.php
  235. -
  236. message: "#^Parameter \\#1 \\$hyphenationZone of method PhpOffice\\\\PhpWord\\\\Metadata\\\\Settings\\:\\:setHyphenationZone\\(\\) expects float\\|int\\|null, string given\\.$#"
  237. count: 1
  238. path: src/PhpWord/Reader/Word2007/Settings.php
  239. -
  240. message: "#^Parameter \\#1 \\$filename of function parse_ini_file expects string, string\\|false given\\.$#"
  241. count: 1
  242. path: src/PhpWord/Settings.php
  243. -
  244. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\AbstractEnum\\:\\:getConstants\\(\\) has no return type specified\\.$#"
  245. count: 1
  246. path: src/PhpWord/Shared/AbstractEnum.php
  247. -
  248. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\AbstractEnum\\:\\:\\$constCacheArray has no type specified\\.$#"
  249. count: 1
  250. path: src/PhpWord/Shared/AbstractEnum.php
  251. -
  252. message: "#^Binary operation \"/\" between string and 10 results in an error\\.$#"
  253. count: 1
  254. path: src/PhpWord/Shared/Converter.php
  255. -
  256. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:angleToDegree\\(\\) should return int but returns float\\.$#"
  257. count: 1
  258. path: src/PhpWord/Shared/Converter.php
  259. -
  260. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:cssToPoint\\(\\) should return float\\|null but returns string\\.$#"
  261. count: 1
  262. path: src/PhpWord/Shared/Converter.php
  263. -
  264. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:htmlToRgb\\(\\) should return array but returns false\\.$#"
  265. count: 1
  266. path: src/PhpWord/Shared/Converter.php
  267. -
  268. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:inchToEmu\\(\\) should return int but returns float\\.$#"
  269. count: 1
  270. path: src/PhpWord/Shared/Converter.php
  271. -
  272. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:pixelToEmu\\(\\) should return int but returns float\\.$#"
  273. count: 1
  274. path: src/PhpWord/Shared/Converter.php
  275. -
  276. message: "#^Parameter \\#1 \\$centimeter of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:cmToPoint\\(\\) expects float, string given\\.$#"
  277. count: 1
  278. path: src/PhpWord/Shared/Converter.php
  279. -
  280. message: "#^Parameter \\#1 \\$inch of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:inchToPoint\\(\\) expects float, string given\\.$#"
  281. count: 1
  282. path: src/PhpWord/Shared/Converter.php
  283. -
  284. message: "#^Parameter \\#1 \\$pica of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:picaToPoint\\(\\) expects float, string given\\.$#"
  285. count: 1
  286. path: src/PhpWord/Shared/Converter.php
  287. -
  288. message: "#^Parameter \\#1 \\$pixel of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Converter\\:\\:pixelToPoint\\(\\) expects float, string given\\.$#"
  289. count: 1
  290. path: src/PhpWord/Shared/Converter.php
  291. -
  292. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Drawing\\:\\:angleToDegrees\\(\\) should return int but returns float\\.$#"
  293. count: 1
  294. path: src/PhpWord/Shared/Drawing.php
  295. -
  296. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Drawing\\:\\:emuToPixels\\(\\) should return int but returns float\\.$#"
  297. count: 1
  298. path: src/PhpWord/Shared/Drawing.php
  299. -
  300. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Drawing\\:\\:pixelsToEmu\\(\\) should return int but returns float\\.$#"
  301. count: 1
  302. path: src/PhpWord/Shared/Drawing.php
  303. -
  304. message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
  305. count: 1
  306. path: src/PhpWord/Shared/Html.php
  307. -
  308. message: "#^Cannot call method setBorderSize\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Table\\|string\\.$#"
  309. count: 1
  310. path: src/PhpWord/Shared/Html.php
  311. -
  312. message: "#^Cannot call method setStyleName\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Table\\|string\\.$#"
  313. count: 1
  314. path: src/PhpWord/Shared/Html.php
  315. -
  316. message: "#^If condition is always true\\.$#"
  317. count: 1
  318. path: src/PhpWord/Shared/Html.php
  319. -
  320. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:addHtml\\(\\) has parameter \\$options with no type specified\\.$#"
  321. count: 1
  322. path: src/PhpWord/Shared/Html.php
  323. -
  324. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:filterOutNonInheritedStyles\\(\\) has no return type specified\\.$#"
  325. count: 1
  326. path: src/PhpWord/Shared/Html.php
  327. -
  328. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:mapBorderColor\\(\\) has parameter \\$cssBorderColor with no type specified\\.$#"
  329. count: 1
  330. path: src/PhpWord/Shared/Html.php
  331. -
  332. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:mapBorderColor\\(\\) has parameter \\$styles with no type specified\\.$#"
  333. count: 1
  334. path: src/PhpWord/Shared/Html.php
  335. -
  336. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:mapListType\\(\\) has no return type specified\\.$#"
  337. count: 1
  338. path: src/PhpWord/Shared/Html.php
  339. -
  340. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:parseLink\\(\\) has no return type specified\\.$#"
  341. count: 1
  342. path: src/PhpWord/Shared/Html.php
  343. -
  344. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:parseList\\(\\) has no return type specified\\.$#"
  345. count: 1
  346. path: src/PhpWord/Shared/Html.php
  347. -
  348. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:parseRuby\\(\\) has no return type specified\\.$#"
  349. count: 1
  350. path: src/PhpWord/Shared/Html.php
  351. -
  352. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:parseStyleDeclarations\\(\\) has no return type specified\\.$#"
  353. count: 1
  354. path: src/PhpWord/Shared/Html.php
  355. -
  356. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:recursiveParseStylesInHierarchy\\(\\) has no return type specified\\.$#"
  357. count: 1
  358. path: src/PhpWord/Shared/Html.php
  359. -
  360. message: "#^Parameter \\#1 \\$attribute of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:parseStyle\\(\\) expects DOMAttr, DOMNode given\\.$#"
  361. count: 3
  362. path: src/PhpWord/Shared/Html.php
  363. -
  364. message: "#^Parameter \\#2 \\$element of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:parseNode\\(\\) expects PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer, PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer\\|PhpOffice\\\\PhpWord\\\\Element\\\\Row\\|PhpOffice\\\\PhpWord\\\\Element\\\\Table given\\.$#"
  365. count: 1
  366. path: src/PhpWord/Shared/Html.php
  367. -
  368. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:\\$listIndex has no type specified\\.$#"
  369. count: 1
  370. path: src/PhpWord/Shared/Html.php
  371. -
  372. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:\\$options has no type specified\\.$#"
  373. count: 1
  374. path: src/PhpWord/Shared/Html.php
  375. -
  376. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\Html\\:\\:\\$xpath has no type specified\\.$#"
  377. count: 1
  378. path: src/PhpWord/Shared/Html.php
  379. -
  380. message: "#^Result of \\|\\| is always true\\.$#"
  381. count: 1
  382. path: src/PhpWord/Shared/Html.php
  383. -
  384. message: "#^Right side of && is always true\\.$#"
  385. count: 1
  386. path: src/PhpWord/Shared/Html.php
  387. -
  388. message: "#^Variable \\$cNodes in empty\\(\\) always exists and is not falsy\\.$#"
  389. count: 2
  390. path: src/PhpWord/Shared/Html.php
  391. -
  392. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\Microsoft\\\\PasswordEncoder\\:\\:\\$encryptionMatrix has no type specified\\.$#"
  393. count: 1
  394. path: src/PhpWord/Shared/Microsoft/PasswordEncoder.php
  395. -
  396. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\Microsoft\\\\PasswordEncoder\\:\\:\\$initialCodeArray has no type specified\\.$#"
  397. count: 1
  398. path: src/PhpWord/Shared/Microsoft/PasswordEncoder.php
  399. -
  400. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\Microsoft\\\\PasswordEncoder\\:\\:\\$passwordMaxLength has no type specified\\.$#"
  401. count: 1
  402. path: src/PhpWord/Shared/Microsoft/PasswordEncoder.php
  403. -
  404. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:getData\\(\\) should return string but returns string\\|false\\.$#"
  405. count: 1
  406. path: src/PhpWord/Shared/XMLWriter.php
  407. -
  408. message: "#^Call to method add\\(\\) on an unknown class PclZip\\.$#"
  409. count: 2
  410. path: src/PhpWord/Shared/ZipArchive.php
  411. -
  412. message: "#^Call to method addFromString\\(\\) on an unknown class PclZip\\.$#"
  413. count: 1
  414. path: src/PhpWord/Shared/ZipArchive.php
  415. -
  416. message: "#^Call to method close\\(\\) on an unknown class PclZip\\.$#"
  417. count: 1
  418. path: src/PhpWord/Shared/ZipArchive.php
  419. -
  420. message: "#^Call to method extract\\(\\) on an unknown class PclZip\\.$#"
  421. count: 1
  422. path: src/PhpWord/Shared/ZipArchive.php
  423. -
  424. message: "#^Call to method extractByIndex\\(\\) on an unknown class PclZip\\.$#"
  425. count: 3
  426. path: src/PhpWord/Shared/ZipArchive.php
  427. -
  428. message: "#^Call to method extractTo\\(\\) on an unknown class PclZip\\.$#"
  429. count: 1
  430. path: src/PhpWord/Shared/ZipArchive.php
  431. -
  432. message: "#^Call to method getFromName\\(\\) on an unknown class PclZip\\.$#"
  433. count: 2
  434. path: src/PhpWord/Shared/ZipArchive.php
  435. -
  436. message: "#^Call to method listContent\\(\\) on an unknown class PclZip\\.$#"
  437. count: 3
  438. path: src/PhpWord/Shared/ZipArchive.php
  439. -
  440. message: "#^Comparison operation \"\\!\\=\" between array and 0 results in an error\\.$#"
  441. count: 1
  442. path: src/PhpWord/Shared/ZipArchive.php
  443. -
  444. message: "#^Constant PCLZIP_OPT_ADD_PATH not found\\.$#"
  445. count: 2
  446. path: src/PhpWord/Shared/ZipArchive.php
  447. -
  448. message: "#^Constant PCLZIP_OPT_EXTRACT_AS_STRING not found\\.$#"
  449. count: 2
  450. path: src/PhpWord/Shared/ZipArchive.php
  451. -
  452. message: "#^Constant PCLZIP_OPT_PATH not found\\.$#"
  453. count: 2
  454. path: src/PhpWord/Shared/ZipArchive.php
  455. -
  456. message: "#^Constant PCLZIP_OPT_REMOVE_PATH not found\\.$#"
  457. count: 2
  458. path: src/PhpWord/Shared/ZipArchive.php
  459. -
  460. message: "#^Instantiated class PclZip not found\\.$#"
  461. count: 1
  462. path: src/PhpWord/Shared/ZipArchive.php
  463. -
  464. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\ZipArchive\\:\\:getFromName\\(\\) should return string but returns string\\|false\\.$#"
  465. count: 1
  466. path: src/PhpWord/Shared/ZipArchive.php
  467. -
  468. message: "#^Method PhpOffice\\\\PhpWord\\\\Shared\\\\ZipArchive\\:\\:open\\(\\) should return bool but returns int\\|true\\.$#"
  469. count: 1
  470. path: src/PhpWord/Shared/ZipArchive.php
  471. -
  472. message: "#^Offset 'dirname' does not exist on array\\{dirname\\?\\: string, basename\\: string, extension\\?\\: string, filename\\: string\\}\\.$#"
  473. count: 3
  474. path: src/PhpWord/Shared/ZipArchive.php
  475. -
  476. message: "#^PHPDoc tag @var for variable \\$zip contains unknown class PclZip\\.$#"
  477. count: 6
  478. path: src/PhpWord/Shared/ZipArchive.php
  479. -
  480. message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{\\$this\\(PhpOffice\\\\PhpWord\\\\Shared\\\\ZipArchive\\)\\|PclZip\\|ZipArchive, mixed\\} given\\.$#"
  481. count: 1
  482. path: src/PhpWord/Shared/ZipArchive.php
  483. -
  484. message: "#^Parameter \\#1 \\$stream of function fclose expects resource, resource\\|false given\\.$#"
  485. count: 1
  486. path: src/PhpWord/Shared/ZipArchive.php
  487. -
  488. message: "#^Parameter \\#1 \\$stream of function fwrite expects resource, resource\\|false given\\.$#"
  489. count: 1
  490. path: src/PhpWord/Shared/ZipArchive.php
  491. -
  492. message: "#^Property PhpOffice\\\\PhpWord\\\\Shared\\\\ZipArchive\\:\\:\\$zip has unknown class PclZip as its type\\.$#"
  493. count: 1
  494. path: src/PhpWord/Shared/ZipArchive.php
  495. -
  496. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\:\\:addFontStyle\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  497. count: 1
  498. path: src/PhpWord/Style.php
  499. -
  500. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\:\\:addLinkStyle\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  501. count: 1
  502. path: src/PhpWord/Style.php
  503. -
  504. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\:\\:addNumberingStyle\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Numbering but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  505. count: 1
  506. path: src/PhpWord/Style.php
  507. -
  508. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\:\\:addParagraphStyle\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  509. count: 1
  510. path: src/PhpWord/Style.php
  511. -
  512. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\:\\:addTableStyle\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Table but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  513. count: 1
  514. path: src/PhpWord/Style.php
  515. -
  516. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\:\\:addTitleStyle\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  517. count: 1
  518. path: src/PhpWord/Style.php
  519. -
  520. message: "#^Call to an undefined method object\\:\\:setStyleByArray\\(\\)\\.$#"
  521. count: 1
  522. path: src/PhpWord/Style/AbstractStyle.php
  523. -
  524. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\:\\:setFloatVal\\(\\) should return float\\|null but returns float\\|int\\|string\\|null\\.$#"
  525. count: 1
  526. path: src/PhpWord/Style/AbstractStyle.php
  527. -
  528. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\:\\:setNumericVal\\(\\) should return float\\|int\\|null but returns float\\|int\\|string\\|null\\.$#"
  529. count: 1
  530. path: src/PhpWord/Style/AbstractStyle.php
  531. -
  532. message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\|false given\\.$#"
  533. count: 1
  534. path: src/PhpWord/Style/AbstractStyle.php
  535. -
  536. message: "#^Unreachable statement \\- code above always terminates\\.$#"
  537. count: 1
  538. path: src/PhpWord/Style/AbstractStyle.php
  539. -
  540. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Border\\:\\:getBorderSize\\(\\) should return array\\<int\\> but returns array\\<int, float\\|int\\>\\.$#"
  541. count: 1
  542. path: src/PhpWord/Style/Border.php
  543. -
  544. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Cell\\:\\:getBgColor\\(\\) should return string but returns null\\.$#"
  545. count: 1
  546. path: src/PhpWord/Style/Cell.php
  547. -
  548. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Cell\\:\\:setUnit\\(\\) has no return type specified\\.$#"
  549. count: 1
  550. path: src/PhpWord/Style/Cell.php
  551. -
  552. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Chart\\:\\:getMajorTickPosition\\(\\) has no return type specified\\.$#"
  553. count: 1
  554. path: src/PhpWord/Style/Chart.php
  555. -
  556. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Chart\\:\\:setCategoryAxisTitle\\(\\) has no return type specified\\.$#"
  557. count: 1
  558. path: src/PhpWord/Style/Chart.php
  559. -
  560. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Chart\\:\\:setValueAxisTitle\\(\\) has no return type specified\\.$#"
  561. count: 1
  562. path: src/PhpWord/Style/Chart.php
  563. -
  564. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Chart\\:\\:setValueLabelPosition\\(\\) has no return type specified\\.$#"
  565. count: 1
  566. path: src/PhpWord/Style/Chart.php
  567. -
  568. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Chart\\:\\:showAxisLabels\\(\\) has no return type specified\\.$#"
  569. count: 1
  570. path: src/PhpWord/Style/Chart.php
  571. -
  572. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Chart\\:\\:showGridY\\(\\) has no return type specified\\.$#"
  573. count: 1
  574. path: src/PhpWord/Style/Chart.php
  575. -
  576. message: "#^PHPDoc tag @param has invalid value \\(string\\)\\: Unexpected token \"\\\\n \\* \", expected variable at offset 250$#"
  577. count: 1
  578. path: src/PhpWord/Style/Chart.php
  579. -
  580. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setAllCaps\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  581. count: 1
  582. path: src/PhpWord/Style/Font.php
  583. -
  584. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setBgColor\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Table but return statement is missing\\.$#"
  585. count: 1
  586. path: src/PhpWord/Style/Font.php
  587. -
  588. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setDoubleStrikethrough\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  589. count: 1
  590. path: src/PhpWord/Style/Font.php
  591. -
  592. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setSmallCaps\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  593. count: 1
  594. path: src/PhpWord/Style/Font.php
  595. -
  596. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setStrikethrough\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  597. count: 1
  598. path: src/PhpWord/Style/Font.php
  599. -
  600. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setSubScript\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  601. count: 1
  602. path: src/PhpWord/Style/Font.php
  603. -
  604. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Font\\:\\:setSuperScript\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Font but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  605. count: 1
  606. path: src/PhpWord/Style/Font.php
  607. -
  608. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\Line\\:\\:\\$weight \\(int\\) does not accept float\\|int\\|null\\.$#"
  609. count: 1
  610. path: src/PhpWord/Style/Line.php
  611. -
  612. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\ListItem\\:\\:getListTypeStyle\\(\\) should return array but empty return statement found\\.$#"
  613. count: 1
  614. path: src/PhpWord/Style/ListItem.php
  615. -
  616. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\ListItem\\:\\:getListTypeStyle\\(\\) should return array but return statement is missing\\.$#"
  617. count: 1
  618. path: src/PhpWord/Style/ListItem.php
  619. -
  620. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\:\\:setStyleValue\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  621. count: 1
  622. path: src/PhpWord/Style/Paragraph.php
  623. -
  624. message: "#^Result of && is always false\\.$#"
  625. count: 1
  626. path: src/PhpWord/Style/Paragraph.php
  627. -
  628. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Section\\:\\:setSettingValue\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\Section but returns PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\.$#"
  629. count: 1
  630. path: src/PhpWord/Style/Section.php
  631. -
  632. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\TOC\\:\\:setTabLeader\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\TOC but returns PhpOffice\\\\PhpWord\\\\Style\\\\Tab\\.$#"
  633. count: 1
  634. path: src/PhpWord/Style/TOC.php
  635. -
  636. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\TOC\\:\\:setTabPos\\(\\) should return PhpOffice\\\\PhpWord\\\\Style\\\\TOC but returns PhpOffice\\\\PhpWord\\\\Style\\\\Tab\\.$#"
  637. count: 1
  638. path: src/PhpWord/Style/TOC.php
  639. -
  640. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getBorderInsideHColor\\(\\) should return string but returns int\\|string\\|null\\.$#"
  641. count: 1
  642. path: src/PhpWord/Style/Table.php
  643. -
  644. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getBorderInsideHSize\\(\\) should return int but returns int\\|string\\|null\\.$#"
  645. count: 1
  646. path: src/PhpWord/Style/Table.php
  647. -
  648. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getBorderInsideVColor\\(\\) should return string but returns int\\|string\\|null\\.$#"
  649. count: 1
  650. path: src/PhpWord/Style/Table.php
  651. -
  652. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getBorderInsideVSize\\(\\) should return int but returns int\\|string\\|null\\.$#"
  653. count: 1
  654. path: src/PhpWord/Style/Table.php
  655. -
  656. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getBorderSize\\(\\) should return array\\<int\\> but returns array\\<int, float\\|int\\>\\.$#"
  657. count: 1
  658. path: src/PhpWord/Style/Table.php
  659. -
  660. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getCellMarginBottom\\(\\) should return int but returns int\\|string\\|null\\.$#"
  661. count: 1
  662. path: src/PhpWord/Style/Table.php
  663. -
  664. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getCellMarginLeft\\(\\) should return int but returns int\\|string\\|null\\.$#"
  665. count: 1
  666. path: src/PhpWord/Style/Table.php
  667. -
  668. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getCellMarginRight\\(\\) should return int but returns int\\|string\\|null\\.$#"
  669. count: 1
  670. path: src/PhpWord/Style/Table.php
  671. -
  672. message: "#^Method PhpOffice\\\\PhpWord\\\\Style\\\\Table\\:\\:getCellMarginTop\\(\\) should return int but returns int\\|string\\|null\\.$#"
  673. count: 1
  674. path: src/PhpWord/Style/Table.php
  675. -
  676. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\TablePosition\\:\\:\\$bottomFromText \\(int\\) does not accept float\\|int\\|null\\.$#"
  677. count: 1
  678. path: src/PhpWord/Style/TablePosition.php
  679. -
  680. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\TablePosition\\:\\:\\$leftFromText \\(int\\) does not accept float\\|int\\|null\\.$#"
  681. count: 1
  682. path: src/PhpWord/Style/TablePosition.php
  683. -
  684. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\TablePosition\\:\\:\\$rightFromText \\(int\\) does not accept float\\|int\\|null\\.$#"
  685. count: 1
  686. path: src/PhpWord/Style/TablePosition.php
  687. -
  688. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\TablePosition\\:\\:\\$tblpX \\(int\\) does not accept float\\|int\\|null\\.$#"
  689. count: 1
  690. path: src/PhpWord/Style/TablePosition.php
  691. -
  692. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\TablePosition\\:\\:\\$tblpY \\(int\\) does not accept float\\|int\\|null\\.$#"
  693. count: 1
  694. path: src/PhpWord/Style/TablePosition.php
  695. -
  696. message: "#^Property PhpOffice\\\\PhpWord\\\\Style\\\\TablePosition\\:\\:\\$topFromText \\(int\\) does not accept float\\|int\\|null\\.$#"
  697. count: 1
  698. path: src/PhpWord/Style/TablePosition.php
  699. -
  700. message: "#^Call to an undefined method object\\:\\:write\\(\\)\\.$#"
  701. count: 1
  702. path: src/PhpWord/TemplateProcessor.php
  703. -
  704. message: "#^Cannot access offset 'end' on array\\<int\\>\\|true\\.$#"
  705. count: 1
  706. path: src/PhpWord/TemplateProcessor.php
  707. -
  708. message: "#^Cannot access offset 'start' on array\\<int\\>\\|true\\.$#"
  709. count: 1
  710. path: src/PhpWord/TemplateProcessor.php
  711. -
  712. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:addImageToRelations\\(\\) has parameter \\$imageMimeType with no type specified\\.$#"
  713. count: 1
  714. path: src/PhpWord/TemplateProcessor.php
  715. -
  716. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:addImageToRelations\\(\\) has parameter \\$imgPath with no type specified\\.$#"
  717. count: 1
  718. path: src/PhpWord/TemplateProcessor.php
  719. -
  720. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:addImageToRelations\\(\\) has parameter \\$partFileName with no type specified\\.$#"
  721. count: 1
  722. path: src/PhpWord/TemplateProcessor.php
  723. -
  724. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:addImageToRelations\\(\\) has parameter \\$rid with no type specified\\.$#"
  725. count: 1
  726. path: src/PhpWord/TemplateProcessor.php
  727. -
  728. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:chooseImageDimension\\(\\) has no return type specified\\.$#"
  729. count: 1
  730. path: src/PhpWord/TemplateProcessor.php
  731. -
  732. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:chooseImageDimension\\(\\) has parameter \\$baseValue with no type specified\\.$#"
  733. count: 1
  734. path: src/PhpWord/TemplateProcessor.php
  735. -
  736. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:chooseImageDimension\\(\\) has parameter \\$defaultValue with no type specified\\.$#"
  737. count: 1
  738. path: src/PhpWord/TemplateProcessor.php
  739. -
  740. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:chooseImageDimension\\(\\) has parameter \\$inlineValue with no type specified\\.$#"
  741. count: 1
  742. path: src/PhpWord/TemplateProcessor.php
  743. -
  744. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:fixImageWidthHeightRatio\\(\\) has parameter \\$actualHeight with no type specified\\.$#"
  745. count: 1
  746. path: src/PhpWord/TemplateProcessor.php
  747. -
  748. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:fixImageWidthHeightRatio\\(\\) has parameter \\$actualWidth with no type specified\\.$#"
  749. count: 1
  750. path: src/PhpWord/TemplateProcessor.php
  751. -
  752. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:fixImageWidthHeightRatio\\(\\) has parameter \\$height with no type specified\\.$#"
  753. count: 1
  754. path: src/PhpWord/TemplateProcessor.php
  755. -
  756. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:fixImageWidthHeightRatio\\(\\) has parameter \\$width with no type specified\\.$#"
  757. count: 1
  758. path: src/PhpWord/TemplateProcessor.php
  759. -
  760. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:getImageArgs\\(\\) has no return type specified\\.$#"
  761. count: 1
  762. path: src/PhpWord/TemplateProcessor.php
  763. -
  764. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:getImageArgs\\(\\) has parameter \\$varNameWithArgs with no type specified\\.$#"
  765. count: 1
  766. path: src/PhpWord/TemplateProcessor.php
  767. -
  768. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:getNextRelationsIndex\\(\\) has no return type specified\\.$#"
  769. count: 1
  770. path: src/PhpWord/TemplateProcessor.php
  771. -
  772. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:getNextRelationsIndex\\(\\) has parameter \\$documentPartName with no type specified\\.$#"
  773. count: 1
  774. path: src/PhpWord/TemplateProcessor.php
  775. -
  776. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:indexClonedVariables\\(\\) should return string but returns array\\<int\\<0, max\\>, string\\|null\\>\\.$#"
  777. count: 1
  778. path: src/PhpWord/TemplateProcessor.php
  779. -
  780. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:prepareImageAttrs\\(\\) has no return type specified\\.$#"
  781. count: 1
  782. path: src/PhpWord/TemplateProcessor.php
  783. -
  784. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:prepareImageAttrs\\(\\) has parameter \\$replaceImage with no type specified\\.$#"
  785. count: 1
  786. path: src/PhpWord/TemplateProcessor.php
  787. -
  788. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:prepareImageAttrs\\(\\) has parameter \\$varInlineArgs with no type specified\\.$#"
  789. count: 1
  790. path: src/PhpWord/TemplateProcessor.php
  791. -
  792. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:setValueForPart\\(\\) should return string but returns array\\<int, string\\>\\|string\\.$#"
  793. count: 1
  794. path: src/PhpWord/TemplateProcessor.php
  795. -
  796. message: "#^Method PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:setValueForPart\\(\\) should return string but returns array\\<int, string\\>\\|string\\|null\\.$#"
  797. count: 1
  798. path: src/PhpWord/TemplateProcessor.php
  799. -
  800. message: "#^Parameter \\#1 \\$element of method PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Part\\\\Chart\\:\\:setElement\\(\\) expects PhpOffice\\\\PhpWord\\\\Element\\\\Chart, PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement given\\.$#"
  801. count: 1
  802. path: src/PhpWord/TemplateProcessor.php
  803. -
  804. message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, array\\<string\\>\\|string given\\.$#"
  805. count: 1
  806. path: src/PhpWord/TemplateProcessor.php
  807. -
  808. message: "#^Parameter \\#2 \\$array of function implode expects array\\|null, string given\\.$#"
  809. count: 1
  810. path: src/PhpWord/TemplateProcessor.php
  811. -
  812. message: "#^Property PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:\\$macroClosingChars has no type specified\\.$#"
  813. count: 1
  814. path: src/PhpWord/TemplateProcessor.php
  815. -
  816. message: "#^Property PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:\\$macroOpeningChars has no type specified\\.$#"
  817. count: 1
  818. path: src/PhpWord/TemplateProcessor.php
  819. -
  820. message: "#^Property PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:\\$tempDocumentFooters \\(array\\<string\\>\\) does not accept string\\.$#"
  821. count: 1
  822. path: src/PhpWord/TemplateProcessor.php
  823. -
  824. message: "#^Property PhpOffice\\\\PhpWord\\\\TemplateProcessor\\:\\:\\$tempDocumentHeaders \\(array\\<string\\>\\) does not accept string\\.$#"
  825. count: 1
  826. path: src/PhpWord/TemplateProcessor.php
  827. -
  828. message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
  829. count: 1
  830. path: src/PhpWord/Writer/AbstractWriter.php
  831. -
  832. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\HTML\\\\Element\\\\AbstractElement\\:\\:write\\(\\) has no return type specified\\.$#"
  833. count: 1
  834. path: src/PhpWord/Writer/HTML/Element/AbstractElement.php
  835. -
  836. message: "#^Variable \\$row in PHPDoc tag @var does not match assigned variable \\$rowStyle\\.$#"
  837. count: 1
  838. path: src/PhpWord/Writer/HTML/Element/Table.php
  839. -
  840. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Element\\\\Field\\:\\:writeDefault\\(\\) has parameter \\$type with no type specified\\.$#"
  841. count: 1
  842. path: src/PhpWord/Writer/ODText/Element/Field.php
  843. -
  844. message: "#^Variable \\$row in PHPDoc tag @var does not match any variable in the foreach loop\\: \\$cell$#"
  845. count: 1
  846. path: src/PhpWord/Writer/ODText/Element/Table.php
  847. -
  848. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Element\\\\AbstractElement\\:\\:replaceTabs\\(\\) has parameter \\$text with no type specified\\.$#"
  849. count: 1
  850. path: src/PhpWord/Writer/ODText/Element/AbstractElement.php
  851. -
  852. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Element\\\\AbstractElement\\:\\:replaceTabs\\(\\) has parameter \\$xmlWriter with no type specified\\.$#"
  853. count: 1
  854. path: src/PhpWord/Writer/ODText/Element/AbstractElement.php
  855. -
  856. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Element\\\\Text\\:\\:writeChangeInsertion\\(\\) has parameter \\$start with no type specified\\.$#"
  857. count: 1
  858. path: src/PhpWord/Writer/ODText/Element/Text.php
  859. -
  860. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getParagraphStyle\\(\\)\\.$#"
  861. count: 1
  862. path: src/PhpWord/Writer/ODText/Element/TextRun.php
  863. -
  864. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\:\\:setColumnWidths\\(\\)\\.$#"
  865. count: 1
  866. path: src/PhpWord/Writer/ODText/Part/Content.php
  867. -
  868. message: "#^Parameter \\#1 \\$container of method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Part\\\\Content\\:\\:collectTrackedChanges\\(\\) expects PhpOffice\\\\PhpWord\\\\Element\\\\AbstractContainer, PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement given\\.$#"
  869. count: 1
  870. path: src/PhpWord/Writer/ODText/Part/Content.php
  871. -
  872. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Part\\\\Content\\:\\:\\$imageParagraphStyles has no type specified\\.$#"
  873. count: 1
  874. path: src/PhpWord/Writer/ODText/Part/Content.php
  875. -
  876. message: "#^Call to an undefined method object\\:\\:write\\(\\)\\.$#"
  877. count: 2
  878. path: src/PhpWord/Writer/ODText/Part/Styles.php
  879. -
  880. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\ODText\\\\Part\\\\Styles\\:\\:cvttwiptostr\\(\\) has no return type specified\\.$#"
  881. count: 1
  882. path: src/PhpWord/Writer/ODText/Part/Styles.php
  883. -
  884. message: "#^Parameter \\#1 \\$callback of function call_user_func_array expects callable\\(\\)\\: mixed, array\\{PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\AbstractRenderer, string\\} given\\.$#"
  885. count: 1
  886. path: src/PhpWord/Writer/PDF.php
  887. -
  888. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:\\$renderer \\(PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\AbstractRenderer\\) does not accept object\\.$#"
  889. count: 1
  890. path: src/PhpWord/Writer/PDF.php
  891. -
  892. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF\\:\\:loadHtml\\(\\)\\.$#"
  893. count: 1
  894. path: src/PhpWord/Writer/PDF/DomPDF.php
  895. -
  896. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF\\:\\:output\\(\\)\\.$#"
  897. count: 1
  898. path: src/PhpWord/Writer/PDF/DomPDF.php
  899. -
  900. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF\\:\\:render\\(\\)\\.$#"
  901. count: 1
  902. path: src/PhpWord/Writer/PDF/DomPDF.php
  903. -
  904. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF\\:\\:setPaper\\(\\)\\.$#"
  905. count: 1
  906. path: src/PhpWord/Writer/PDF/DomPDF.php
  907. -
  908. message: "#^Class PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF referenced with incorrect case\\: PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\Dompdf\\.$#"
  909. count: 1
  910. path: src/PhpWord/Writer/PDF/DomPDF.php
  911. -
  912. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF\\:\\:createExternalWriterInstance\\(\\) should return PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\\\DomPDF but returns Dompdf\\\\Dompdf\\.$#"
  913. count: 1
  914. path: src/PhpWord/Writer/PDF/DomPDF.php
  915. -
  916. message: "#^Binary operation \"\\+\" between int\\|string and 1 results in an error\\.$#"
  917. count: 1
  918. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  919. -
  920. message: "#^Parameter \\#1 \\$value of method PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Style\\\\Font\\:\\:setNameIndex\\(\\) expects int, int\\|string given\\.$#"
  921. count: 1
  922. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  923. -
  924. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\AbstractElement\\:\\:\\$fontStyle \\(PhpOffice\\\\PhpWord\\\\Style\\\\Font\\) does not accept PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\|null\\.$#"
  925. count: 1
  926. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  927. -
  928. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\AbstractElement\\:\\:\\$fontStyle \\(PhpOffice\\\\PhpWord\\\\Style\\\\Font\\) does not accept PhpOffice\\\\PhpWord\\\\Style\\\\Font\\|string\\.$#"
  929. count: 1
  930. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  931. -
  932. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\AbstractElement\\:\\:\\$paragraphStyle \\(PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\) does not accept PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\|null\\.$#"
  933. count: 1
  934. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  935. -
  936. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\AbstractElement\\:\\:\\$paragraphStyle \\(PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\) does not accept PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\|string\\.$#"
  937. count: 1
  938. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  939. -
  940. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\AbstractElement\\:\\:\\$paragraphStyle \\(PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\) does not accept null\\.$#"
  941. count: 2
  942. path: src/PhpWord/Writer/RTF/Element/AbstractElement.php
  943. -
  944. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\Field\\:\\:write\\(\\) should return string but empty return statement found\\.$#"
  945. count: 1
  946. path: src/PhpWord/Writer/RTF/Element/Field.php
  947. -
  948. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\Field\\:\\:writeDate\\(\\) has no return type specified\\.$#"
  949. count: 1
  950. path: src/PhpWord/Writer/RTF/Element/Field.php
  951. -
  952. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\Field\\:\\:writeNumpages\\(\\) has no return type specified\\.$#"
  953. count: 1
  954. path: src/PhpWord/Writer/RTF/Element/Field.php
  955. -
  956. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\RTF\\\\Element\\\\Field\\:\\:writePage\\(\\) has no return type specified\\.$#"
  957. count: 1
  958. path: src/PhpWord/Writer/RTF/Element/Field.php
  959. -
  960. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getImageStringData\\(\\)\\.$#"
  961. count: 1
  962. path: src/PhpWord/Writer/RTF/Element/Image.php
  963. -
  964. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getStyle\\(\\)\\.$#"
  965. count: 1
  966. path: src/PhpWord/Writer/RTF/Element/Image.php
  967. -
  968. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getSource\\(\\)\\.$#"
  969. count: 1
  970. path: src/PhpWord/Writer/RTF/Element/Link.php
  971. -
  972. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getText\\(\\)\\.$#"
  973. count: 1
  974. path: src/PhpWord/Writer/RTF/Element/Link.php
  975. -
  976. message: "#^Call to an undefined method object\\:\\:write\\(\\)\\.$#"
  977. count: 2
  978. path: src/PhpWord/Writer/RTF/Part/Document.php
  979. -
  980. message: "#^Binary operation \"\\+\" between int\\|string and 1 results in an error\\.$#"
  981. count: 1
  982. path: src/PhpWord/Writer/RTF/Style/Border.php
  983. -
  984. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\AbstractElement\\:\\:write\\(\\) has no return type specified\\.$#"
  985. count: 1
  986. path: src/PhpWord/Writer/Word2007/Element/AbstractElement.php
  987. -
  988. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\Field\\:\\:buildPropertiesAndOptions\\(\\) has no return type specified\\.$#"
  989. count: 1
  990. path: src/PhpWord/Writer/Word2007/Element/Field.php
  991. -
  992. message: "#^Parameter \\#1 \\$content of method PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\AbstractElement\\:\\:writeText\\(\\) expects string, bool\\|int\\|string given\\.$#"
  993. count: 1
  994. path: src/PhpWord/Writer/Word2007/Element/FormField.php
  995. -
  996. message: "#^Parameter \\#3 \\$value of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:writeElementBlock\\(\\) expects string\\|null, bool\\|int\\|string given\\.$#"
  997. count: 3
  998. path: src/PhpWord/Writer/Word2007/Element/FormField.php
  999. -
  1000. message: "#^Parameter \\#3 \\$value of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:writeElementBlock\\(\\) expects string\\|null, int given\\.$#"
  1001. count: 4
  1002. path: src/PhpWord/Writer/Word2007/Element/FormField.php
  1003. -
  1004. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\ParagraphAlignment\\:\\:\\$attributes has no type specified\\.$#"
  1005. count: 1
  1006. path: src/PhpWord/Writer/Word2007/Element/ParagraphAlignment.php
  1007. -
  1008. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\ParagraphAlignment\\:\\:\\$name has no type specified\\.$#"
  1009. count: 1
  1010. path: src/PhpWord/Writer/Word2007/Element/ParagraphAlignment.php
  1011. -
  1012. message: "#^Parameter \\#2 \\$content of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:writeElement\\(\\) expects string\\|null, bool\\|int\\|string given\\.$#"
  1013. count: 1
  1014. path: src/PhpWord/Writer/Word2007/Element/SDT.php
  1015. -
  1016. message: "#^Parameter \\#3 \\$value of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:writeElementBlock\\(\\) expects string\\|null, int\\<100000000, 999999999\\> given\\.$#"
  1017. count: 1
  1018. path: src/PhpWord/Writer/Word2007/Element/SDT.php
  1019. -
  1020. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\TableAlignment\\:\\:\\$attributes has no type specified\\.$#"
  1021. count: 1
  1022. path: src/PhpWord/Writer/Word2007/Element/TableAlignment.php
  1023. -
  1024. message: "#^Property PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Element\\\\TableAlignment\\:\\:\\$name has no type specified\\.$#"
  1025. count: 1
  1026. path: src/PhpWord/Writer/Word2007/Element/TableAlignment.php
  1027. -
  1028. message: "#^Method PhpOffice\\\\PhpWord\\\\PhpWord\\:\\:addBookmark\\(\\) invoked with 0 parameters, 1 required\\.$#"
  1029. count: 1
  1030. path: src/PhpWord/Writer/Word2007/Element/Title.php
  1031. -
  1032. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Part\\\\Chart\\:\\:writeAxisTitle\\(\\) has parameter \\$title with no type specified\\.$#"
  1033. count: 1
  1034. path: src/PhpWord/Writer/Word2007/Part/Chart.php
  1035. -
  1036. message: "#^Parameter \\#3 \\$value of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:writeElementBlock\\(\\) expects string\\|null, int given\\.$#"
  1037. count: 9
  1038. path: src/PhpWord/Writer/Word2007/Part/Chart.php
  1039. -
  1040. message: "#^Parameter \\#3 \\$value of method PhpOffice\\\\PhpWord\\\\Shared\\\\XMLWriter\\:\\:writeElementBlock\\(\\) expects string\\|null, int\\<0, max\\> given\\.$#"
  1041. count: 4
  1042. path: src/PhpWord/Writer/Word2007/Part/Chart.php
  1043. -
  1044. message: "#^Parameter \\#1 \\$string of function md5 expects string, int\\<0, max\\> given\\.$#"
  1045. count: 1
  1046. path: src/PhpWord/Writer/Word2007/Part/Numbering.php
  1047. -
  1048. message: "#^Parameter \\#1 \\$haystack of function strpos expects string, int given\\.$#"
  1049. count: 1
  1050. path: src/PhpWord/Writer/Word2007/Part/Rels.php
  1051. -
  1052. message: "#^Method PhpOffice\\\\PhpWord\\\\Writer\\\\Word2007\\\\Style\\\\AbstractStyle\\:\\:write\\(\\) has no return type specified\\.$#"
  1053. count: 1
  1054. path: src/PhpWord/Writer/Word2007/Style/AbstractStyle.php
  1055. -
  1056. message: "#^Parameter \\#1 \\$styleName of static method PhpOffice\\\\PhpWord\\\\Style\\:\\:getStyle\\(\\) expects string, PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\|string given\\.$#"
  1057. count: 1
  1058. path: src/PhpWord/Writer/Word2007/Style/Font.php
  1059. -
  1060. message: "#^Call to an undefined method object\\:\\:read\\(\\)\\.$#"
  1061. count: 1
  1062. path: tests/PhpWordTests/AbstractTestReader.php
  1063. -
  1064. message: "#^Property PhpOffice\\\\PhpWordTests\\\\AbstractTestReader\\:\\:\\$parts has no type specified\\.$#"
  1065. count: 1
  1066. path: tests/PhpWordTests/AbstractTestReader.php
  1067. -
  1068. message: "#^Method PhpOffice\\\\PhpWordTests\\\\AbstractWebServerEmbedded\\:\\:getBaseUrl\\(\\) has no return type specified\\.$#"
  1069. count: 1
  1070. path: tests/PhpWordTests/AbstractWebServerEmbedded.php
  1071. -
  1072. message: "#^Method PhpOffice\\\\PhpWordTests\\\\AbstractWebServerEmbedded\\:\\:getRemoteBmpImageUrl\\(\\) has no return type specified\\.$#"
  1073. count: 1
  1074. path: tests/PhpWordTests/AbstractWebServerEmbedded.php
  1075. -
  1076. message: "#^Method PhpOffice\\\\PhpWordTests\\\\AbstractWebServerEmbedded\\:\\:getRemoteGifImageUrl\\(\\) has no return type specified\\.$#"
  1077. count: 1
  1078. path: tests/PhpWordTests/AbstractWebServerEmbedded.php
  1079. -
  1080. message: "#^Method PhpOffice\\\\PhpWordTests\\\\AbstractWebServerEmbedded\\:\\:getRemoteImageUrl\\(\\) has no return type specified\\.$#"
  1081. count: 1
  1082. path: tests/PhpWordTests/AbstractWebServerEmbedded.php
  1083. -
  1084. message: "#^Property PhpOffice\\\\PhpWordTests\\\\AbstractWebServerEmbedded\\:\\:\\$httpServer has no type specified\\.$#"
  1085. count: 1
  1086. path: tests/PhpWordTests/AbstractWebServerEmbedded.php
  1087. -
  1088. message: "#^Parameter \\#1 \\$width of class PhpOffice\\\\PhpWord\\\\Element\\\\Cell constructor expects int\\|null, string given\\.$#"
  1089. count: 2
  1090. path: tests/PhpWordTests/Element/CellTest.php
  1091. -
  1092. message: "#^Parameter \\#2 \\$style of class PhpOffice\\\\PhpWord\\\\Element\\\\Cell constructor expects array\\|PhpOffice\\\\PhpWord\\\\Style\\\\Cell\\|null, int given\\.$#"
  1093. count: 2
  1094. path: tests/PhpWordTests/Element/CellTest.php
  1095. -
  1096. message: "#^Parameter \\#1 \\$text of method PhpOffice\\\\PhpWord\\\\Element\\\\Field\\:\\:setText\\(\\) expects PhpOffice\\\\PhpWord\\\\Element\\\\TextRun\\|string\\|null, array given\\.$#"
  1097. count: 1
  1098. path: tests/PhpWordTests/Element/FieldTest.php
  1099. -
  1100. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Element\\\\ImageTest\\:\\:testImages\\(\\) has parameter \\$createFunction with no type specified\\.$#"
  1101. count: 1
  1102. path: tests/PhpWordTests/Element/ImageTest.php
  1103. -
  1104. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Element\\\\ImageTest\\:\\:testImages\\(\\) has parameter \\$extension with no type specified\\.$#"
  1105. count: 1
  1106. path: tests/PhpWordTests/Element/ImageTest.php
  1107. -
  1108. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Element\\\\ImageTest\\:\\:testImages\\(\\) has parameter \\$imageFunction with no type specified\\.$#"
  1109. count: 1
  1110. path: tests/PhpWordTests/Element/ImageTest.php
  1111. -
  1112. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Element\\\\ImageTest\\:\\:testImages\\(\\) has parameter \\$imageQuality with no type specified\\.$#"
  1113. count: 1
  1114. path: tests/PhpWordTests/Element/ImageTest.php
  1115. -
  1116. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Element\\\\ImageTest\\:\\:testImages\\(\\) has parameter \\$source with no type specified\\.$#"
  1117. count: 1
  1118. path: tests/PhpWordTests/Element/ImageTest.php
  1119. -
  1120. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Element\\\\ImageTest\\:\\:testImages\\(\\) has parameter \\$type with no type specified\\.$#"
  1121. count: 1
  1122. path: tests/PhpWordTests/Element/ImageTest.php
  1123. -
  1124. message: "#^Parameter \\#1 \\$source of class PhpOffice\\\\PhpWord\\\\Element\\\\Image constructor expects string, string\\|false given\\.$#"
  1125. count: 1
  1126. path: tests/PhpWordTests/Element/ImageTest.php
  1127. -
  1128. message: "#^Parameter \\#1 \\$string of function md5 expects string, string\\|false given\\.$#"
  1129. count: 1
  1130. path: tests/PhpWordTests/Element/ImageTest.php
  1131. -
  1132. message: "#^Parameter \\#1 \\$string of function ucfirst expects string, string\\|false given\\.$#"
  1133. count: 1
  1134. path: tests/PhpWordTests/Element/ImageTest.php
  1135. -
  1136. message: "#^Parameter \\#3 \\$watermark of class PhpOffice\\\\PhpWord\\\\Element\\\\Image constructor expects bool, null given\\.$#"
  1137. count: 1
  1138. path: tests/PhpWordTests/Element/ImageTest.php
  1139. -
  1140. message: "#^Parameter \\#2 \\$style of class PhpOffice\\\\PhpWord\\\\Element\\\\Section constructor expects array\\|PhpOffice\\\\PhpWord\\\\Style\\|string\\|null, PhpOffice\\\\PhpWord\\\\Style\\\\Section given\\.$#"
  1141. count: 1
  1142. path: tests/PhpWordTests/Element/SectionTest.php
  1143. -
  1144. message: "#^Parameter \\#1 \\$text of class PhpOffice\\\\PhpWord\\\\Element\\\\Title constructor expects PhpOffice\\\\PhpWord\\\\Element\\\\TextRun\\|string, PhpOffice\\\\PhpWord\\\\Element\\\\PageBreak given\\.$#"
  1145. count: 1
  1146. path: tests/PhpWordTests/Element/TitleTest.php
  1147. -
  1148. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Escaper\\\\RtfEscaper2Test\\:\\:escapestring\\(\\) has no return type specified\\.$#"
  1149. count: 1
  1150. path: tests/PhpWordTests/Escaper/RtfEscaper2Test.php
  1151. -
  1152. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Escaper\\\\RtfEscaper2Test\\:\\:escapestring\\(\\) has parameter \\$str with no type specified\\.$#"
  1153. count: 1
  1154. path: tests/PhpWordTests/Escaper/RtfEscaper2Test.php
  1155. -
  1156. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Escaper\\\\RtfEscaper2Test\\:\\:expect\\(\\) has no return type specified\\.$#"
  1157. count: 1
  1158. path: tests/PhpWordTests/Escaper/RtfEscaper2Test.php
  1159. -
  1160. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Escaper\\\\RtfEscaper2Test\\:\\:expect\\(\\) has parameter \\$str with no type specified\\.$#"
  1161. count: 1
  1162. path: tests/PhpWordTests/Escaper/RtfEscaper2Test.php
  1163. -
  1164. message: "#^Parameter \\#1 \\$expected of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\<object\\>, string given\\.$#"
  1165. count: 1
  1166. path: tests/PhpWordTests/IOFactoryTest.php
  1167. -
  1168. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1169. count: 1
  1170. path: tests/PhpWordTests/IOFactoryTest.php
  1171. -
  1172. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\PhpWord\\:\\:undefinedMethod\\(\\)\\.$#"
  1173. count: 1
  1174. path: tests/PhpWordTests/PhpWordTest.php
  1175. -
  1176. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getRows\\(\\)\\.$#"
  1177. count: 1
  1178. path: tests/PhpWordTests/Reader/Word2007/ElementTest.php
  1179. -
  1180. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getText\\(\\)\\.$#"
  1181. count: 1
  1182. path: tests/PhpWordTests/Reader/Word2007/ElementTest.php
  1183. -
  1184. message: "#^Cannot access offset 0 on PhpOffice\\\\PhpWord\\\\Element\\\\TextRun\\.$#"
  1185. count: 1
  1186. path: tests/PhpWordTests/Reader/Word2007/ElementTest.php
  1187. -
  1188. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getElement\\(\\)\\.$#"
  1189. count: 2
  1190. path: tests/PhpWordTests/Reader/Word2007/PartTest.php
  1191. -
  1192. message: "#^Cannot call method getElement\\(\\) on PhpOffice\\\\PhpWord\\\\Element\\\\TextRun\\|string\\.$#"
  1193. count: 3
  1194. path: tests/PhpWordTests/Reader/Word2007/PartTest.php
  1195. -
  1196. message: "#^Cannot call method isBold\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Font\\|string\\.$#"
  1197. count: 1
  1198. path: tests/PhpWordTests/Reader/Word2007/PartTest.php
  1199. -
  1200. message: "#^Variable \\$endnote in PHPDoc tag @var does not match assigned variable \\$documentEndnote\\.$#"
  1201. count: 1
  1202. path: tests/PhpWordTests/Reader/Word2007/PartTest.php
  1203. -
  1204. message: "#^Variable \\$footnote in PHPDoc tag @var does not match assigned variable \\$documentFootnote\\.$#"
  1205. count: 1
  1206. path: tests/PhpWordTests/Reader/Word2007/PartTest.php
  1207. -
  1208. message: "#^Cannot access offset 0 on PhpOffice\\\\PhpWord\\\\Element\\\\TextRun\\.$#"
  1209. count: 2
  1210. path: tests/PhpWordTests/Reader/Word2007/StyleTest.php
  1211. -
  1212. message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
  1213. count: 1
  1214. path: tests/PhpWordTests/SettingsTest.php
  1215. -
  1216. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1217. count: 1
  1218. path: tests/PhpWordTests/SettingsTest.php
  1219. -
  1220. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$compatibility has no type specified\\.$#"
  1221. count: 1
  1222. path: tests/PhpWordTests/SettingsTest.php
  1223. -
  1224. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$defaultFontName has no type specified\\.$#"
  1225. count: 1
  1226. path: tests/PhpWordTests/SettingsTest.php
  1227. -
  1228. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$defaultFontSize has no type specified\\.$#"
  1229. count: 1
  1230. path: tests/PhpWordTests/SettingsTest.php
  1231. -
  1232. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$defaultPaper has no type specified\\.$#"
  1233. count: 1
  1234. path: tests/PhpWordTests/SettingsTest.php
  1235. -
  1236. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$measurementUnit has no type specified\\.$#"
  1237. count: 1
  1238. path: tests/PhpWordTests/SettingsTest.php
  1239. -
  1240. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$outputEscapingEnabled has no type specified\\.$#"
  1241. count: 1
  1242. path: tests/PhpWordTests/SettingsTest.php
  1243. -
  1244. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$pdfRendererName has no type specified\\.$#"
  1245. count: 1
  1246. path: tests/PhpWordTests/SettingsTest.php
  1247. -
  1248. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$pdfRendererPath has no type specified\\.$#"
  1249. count: 1
  1250. path: tests/PhpWordTests/SettingsTest.php
  1251. -
  1252. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$tempDir has no type specified\\.$#"
  1253. count: 1
  1254. path: tests/PhpWordTests/SettingsTest.php
  1255. -
  1256. message: "#^Property PhpOffice\\\\PhpWordTests\\\\SettingsTest\\:\\:\\$zipClass has no type specified\\.$#"
  1257. count: 1
  1258. path: tests/PhpWordTests/SettingsTest.php
  1259. -
  1260. message: "#^Cannot call method getStyleName\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Table\\|string\\.$#"
  1261. count: 1
  1262. path: tests/PhpWordTests/Shared/HtmlTest.php
  1263. -
  1264. message: "#^Parameter \\#1 \\$number of static method PhpOffice\\\\PhpWord\\\\Shared\\\\Text\\:\\:numberFormat\\(\\) expects float, string given\\.$#"
  1265. count: 2
  1266. path: tests/PhpWordTests/Shared/TextTest.php
  1267. -
  1268. message: "#^Parameter \\#2 \\$locale of function setlocale expects array\\|string\\|null, int given\\.$#"
  1269. count: 1
  1270. path: tests/PhpWordTests/Shared/XMLWriterTest.php
  1271. -
  1272. message: "#^Parameter \\#2 \\$locale of function setlocale expects string\\|null, string\\|false given\\.$#"
  1273. count: 1
  1274. path: tests/PhpWordTests/Shared/XMLWriterTest.php
  1275. -
  1276. message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
  1277. count: 1
  1278. path: tests/PhpWordTests/Shared/ZipArchiveTest.php
  1279. -
  1280. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Style\\\\AbstractStyleTest\\:\\:callProtectedMethod\\(\\) has no return type specified\\.$#"
  1281. count: 1
  1282. path: tests/PhpWordTests/Style/AbstractStyleTest.php
  1283. -
  1284. message: "#^Parameter \\#1 \\$objectOrClass of class ReflectionClass constructor expects class\\-string\\<object\\>\\|object, class\\-string\\|false given\\.$#"
  1285. count: 1
  1286. path: tests/PhpWordTests/Style/AbstractStyleTest.php
  1287. -
  1288. message: "#^Cannot call method setLineHeight\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Font\\|string\\.$#"
  1289. count: 1
  1290. path: tests/PhpWordTests/Style/FontTest.php
  1291. -
  1292. message: "#^Parameter \\#1 \\$type of class PhpOffice\\\\PhpWord\\\\Style\\\\Font constructor expects string, null given\\.$#"
  1293. count: 1
  1294. path: tests/PhpWordTests/Style/FontTest.php
  1295. -
  1296. message: "#^Parameter \\#2 \\$value of method PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\:\\:setStyleValue\\(\\) expects array\\|int\\|string, null given\\.$#"
  1297. count: 1
  1298. path: tests/PhpWordTests/Style/FontTest.php
  1299. -
  1300. message: "#^Cannot call method setLineHeight\\(\\) on PhpOffice\\\\PhpWord\\\\Style\\\\Paragraph\\|string\\.$#"
  1301. count: 1
  1302. path: tests/PhpWordTests/Style/ParagraphTest.php
  1303. -
  1304. message: "#^Parameter \\#2 \\$value of method PhpOffice\\\\PhpWord\\\\Style\\\\AbstractStyle\\:\\:setStyleValue\\(\\) expects array\\|int\\|string, bool given\\.$#"
  1305. count: 1
  1306. path: tests/PhpWordTests/Style/RowTest.php
  1307. -
  1308. message: "#^Parameter \\#2 \\$value of method PhpOffice\\\\PhpWord\\\\Style\\\\Section\\:\\:setSettingValue\\(\\) expects array\\|int\\|string, null given\\.$#"
  1309. count: 1
  1310. path: tests/PhpWordTests/Style/SectionTest.php
  1311. -
  1312. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Element\\\\AbstractElement\\:\\:getText\\(\\)\\.$#"
  1313. count: 2
  1314. path: tests/PhpWordTests/TemplateProcessorTest.php
  1315. -
  1316. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Shared\\\\ZipArchive\\:\\:AddFromString\\(\\)\\.$#"
  1317. count: 1
  1318. path: tests/PhpWordTests/TemplateProcessorTest.php
  1319. -
  1320. message: "#^Cannot access offset 'end' on array\\<int\\>\\|bool\\.$#"
  1321. count: 2
  1322. path: tests/PhpWordTests/TemplateProcessorTest.php
  1323. -
  1324. message: "#^Cannot access offset 'start' on array\\<int\\>\\|bool\\.$#"
  1325. count: 2
  1326. path: tests/PhpWordTests/TemplateProcessorTest.php
  1327. -
  1328. message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#"
  1329. count: 6
  1330. path: tests/PhpWordTests/TemplateProcessorTest.php
  1331. -
  1332. message: "#^Parameter \\#2 \\$haystack of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringNotContainsString\\(\\) expects string, string\\|false given\\.$#"
  1333. count: 4
  1334. path: tests/PhpWordTests/TemplateProcessorTest.php
  1335. -
  1336. message: "#^Part \\$documentZip \\(ZipArchive\\) of encapsed string cannot be cast to string\\.$#"
  1337. count: 1
  1338. path: tests/PhpWordTests/TemplateProcessorTest.php
  1339. -
  1340. message: "#^Part \\$templateZip \\(ZipArchive\\) of encapsed string cannot be cast to string\\.$#"
  1341. count: 1
  1342. path: tests/PhpWordTests/TemplateProcessorTest.php
  1343. -
  1344. message: "#^Argument of an invalid type array\\<int, string\\>\\|false supplied for foreach, only iterables are supported\\.$#"
  1345. count: 1
  1346. path: tests/PhpWordTests/TestHelperDOCX.php
  1347. -
  1348. message: "#^Method PhpOffice\\\\PhpWordTests\\\\TestableTemplateProcesor\\:\\:__construct\\(\\) has parameter \\$mainPart with no type specified\\.$#"
  1349. count: 1
  1350. path: tests/PhpWordTests/TestableTemplateProcesor.php
  1351. -
  1352. message: "#^Method PhpOffice\\\\PhpWordTests\\\\TestableTemplateProcesor\\:\\:__construct\\(\\) has parameter \\$settingsPart with no type specified\\.$#"
  1353. count: 1
  1354. path: tests/PhpWordTests/TestableTemplateProcesor.php
  1355. -
  1356. message: "#^Cannot access property \\$length on DOMNodeList\\<DOMNode\\>\\|false\\.$#"
  1357. count: 9
  1358. path: tests/PhpWordTests/Writer/HTML/ElementTest.php
  1359. -
  1360. message: "#^Cannot access property \\$length on DOMNodeList\\<DOMNode\\>\\|false\\.$#"
  1361. count: 2
  1362. path: tests/PhpWordTests/Writer/HTML/Element/RubyTest.php
  1363. -
  1364. message: "#^Cannot call method item\\(\\) on DOMNodeList\\<DOMNode\\>\\|false\\.$#"
  1365. count: 11
  1366. path: tests/PhpWordTests/Writer/HTML/ElementTest.php
  1367. -
  1368. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1369. count: 3
  1370. path: tests/PhpWordTests/Writer/HTML/Element/PageBreakTest.php
  1371. -
  1372. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Writer\\\\ODText\\\\Style\\\\FontTest\\:\\:providerAllNamedColors\\(\\) has no return type specified\\.$#"
  1373. count: 1
  1374. path: tests/PhpWordTests/Writer/ODText/Style/FontTest.php
  1375. -
  1376. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:getFont\\(\\)\\.$#"
  1377. count: 2
  1378. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1379. -
  1380. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:getOrientation\\(\\)\\.$#"
  1381. count: 1
  1382. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1383. -
  1384. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:getPaperSize\\(\\)\\.$#"
  1385. count: 1
  1386. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1387. -
  1388. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:getTempDir\\(\\)\\.$#"
  1389. count: 1
  1390. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1391. -
  1392. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:setFont\\(\\)\\.$#"
  1393. count: 1
  1394. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1395. -
  1396. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:setOrientation\\(\\)\\.$#"
  1397. count: 1
  1398. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1399. -
  1400. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:setPaperSize\\(\\)\\.$#"
  1401. count: 1
  1402. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1403. -
  1404. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:setTempDir\\(\\)\\.$#"
  1405. count: 1
  1406. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1407. -
  1408. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1409. count: 3
  1410. path: tests/PhpWordTests/Writer/PDF/DomPDFTest.php
  1411. -
  1412. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:getFont\\(\\)\\.$#"
  1413. count: 1
  1414. path: tests/PhpWordTests/Writer/PDF/MPDFTest.php
  1415. -
  1416. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1417. count: 1
  1418. path: tests/PhpWordTests/Writer/PDF/MPDFTest.php
  1419. -
  1420. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1421. count: 2
  1422. path: tests/PhpWordTests/Writer/PDF/TCPDFTest.php
  1423. -
  1424. message: "#^Call to an undefined method PhpOffice\\\\PhpWord\\\\Writer\\\\PDF\\:\\:getFont\\(\\)\\.$#"
  1425. count: 1
  1426. path: tests/PhpWordTests/Writer/PDF/TCPDFTest.php
  1427. -
  1428. message: "#^Parameter \\#2 \\$libraryBaseDir of static method PhpOffice\\\\PhpWord\\\\Settings\\:\\:setPdfRenderer\\(\\) expects string, string\\|false given\\.$#"
  1429. count: 1
  1430. path: tests/PhpWordTests/Writer/PDFTest.php
  1431. -
  1432. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Writer\\\\RTF\\\\ElementTest\\:\\:removeCr\\(\\) has no return type specified\\.$#"
  1433. count: 1
  1434. path: tests/PhpWordTests/Writer/RTF/ElementTest.php
  1435. -
  1436. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Writer\\\\RTF\\\\ElementTest\\:\\:removeCr\\(\\) has parameter \\$field with no type specified\\.$#"
  1437. count: 1
  1438. path: tests/PhpWordTests/Writer/RTF/ElementTest.php
  1439. -
  1440. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Writer\\\\RTF\\\\StyleTest\\:\\:removeCr\\(\\) has no return type specified\\.$#"
  1441. count: 1
  1442. path: tests/PhpWordTests/Writer/RTF/StyleTest.php
  1443. -
  1444. message: "#^Method PhpOffice\\\\PhpWordTests\\\\Writer\\\\RTF\\\\StyleTest\\:\\:removeCr\\(\\) has parameter \\$field with no type specified\\.$#"
  1445. count: 1
  1446. path: tests/PhpWordTests/Writer/RTF/StyleTest.php
  1447. -
  1448. message: "#^Property PhpOffice\\\\PhpWordTests\\\\Writer\\\\Word2007\\\\Element\\\\ChartTest\\:\\:\\$outputEscapingEnabled has no type specified\\.$#"
  1449. count: 1
  1450. path: tests/PhpWordTests/Writer/Word2007/Element/ChartTest.php
  1451. -
  1452. message: "#^Call to an undefined method object\\:\\:write\\(\\)\\.$#"
  1453. count: 1
  1454. path: tests/PhpWordTests/Writer/Word2007/ElementTest.php
  1455. -
  1456. message: "#^Call to an undefined method object\\:\\:write\\(\\)\\.$#"
  1457. count: 1
  1458. path: tests/PhpWordTests/Writer/Word2007/StyleTest.php
  1459. -
  1460. message: "#^Method PhpOffice\\\\PhpWordTests\\\\XmlDocument\\:\\:getElement\\(\\) should return DOMElement\\|null but returns DOMNode\\|null\\.$#"
  1461. count: 1
  1462. path: tests/PhpWordTests/XmlDocument.php
  1463. -
  1464. message: "#^Method PhpOffice\\\\PhpWordTests\\\\XmlDocument\\:\\:getNodeList\\(\\) should return DOMNodeList\\<DOMNode\\> but returns DOMNodeList\\<DOMNode\\>\\|false\\.$#"
  1465. count: 1
  1466. path: tests/PhpWordTests/XmlDocument.php
  1467. -
  1468. message: "#^Property PhpOffice\\\\PhpWordTests\\\\XmlDocument\\:\\:\\$path \\(string\\) does not accept string\\|false\\.$#"
  1469. count: 1
  1470. path: tests/PhpWordTests/XmlDocument.php
  1471. -
  1472. message: "#^Property PhpOffice\\\\PhpWordTests\\\\XmlDocument\\:\\:\\$xpath \\(DOMXPath\\) does not accept null\\.$#"
  1473. count: 1
  1474. path: tests/PhpWordTests/XmlDocument.php