chillerlan-QRCodeTest-Data-QRMatrixTest.html 97 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  111. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-data.html">Data</a></li>
  112. </ul>
  113. <article class="phpdocumentor-element -class">
  114. <h2 class="phpdocumentor-content__title">
  115. QRMatrixTest
  116. <span class="phpdocumentor-element__extends">
  117. extends <abbr title="\PHPUnit\Framework\TestCase">TestCase</abbr>
  118. </span>
  119. <div class="phpdocumentor-element__package">
  120. in package
  121. <ul class="phpdocumentor-breadcrumbs">
  122. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  123. </ul>
  124. </div>
  125. <span class="phpdocumentor-element__extends">
  126. uses
  127. <a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html"><abbr title="\chillerlan\QRCodeTest\Traits\QRMatrixDebugTrait">QRMatrixDebugTrait</abbr></a> </span>
  128. </h2>
  129. <div class="phpdocumentor-label-line">
  130. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  131. </div>
  132. <aside class="phpdocumentor-element-found-in">
  133. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  134. :
  135. <span class="phpdocumentor-element-found-in__line">25</span>
  136. </aside>
  137. <p class="phpdocumentor-summary">Tests the QRMatrix class</p>
  138. <h3 id="toc">
  139. Table of Contents
  140. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  141. </h3>
  142. <h4 id="toc-constants">
  143. Constants
  144. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  145. </h4>
  146. <dl class="phpdocumentor-table-of-contents">
  147. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  148. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version">version</a>
  149. <span>
  150. &nbsp;= 40 </span>
  151. </dt>
  152. </dl>
  153. <h4 id="toc-properties">
  154. Properties
  155. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  156. </h4>
  157. <dl class="phpdocumentor-table-of-contents">
  158. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  159. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix">$matrix</a>
  160. <span>
  161. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  162. </dt>
  163. </dl>
  164. <h4 id="toc-methods">
  165. Methods
  166. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  167. </h4>
  168. <dl class="phpdocumentor-table-of-contents">
  169. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  170. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours">checkNeighbours()</a>
  171. <span>
  172. &nbsp;: void </span>
  173. </dt>
  174. <dd>Tests checking the adjacent modules</dd>
  175. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  176. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn">checkTypeIn()</a>
  177. <span>
  178. &nbsp;: void </span>
  179. </dt>
  180. <dd>Tests checking whether the M_TYPE of a module is not one of an array of M_TYPES</dd>
  181. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  182. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip">flip()</a>
  183. <span>
  184. &nbsp;: void </span>
  185. </dt>
  186. <dd>Tests flipping the value of a module</dd>
  187. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  188. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC">getECC()</a>
  189. <span>
  190. &nbsp;: void </span>
  191. </dt>
  192. <dd>Tests if eccLevel() returns the current (given) ECC level</dd>
  193. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  194. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern">getMaskPattern()</a>
  195. <span>
  196. &nbsp;: void </span>
  197. </dt>
  198. <dd>Tests if maskPattern() returns the current (or default) mask pattern</dd>
  199. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  200. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck">getSetCheck()</a>
  201. <span>
  202. &nbsp;: void </span>
  203. </dt>
  204. <dd>Tests the set(), get() and check() methods</dd>
  205. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  206. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize">getSize()</a>
  207. <span>
  208. &nbsp;: void </span>
  209. </dt>
  210. <dd>Tests if size() returns the actual matrix size/count</dd>
  211. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  212. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion">getVersion()</a>
  213. <span>
  214. &nbsp;: void </span>
  215. </dt>
  216. <dd>Tests if version() returns the current (given) version</dd>
  217. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  218. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider">matrixProvider()</a>
  219. <span>
  220. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  221. </dt>
  222. <dd>Version data provider for several pattern tests</dd>
  223. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  224. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90">rotate90()</a>
  225. <span>
  226. &nbsp;: void </span>
  227. </dt>
  228. <dd>Tests rotating the matrix by 90 degrees CW</dd>
  229. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  230. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern">setAlignmentPattern()</a>
  231. <span>
  232. &nbsp;: void </span>
  233. </dt>
  234. <dd>Tests the alignment patterns and verifies their positions - version 1 (no pattern) skipped</dd>
  235. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  236. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule">setDarkModule()</a>
  237. <span>
  238. &nbsp;: void </span>
  239. </dt>
  240. <dd>Tests setting the dark module and verifies its position</dd>
  241. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  242. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern">setFinderPattern()</a>
  243. <span>
  244. &nbsp;: void </span>
  245. </dt>
  246. <dd>Tests setting the finder patterns and verifies their positions</dd>
  247. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  248. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo">setFormatInfo()</a>
  249. <span>
  250. &nbsp;: void </span>
  251. </dt>
  252. <dd>Tests the format patterns and verifies their positions</dd>
  253. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  254. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException">setLogoSpaceExceedsException()</a>
  255. <span>
  256. &nbsp;: void </span>
  257. </dt>
  258. <dd>Tests whether an exception is thrown when width or height exceed the matrix size</dd>
  259. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  260. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException">setLogoSpaceInvalidEccException()</a>
  261. <span>
  262. &nbsp;: void </span>
  263. </dt>
  264. <dd>Tests whether an exception is thrown when an ECC level other than &quot;H&quot; is set when attempting to add logo space</dd>
  265. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  266. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException">setLogoSpaceMaxSizeException()</a>
  267. <span>
  268. &nbsp;: void </span>
  269. </dt>
  270. <dd>Tests whether an exception is thrown when the logo space size exceeds the maximum ECC capacity</dd>
  271. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  272. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension">setLogoSpaceOmitDimension()</a>
  273. <span>
  274. &nbsp;: void </span>
  275. </dt>
  276. <dd>Tests if the logo space is drawn square if one of the dimensions is omitted</dd>
  277. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  278. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation">setLogoSpaceOrientation()</a>
  279. <span>
  280. &nbsp;: void </span>
  281. </dt>
  282. <dd>Tests the auto orientation of the logo space</dd>
  283. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  284. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition">setLogoSpacePosition()</a>
  285. <span>
  286. &nbsp;: void </span>
  287. </dt>
  288. <dd>Tests the manual positioning of the logo space</dd>
  289. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  290. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone">setQuietZone()</a>
  291. <span>
  292. &nbsp;: void </span>
  293. </dt>
  294. <dd>Tests the quiet zone pattern and verifies its position</dd>
  295. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  296. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException">setQuietZoneException()</a>
  297. <span>
  298. &nbsp;: void </span>
  299. </dt>
  300. <dd>Tests if an exception is thrown in an attempt to create the quiet zone before data was written</dd>
  301. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  302. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators">setSeparators()</a>
  303. <span>
  304. &nbsp;: void </span>
  305. </dt>
  306. <dd>Tests the separator patterns and verifies their positions</dd>
  307. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  308. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern">setTimingPattern()</a>
  309. <span>
  310. &nbsp;: void </span>
  311. </dt>
  312. <dd>Tests the timing patterns and verifies their positions</dd>
  313. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  314. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber">setVersionNumber()</a>
  315. <span>
  316. &nbsp;: void </span>
  317. </dt>
  318. <dd>Tests the version patterns and verifies their positions - version &lt; 7 skipped</dd>
  319. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  320. <a class="" href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a>
  321. <span>
  322. &nbsp;: void </span>
  323. </dt>
  324. <dd>Matrix debugging console output</dd>
  325. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  326. <a class="" href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm">dm()</a>
  327. <span>
  328. &nbsp;: void </span>
  329. </dt>
  330. <dd>debugging shortcut - limit to a single version when using with matrixProvider</dd>
  331. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  332. <a class="" href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp">setUp()</a>
  333. <span>
  334. &nbsp;: void </span>
  335. </dt>
  336. <dd>invokes a QRMatrix object</dd>
  337. </dl>
  338. <section class="phpdocumentor-constants">
  339. <h3 class="phpdocumentor-elements__header" id="constants">
  340. Constants
  341. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  342. </h3>
  343. <article class="phpdocumentor-element -constant -private ">
  344. <h4 class="phpdocumentor-element__name" id="constant_version">
  345. version
  346. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version" class="headerlink"><i class="fas fa-link"></i></a>
  347. </h4>
  348. <aside class="phpdocumentor-element-found-in">
  349. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  350. :
  351. <span class="phpdocumentor-element-found-in__line">28</span>
  352. </aside>
  353. <code class="phpdocumentor-signature phpdocumentor-code ">
  354. <span class="phpdocumentor-signature__visibility">private</span>
  355. <span class="phpdocumentor-signature__type">mixed</span>
  356. <span class="phpdocumentor-signature__name">version</span>
  357. = <span class="phpdocumentor-signature__default-value">40</span>
  358. </code>
  359. </article>
  360. </section>
  361. <section class="phpdocumentor-properties">
  362. <h3 class="phpdocumentor-elements__header" id="properties">
  363. Properties
  364. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  365. </h3>
  366. <article
  367. class="
  368. phpdocumentor-element
  369. -property
  370. -private
  371. "
  372. >
  373. <h4 class="phpdocumentor-element__name" id="property_matrix">
  374. $matrix
  375. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  376. <span class="phpdocumentor-element__modifiers">
  377. </span>
  378. </h4>
  379. <aside class="phpdocumentor-element-found-in">
  380. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  381. :
  382. <span class="phpdocumentor-element-found-in__line">29</span>
  383. </aside>
  384. <code class="phpdocumentor-code phpdocumentor-signature ">
  385. <span class="phpdocumentor-signature__visibility">private</span>
  386. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  387. <span class="phpdocumentor-signature__name">$matrix</span>
  388. </code>
  389. </article>
  390. </section>
  391. <section class="phpdocumentor-methods">
  392. <h3 class="phpdocumentor-elements__header" id="methods">
  393. Methods
  394. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  395. </h3>
  396. <article
  397. class="phpdocumentor-element
  398. -method
  399. -public
  400. "
  401. >
  402. <h4 class="phpdocumentor-element__name" id="method_checkNeighbours">
  403. checkNeighbours()
  404. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours" class="headerlink"><i class="fas fa-link"></i></a>
  405. </h4>
  406. <aside class="phpdocumentor-element-found-in">
  407. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  408. :
  409. <span class="phpdocumentor-element-found-in__line">488</span>
  410. </aside>
  411. <p class="phpdocumentor-summary">Tests checking the adjacent modules</p>
  412. <code class="phpdocumentor-code phpdocumentor-signature ">
  413. <span class="phpdocumentor-signature__visibility">public</span>
  414. <span class="phpdocumentor-signature__name">checkNeighbours</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  415. <div class="phpdocumentor-label-line">
  416. </div>
  417. <section class="phpdocumentor-attributes">
  418. <h5 class="phpdocumentor-elements__header" id="attributes">
  419. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  420. </h5>
  421. <dl class="phpdocumentor-argument-list">
  422. <dt class="phpdocumentor-argument-list__entry">
  423. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  424. </dt>
  425. </dl>
  426. </section>
  427. </article>
  428. <article
  429. class="phpdocumentor-element
  430. -method
  431. -public
  432. "
  433. >
  434. <h4 class="phpdocumentor-element__name" id="method_checkTypeIn">
  435. checkTypeIn()
  436. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn" class="headerlink"><i class="fas fa-link"></i></a>
  437. </h4>
  438. <aside class="phpdocumentor-element-found-in">
  439. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  440. :
  441. <span class="phpdocumentor-element-found-in__line">477</span>
  442. </aside>
  443. <p class="phpdocumentor-summary">Tests checking whether the M_TYPE of a module is not one of an array of M_TYPES</p>
  444. <code class="phpdocumentor-code phpdocumentor-signature ">
  445. <span class="phpdocumentor-signature__visibility">public</span>
  446. <span class="phpdocumentor-signature__name">checkTypeIn</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  447. <div class="phpdocumentor-label-line">
  448. </div>
  449. <section class="phpdocumentor-attributes">
  450. <h5 class="phpdocumentor-elements__header" id="attributes">
  451. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  452. </h5>
  453. <dl class="phpdocumentor-argument-list">
  454. <dt class="phpdocumentor-argument-list__entry">
  455. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  456. </dt>
  457. </dl>
  458. </section>
  459. </article>
  460. <article
  461. class="phpdocumentor-element
  462. -method
  463. -public
  464. "
  465. >
  466. <h4 class="phpdocumentor-element__name" id="method_flip">
  467. flip()
  468. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip" class="headerlink"><i class="fas fa-link"></i></a>
  469. </h4>
  470. <aside class="phpdocumentor-element-found-in">
  471. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  472. :
  473. <span class="phpdocumentor-element-found-in__line">456</span>
  474. </aside>
  475. <p class="phpdocumentor-summary">Tests flipping the value of a module</p>
  476. <code class="phpdocumentor-code phpdocumentor-signature ">
  477. <span class="phpdocumentor-signature__visibility">public</span>
  478. <span class="phpdocumentor-signature__name">flip</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  479. <div class="phpdocumentor-label-line">
  480. </div>
  481. <section class="phpdocumentor-attributes">
  482. <h5 class="phpdocumentor-elements__header" id="attributes">
  483. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  484. </h5>
  485. <dl class="phpdocumentor-argument-list">
  486. <dt class="phpdocumentor-argument-list__entry">
  487. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  488. </dt>
  489. </dl>
  490. </section>
  491. </article>
  492. <article
  493. class="phpdocumentor-element
  494. -method
  495. -public
  496. "
  497. >
  498. <h4 class="phpdocumentor-element__name" id="method_getECC">
  499. getECC()
  500. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC" class="headerlink"><i class="fas fa-link"></i></a>
  501. </h4>
  502. <aside class="phpdocumentor-element-found-in">
  503. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  504. :
  505. <span class="phpdocumentor-element-found-in__line">60</span>
  506. </aside>
  507. <p class="phpdocumentor-summary">Tests if eccLevel() returns the current (given) ECC level</p>
  508. <code class="phpdocumentor-code phpdocumentor-signature ">
  509. <span class="phpdocumentor-signature__visibility">public</span>
  510. <span class="phpdocumentor-signature__name">getECC</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  511. <div class="phpdocumentor-label-line">
  512. </div>
  513. <section class="phpdocumentor-attributes">
  514. <h5 class="phpdocumentor-elements__header" id="attributes">
  515. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  516. </h5>
  517. <dl class="phpdocumentor-argument-list">
  518. <dt class="phpdocumentor-argument-list__entry">
  519. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  520. </dt>
  521. </dl>
  522. </section>
  523. </article>
  524. <article
  525. class="phpdocumentor-element
  526. -method
  527. -public
  528. "
  529. >
  530. <h4 class="phpdocumentor-element__name" id="method_getMaskPattern">
  531. getMaskPattern()
  532. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  533. </h4>
  534. <aside class="phpdocumentor-element-found-in">
  535. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  536. :
  537. <span class="phpdocumentor-element-found-in__line">68</span>
  538. </aside>
  539. <p class="phpdocumentor-summary">Tests if maskPattern() returns the current (or default) mask pattern</p>
  540. <code class="phpdocumentor-code phpdocumentor-signature ">
  541. <span class="phpdocumentor-signature__visibility">public</span>
  542. <span class="phpdocumentor-signature__name">getMaskPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  543. <div class="phpdocumentor-label-line">
  544. </div>
  545. <section class="phpdocumentor-attributes">
  546. <h5 class="phpdocumentor-elements__header" id="attributes">
  547. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  548. </h5>
  549. <dl class="phpdocumentor-argument-list">
  550. <dt class="phpdocumentor-argument-list__entry">
  551. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  552. </dt>
  553. </dl>
  554. </section>
  555. </article>
  556. <article
  557. class="phpdocumentor-element
  558. -method
  559. -public
  560. "
  561. >
  562. <h4 class="phpdocumentor-element__name" id="method_getSetCheck">
  563. getSetCheck()
  564. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck" class="headerlink"><i class="fas fa-link"></i></a>
  565. </h4>
  566. <aside class="phpdocumentor-element-found-in">
  567. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  568. :
  569. <span class="phpdocumentor-element-found-in__line">80</span>
  570. </aside>
  571. <p class="phpdocumentor-summary">Tests the set(), get() and check() methods</p>
  572. <code class="phpdocumentor-code phpdocumentor-signature ">
  573. <span class="phpdocumentor-signature__visibility">public</span>
  574. <span class="phpdocumentor-signature__name">getSetCheck</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  575. <div class="phpdocumentor-label-line">
  576. </div>
  577. <section class="phpdocumentor-attributes">
  578. <h5 class="phpdocumentor-elements__header" id="attributes">
  579. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  580. </h5>
  581. <dl class="phpdocumentor-argument-list">
  582. <dt class="phpdocumentor-argument-list__entry">
  583. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  584. </dt>
  585. </dl>
  586. </section>
  587. </article>
  588. <article
  589. class="phpdocumentor-element
  590. -method
  591. -public
  592. "
  593. >
  594. <h4 class="phpdocumentor-element__name" id="method_getSize">
  595. getSize()
  596. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize" class="headerlink"><i class="fas fa-link"></i></a>
  597. </h4>
  598. <aside class="phpdocumentor-element-found-in">
  599. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  600. :
  601. <span class="phpdocumentor-element-found-in__line">44</span>
  602. </aside>
  603. <p class="phpdocumentor-summary">Tests if size() returns the actual matrix size/count</p>
  604. <code class="phpdocumentor-code phpdocumentor-signature ">
  605. <span class="phpdocumentor-signature__visibility">public</span>
  606. <span class="phpdocumentor-signature__name">getSize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  607. <div class="phpdocumentor-label-line">
  608. </div>
  609. <section class="phpdocumentor-attributes">
  610. <h5 class="phpdocumentor-elements__header" id="attributes">
  611. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  612. </h5>
  613. <dl class="phpdocumentor-argument-list">
  614. <dt class="phpdocumentor-argument-list__entry">
  615. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  616. </dt>
  617. </dl>
  618. </section>
  619. </article>
  620. <article
  621. class="phpdocumentor-element
  622. -method
  623. -public
  624. "
  625. >
  626. <h4 class="phpdocumentor-element__name" id="method_getVersion">
  627. getVersion()
  628. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion" class="headerlink"><i class="fas fa-link"></i></a>
  629. </h4>
  630. <aside class="phpdocumentor-element-found-in">
  631. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  632. :
  633. <span class="phpdocumentor-element-found-in__line">52</span>
  634. </aside>
  635. <p class="phpdocumentor-summary">Tests if version() returns the current (given) version</p>
  636. <code class="phpdocumentor-code phpdocumentor-signature ">
  637. <span class="phpdocumentor-signature__visibility">public</span>
  638. <span class="phpdocumentor-signature__name">getVersion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  639. <div class="phpdocumentor-label-line">
  640. </div>
  641. <section class="phpdocumentor-attributes">
  642. <h5 class="phpdocumentor-elements__header" id="attributes">
  643. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  644. </h5>
  645. <dl class="phpdocumentor-argument-list">
  646. <dt class="phpdocumentor-argument-list__entry">
  647. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  648. </dt>
  649. </dl>
  650. </section>
  651. </article>
  652. <article
  653. class="phpdocumentor-element
  654. -method
  655. -public
  656. -static "
  657. >
  658. <h4 class="phpdocumentor-element__name" id="method_matrixProvider">
  659. matrixProvider()
  660. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider" class="headerlink"><i class="fas fa-link"></i></a>
  661. </h4>
  662. <aside class="phpdocumentor-element-found-in">
  663. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  664. :
  665. <span class="phpdocumentor-element-found-in__line">105</span>
  666. </aside>
  667. <p class="phpdocumentor-summary">Version data provider for several pattern tests</p>
  668. <code class="phpdocumentor-code phpdocumentor-signature ">
  669. <span class="phpdocumentor-signature__visibility">public</span>
  670. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">matrixProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
  671. <div class="phpdocumentor-label-line">
  672. </div>
  673. <section>
  674. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  675. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  676. </section>
  677. </article>
  678. <article
  679. class="phpdocumentor-element
  680. -method
  681. -public
  682. "
  683. >
  684. <h4 class="phpdocumentor-element__name" id="method_rotate90">
  685. rotate90()
  686. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90" class="headerlink"><i class="fas fa-link"></i></a>
  687. </h4>
  688. <aside class="phpdocumentor-element-found-in">
  689. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  690. :
  691. <span class="phpdocumentor-element-found-in__line">301</span>
  692. </aside>
  693. <p class="phpdocumentor-summary">Tests rotating the matrix by 90 degrees CW</p>
  694. <code class="phpdocumentor-code phpdocumentor-signature ">
  695. <span class="phpdocumentor-signature__visibility">public</span>
  696. <span class="phpdocumentor-signature__name">rotate90</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  697. <div class="phpdocumentor-label-line">
  698. </div>
  699. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  700. <dl class="phpdocumentor-argument-list">
  701. <dt class="phpdocumentor-argument-list__entry">
  702. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  703. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  704. </dt>
  705. <dd class="phpdocumentor-argument-list__definition">
  706. </dd>
  707. </dl>
  708. <section class="phpdocumentor-attributes">
  709. <h5 class="phpdocumentor-elements__header" id="attributes">
  710. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  711. </h5>
  712. <dl class="phpdocumentor-argument-list">
  713. <dt class="phpdocumentor-argument-list__entry">
  714. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  715. </dt>
  716. <dd class="phpdocumentor-argument-list__entry">
  717. &#039;matrixProvider&#039;
  718. </dd>
  719. </dl>
  720. <dl class="phpdocumentor-argument-list">
  721. <dt class="phpdocumentor-argument-list__entry">
  722. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  723. </dt>
  724. </dl>
  725. </section>
  726. </article>
  727. <article
  728. class="phpdocumentor-element
  729. -method
  730. -public
  731. "
  732. >
  733. <h4 class="phpdocumentor-element__name" id="method_setAlignmentPattern">
  734. setAlignmentPattern()
  735. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern" class="headerlink"><i class="fas fa-link"></i></a>
  736. </h4>
  737. <aside class="phpdocumentor-element-found-in">
  738. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  739. :
  740. <span class="phpdocumentor-element-found-in__line">160</span>
  741. </aside>
  742. <p class="phpdocumentor-summary">Tests the alignment patterns and verifies their positions - version 1 (no pattern) skipped</p>
  743. <code class="phpdocumentor-code phpdocumentor-signature ">
  744. <span class="phpdocumentor-signature__visibility">public</span>
  745. <span class="phpdocumentor-signature__name">setAlignmentPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  746. <div class="phpdocumentor-label-line">
  747. </div>
  748. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  749. <dl class="phpdocumentor-argument-list">
  750. <dt class="phpdocumentor-argument-list__entry">
  751. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  752. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  753. </dt>
  754. <dd class="phpdocumentor-argument-list__definition">
  755. </dd>
  756. </dl>
  757. <section class="phpdocumentor-attributes">
  758. <h5 class="phpdocumentor-elements__header" id="attributes">
  759. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  760. </h5>
  761. <dl class="phpdocumentor-argument-list">
  762. <dt class="phpdocumentor-argument-list__entry">
  763. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  764. </dt>
  765. <dd class="phpdocumentor-argument-list__entry">
  766. &#039;matrixProvider&#039;
  767. </dd>
  768. </dl>
  769. <dl class="phpdocumentor-argument-list">
  770. <dt class="phpdocumentor-argument-list__entry">
  771. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  772. </dt>
  773. </dl>
  774. </section>
  775. </article>
  776. <article
  777. class="phpdocumentor-element
  778. -method
  779. -public
  780. "
  781. >
  782. <h4 class="phpdocumentor-element__name" id="method_setDarkModule">
  783. setDarkModule()
  784. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule" class="headerlink"><i class="fas fa-link"></i></a>
  785. </h4>
  786. <aside class="phpdocumentor-element-found-in">
  787. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  788. :
  789. <span class="phpdocumentor-element-found-in__line">116</span>
  790. </aside>
  791. <p class="phpdocumentor-summary">Tests setting the dark module and verifies its position</p>
  792. <code class="phpdocumentor-code phpdocumentor-signature ">
  793. <span class="phpdocumentor-signature__visibility">public</span>
  794. <span class="phpdocumentor-signature__name">setDarkModule</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  795. <div class="phpdocumentor-label-line">
  796. </div>
  797. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  798. <dl class="phpdocumentor-argument-list">
  799. <dt class="phpdocumentor-argument-list__entry">
  800. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  801. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  802. </dt>
  803. <dd class="phpdocumentor-argument-list__definition">
  804. </dd>
  805. </dl>
  806. <section class="phpdocumentor-attributes">
  807. <h5 class="phpdocumentor-elements__header" id="attributes">
  808. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  809. </h5>
  810. <dl class="phpdocumentor-argument-list">
  811. <dt class="phpdocumentor-argument-list__entry">
  812. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  813. </dt>
  814. <dd class="phpdocumentor-argument-list__entry">
  815. &#039;matrixProvider&#039;
  816. </dd>
  817. </dl>
  818. <dl class="phpdocumentor-argument-list">
  819. <dt class="phpdocumentor-argument-list__entry">
  820. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  821. </dt>
  822. </dl>
  823. </section>
  824. </article>
  825. <article
  826. class="phpdocumentor-element
  827. -method
  828. -public
  829. "
  830. >
  831. <h4 class="phpdocumentor-element__name" id="method_setFinderPattern">
  832. setFinderPattern()
  833. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern" class="headerlink"><i class="fas fa-link"></i></a>
  834. </h4>
  835. <aside class="phpdocumentor-element-found-in">
  836. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  837. :
  838. <span class="phpdocumentor-element-found-in__line">129</span>
  839. </aside>
  840. <p class="phpdocumentor-summary">Tests setting the finder patterns and verifies their positions</p>
  841. <code class="phpdocumentor-code phpdocumentor-signature ">
  842. <span class="phpdocumentor-signature__visibility">public</span>
  843. <span class="phpdocumentor-signature__name">setFinderPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  844. <div class="phpdocumentor-label-line">
  845. </div>
  846. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  847. <dl class="phpdocumentor-argument-list">
  848. <dt class="phpdocumentor-argument-list__entry">
  849. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  850. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  851. </dt>
  852. <dd class="phpdocumentor-argument-list__definition">
  853. </dd>
  854. </dl>
  855. <section class="phpdocumentor-attributes">
  856. <h5 class="phpdocumentor-elements__header" id="attributes">
  857. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  858. </h5>
  859. <dl class="phpdocumentor-argument-list">
  860. <dt class="phpdocumentor-argument-list__entry">
  861. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  862. </dt>
  863. <dd class="phpdocumentor-argument-list__entry">
  864. &#039;matrixProvider&#039;
  865. </dd>
  866. </dl>
  867. <dl class="phpdocumentor-argument-list">
  868. <dt class="phpdocumentor-argument-list__entry">
  869. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  870. </dt>
  871. </dl>
  872. </section>
  873. </article>
  874. <article
  875. class="phpdocumentor-element
  876. -method
  877. -public
  878. "
  879. >
  880. <h4 class="phpdocumentor-element__name" id="method_setFormatInfo">
  881. setFormatInfo()
  882. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo" class="headerlink"><i class="fas fa-link"></i></a>
  883. </h4>
  884. <aside class="phpdocumentor-element-found-in">
  885. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  886. :
  887. <span class="phpdocumentor-element-found-in__line">242</span>
  888. </aside>
  889. <p class="phpdocumentor-summary">Tests the format patterns and verifies their positions</p>
  890. <code class="phpdocumentor-code phpdocumentor-signature ">
  891. <span class="phpdocumentor-signature__visibility">public</span>
  892. <span class="phpdocumentor-signature__name">setFormatInfo</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  893. <div class="phpdocumentor-label-line">
  894. </div>
  895. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  896. <dl class="phpdocumentor-argument-list">
  897. <dt class="phpdocumentor-argument-list__entry">
  898. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  899. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  900. </dt>
  901. <dd class="phpdocumentor-argument-list__definition">
  902. </dd>
  903. </dl>
  904. <section class="phpdocumentor-attributes">
  905. <h5 class="phpdocumentor-elements__header" id="attributes">
  906. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  907. </h5>
  908. <dl class="phpdocumentor-argument-list">
  909. <dt class="phpdocumentor-argument-list__entry">
  910. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  911. </dt>
  912. <dd class="phpdocumentor-argument-list__entry">
  913. &#039;matrixProvider&#039;
  914. </dd>
  915. </dl>
  916. <dl class="phpdocumentor-argument-list">
  917. <dt class="phpdocumentor-argument-list__entry">
  918. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  919. </dt>
  920. </dl>
  921. </section>
  922. </article>
  923. <article
  924. class="phpdocumentor-element
  925. -method
  926. -public
  927. "
  928. >
  929. <h4 class="phpdocumentor-element__name" id="method_setLogoSpaceExceedsException">
  930. setLogoSpaceExceedsException()
  931. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException" class="headerlink"><i class="fas fa-link"></i></a>
  932. </h4>
  933. <aside class="phpdocumentor-element-found-in">
  934. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  935. :
  936. <span class="phpdocumentor-element-found-in__line">426</span>
  937. </aside>
  938. <p class="phpdocumentor-summary">Tests whether an exception is thrown when width or height exceed the matrix size</p>
  939. <code class="phpdocumentor-code phpdocumentor-signature ">
  940. <span class="phpdocumentor-signature__visibility">public</span>
  941. <span class="phpdocumentor-signature__name">setLogoSpaceExceedsException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  942. <div class="phpdocumentor-label-line">
  943. </div>
  944. <section class="phpdocumentor-attributes">
  945. <h5 class="phpdocumentor-elements__header" id="attributes">
  946. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  947. </h5>
  948. <dl class="phpdocumentor-argument-list">
  949. <dt class="phpdocumentor-argument-list__entry">
  950. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  951. </dt>
  952. </dl>
  953. </section>
  954. </article>
  955. <article
  956. class="phpdocumentor-element
  957. -method
  958. -public
  959. "
  960. >
  961. <h4 class="phpdocumentor-element__name" id="method_setLogoSpaceInvalidEccException">
  962. setLogoSpaceInvalidEccException()
  963. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException" class="headerlink"><i class="fas fa-link"></i></a>
  964. </h4>
  965. <aside class="phpdocumentor-element-found-in">
  966. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  967. :
  968. <span class="phpdocumentor-element-found-in__line">415</span>
  969. </aside>
  970. <p class="phpdocumentor-summary">Tests whether an exception is thrown when an ECC level other than &quot;H&quot; is set when attempting to add logo space</p>
  971. <code class="phpdocumentor-code phpdocumentor-signature ">
  972. <span class="phpdocumentor-signature__visibility">public</span>
  973. <span class="phpdocumentor-signature__name">setLogoSpaceInvalidEccException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  974. <div class="phpdocumentor-label-line">
  975. </div>
  976. <section class="phpdocumentor-attributes">
  977. <h5 class="phpdocumentor-elements__header" id="attributes">
  978. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  979. </h5>
  980. <dl class="phpdocumentor-argument-list">
  981. <dt class="phpdocumentor-argument-list__entry">
  982. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  983. </dt>
  984. </dl>
  985. </section>
  986. </article>
  987. <article
  988. class="phpdocumentor-element
  989. -method
  990. -public
  991. "
  992. >
  993. <h4 class="phpdocumentor-element__name" id="method_setLogoSpaceMaxSizeException">
  994. setLogoSpaceMaxSizeException()
  995. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException" class="headerlink"><i class="fas fa-link"></i></a>
  996. </h4>
  997. <aside class="phpdocumentor-element-found-in">
  998. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  999. :
  1000. <span class="phpdocumentor-element-found-in__line">441</span>
  1001. </aside>
  1002. <p class="phpdocumentor-summary">Tests whether an exception is thrown when the logo space size exceeds the maximum ECC capacity</p>
  1003. <code class="phpdocumentor-code phpdocumentor-signature ">
  1004. <span class="phpdocumentor-signature__visibility">public</span>
  1005. <span class="phpdocumentor-signature__name">setLogoSpaceMaxSizeException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1006. <div class="phpdocumentor-label-line">
  1007. </div>
  1008. <section class="phpdocumentor-attributes">
  1009. <h5 class="phpdocumentor-elements__header" id="attributes">
  1010. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1011. </h5>
  1012. <dl class="phpdocumentor-argument-list">
  1013. <dt class="phpdocumentor-argument-list__entry">
  1014. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1015. </dt>
  1016. </dl>
  1017. </section>
  1018. </article>
  1019. <article
  1020. class="phpdocumentor-element
  1021. -method
  1022. -public
  1023. "
  1024. >
  1025. <h4 class="phpdocumentor-element__name" id="method_setLogoSpaceOmitDimension">
  1026. setLogoSpaceOmitDimension()
  1027. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension" class="headerlink"><i class="fas fa-link"></i></a>
  1028. </h4>
  1029. <aside class="phpdocumentor-element-found-in">
  1030. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1031. :
  1032. <span class="phpdocumentor-element-found-in__line">338</span>
  1033. </aside>
  1034. <p class="phpdocumentor-summary">Tests if the logo space is drawn square if one of the dimensions is omitted</p>
  1035. <code class="phpdocumentor-code phpdocumentor-signature ">
  1036. <span class="phpdocumentor-signature__visibility">public</span>
  1037. <span class="phpdocumentor-signature__name">setLogoSpaceOmitDimension</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1038. <div class="phpdocumentor-label-line">
  1039. </div>
  1040. <section class="phpdocumentor-attributes">
  1041. <h5 class="phpdocumentor-elements__header" id="attributes">
  1042. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1043. </h5>
  1044. <dl class="phpdocumentor-argument-list">
  1045. <dt class="phpdocumentor-argument-list__entry">
  1046. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1047. </dt>
  1048. </dl>
  1049. </section>
  1050. </article>
  1051. <article
  1052. class="phpdocumentor-element
  1053. -method
  1054. -public
  1055. "
  1056. >
  1057. <h4 class="phpdocumentor-element__name" id="method_setLogoSpaceOrientation">
  1058. setLogoSpaceOrientation()
  1059. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation" class="headerlink"><i class="fas fa-link"></i></a>
  1060. </h4>
  1061. <aside class="phpdocumentor-element-found-in">
  1062. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1063. :
  1064. <span class="phpdocumentor-element-found-in__line">361</span>
  1065. </aside>
  1066. <p class="phpdocumentor-summary">Tests the auto orientation of the logo space</p>
  1067. <code class="phpdocumentor-code phpdocumentor-signature ">
  1068. <span class="phpdocumentor-signature__visibility">public</span>
  1069. <span class="phpdocumentor-signature__name">setLogoSpaceOrientation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1070. <div class="phpdocumentor-label-line">
  1071. </div>
  1072. <section class="phpdocumentor-attributes">
  1073. <h5 class="phpdocumentor-elements__header" id="attributes">
  1074. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1075. </h5>
  1076. <dl class="phpdocumentor-argument-list">
  1077. <dt class="phpdocumentor-argument-list__entry">
  1078. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1079. </dt>
  1080. </dl>
  1081. </section>
  1082. </article>
  1083. <article
  1084. class="phpdocumentor-element
  1085. -method
  1086. -public
  1087. "
  1088. >
  1089. <h4 class="phpdocumentor-element__name" id="method_setLogoSpacePosition">
  1090. setLogoSpacePosition()
  1091. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition" class="headerlink"><i class="fas fa-link"></i></a>
  1092. </h4>
  1093. <aside class="phpdocumentor-element-found-in">
  1094. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1095. :
  1096. <span class="phpdocumentor-element-found-in__line">386</span>
  1097. </aside>
  1098. <p class="phpdocumentor-summary">Tests the manual positioning of the logo space</p>
  1099. <code class="phpdocumentor-code phpdocumentor-signature ">
  1100. <span class="phpdocumentor-signature__visibility">public</span>
  1101. <span class="phpdocumentor-signature__name">setLogoSpacePosition</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1102. <div class="phpdocumentor-label-line">
  1103. </div>
  1104. <section class="phpdocumentor-attributes">
  1105. <h5 class="phpdocumentor-elements__header" id="attributes">
  1106. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1107. </h5>
  1108. <dl class="phpdocumentor-argument-list">
  1109. <dt class="phpdocumentor-argument-list__entry">
  1110. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1111. </dt>
  1112. </dl>
  1113. </section>
  1114. </article>
  1115. <article
  1116. class="phpdocumentor-element
  1117. -method
  1118. -public
  1119. "
  1120. >
  1121. <h4 class="phpdocumentor-element__name" id="method_setQuietZone">
  1122. setQuietZone()
  1123. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone" class="headerlink"><i class="fas fa-link"></i></a>
  1124. </h4>
  1125. <aside class="phpdocumentor-element-found-in">
  1126. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1127. :
  1128. <span class="phpdocumentor-element-found-in__line">258</span>
  1129. </aside>
  1130. <p class="phpdocumentor-summary">Tests the quiet zone pattern and verifies its position</p>
  1131. <code class="phpdocumentor-code phpdocumentor-signature ">
  1132. <span class="phpdocumentor-signature__visibility">public</span>
  1133. <span class="phpdocumentor-signature__name">setQuietZone</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1134. <div class="phpdocumentor-label-line">
  1135. </div>
  1136. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1137. <dl class="phpdocumentor-argument-list">
  1138. <dt class="phpdocumentor-argument-list__entry">
  1139. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1140. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1141. </dt>
  1142. <dd class="phpdocumentor-argument-list__definition">
  1143. </dd>
  1144. </dl>
  1145. <section class="phpdocumentor-attributes">
  1146. <h5 class="phpdocumentor-elements__header" id="attributes">
  1147. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1148. </h5>
  1149. <dl class="phpdocumentor-argument-list">
  1150. <dt class="phpdocumentor-argument-list__entry">
  1151. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1152. </dt>
  1153. <dd class="phpdocumentor-argument-list__entry">
  1154. &#039;matrixProvider&#039;
  1155. </dd>
  1156. </dl>
  1157. <dl class="phpdocumentor-argument-list">
  1158. <dt class="phpdocumentor-argument-list__entry">
  1159. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1160. </dt>
  1161. </dl>
  1162. </section>
  1163. </article>
  1164. <article
  1165. class="phpdocumentor-element
  1166. -method
  1167. -public
  1168. "
  1169. >
  1170. <h4 class="phpdocumentor-element__name" id="method_setQuietZoneException">
  1171. setQuietZoneException()
  1172. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException" class="headerlink"><i class="fas fa-link"></i></a>
  1173. </h4>
  1174. <aside class="phpdocumentor-element-found-in">
  1175. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1176. :
  1177. <span class="phpdocumentor-element-found-in__line">290</span>
  1178. </aside>
  1179. <p class="phpdocumentor-summary">Tests if an exception is thrown in an attempt to create the quiet zone before data was written</p>
  1180. <code class="phpdocumentor-code phpdocumentor-signature ">
  1181. <span class="phpdocumentor-signature__visibility">public</span>
  1182. <span class="phpdocumentor-signature__name">setQuietZoneException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1183. <div class="phpdocumentor-label-line">
  1184. </div>
  1185. <section class="phpdocumentor-attributes">
  1186. <h5 class="phpdocumentor-elements__header" id="attributes">
  1187. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1188. </h5>
  1189. <dl class="phpdocumentor-argument-list">
  1190. <dt class="phpdocumentor-argument-list__entry">
  1191. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1192. </dt>
  1193. </dl>
  1194. </section>
  1195. </article>
  1196. <article
  1197. class="phpdocumentor-element
  1198. -method
  1199. -public
  1200. "
  1201. >
  1202. <h4 class="phpdocumentor-element__name" id="method_setSeparators">
  1203. setSeparators()
  1204. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators" class="headerlink"><i class="fas fa-link"></i></a>
  1205. </h4>
  1206. <aside class="phpdocumentor-element-found-in">
  1207. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1208. :
  1209. <span class="phpdocumentor-element-found-in__line">144</span>
  1210. </aside>
  1211. <p class="phpdocumentor-summary">Tests the separator patterns and verifies their positions</p>
  1212. <code class="phpdocumentor-code phpdocumentor-signature ">
  1213. <span class="phpdocumentor-signature__visibility">public</span>
  1214. <span class="phpdocumentor-signature__name">setSeparators</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1215. <div class="phpdocumentor-label-line">
  1216. </div>
  1217. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1218. <dl class="phpdocumentor-argument-list">
  1219. <dt class="phpdocumentor-argument-list__entry">
  1220. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1221. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1222. </dt>
  1223. <dd class="phpdocumentor-argument-list__definition">
  1224. </dd>
  1225. </dl>
  1226. <section class="phpdocumentor-attributes">
  1227. <h5 class="phpdocumentor-elements__header" id="attributes">
  1228. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1229. </h5>
  1230. <dl class="phpdocumentor-argument-list">
  1231. <dt class="phpdocumentor-argument-list__entry">
  1232. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1233. </dt>
  1234. <dd class="phpdocumentor-argument-list__entry">
  1235. &#039;matrixProvider&#039;
  1236. </dd>
  1237. </dl>
  1238. <dl class="phpdocumentor-argument-list">
  1239. <dt class="phpdocumentor-argument-list__entry">
  1240. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1241. </dt>
  1242. </dl>
  1243. </section>
  1244. </article>
  1245. <article
  1246. class="phpdocumentor-element
  1247. -method
  1248. -public
  1249. "
  1250. >
  1251. <h4 class="phpdocumentor-element__name" id="method_setTimingPattern">
  1252. setTimingPattern()
  1253. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1254. </h4>
  1255. <aside class="phpdocumentor-element-found-in">
  1256. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1257. :
  1258. <span class="phpdocumentor-element-found-in__line">192</span>
  1259. </aside>
  1260. <p class="phpdocumentor-summary">Tests the timing patterns and verifies their positions</p>
  1261. <code class="phpdocumentor-code phpdocumentor-signature ">
  1262. <span class="phpdocumentor-signature__visibility">public</span>
  1263. <span class="phpdocumentor-signature__name">setTimingPattern</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1264. <div class="phpdocumentor-label-line">
  1265. </div>
  1266. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1267. <dl class="phpdocumentor-argument-list">
  1268. <dt class="phpdocumentor-argument-list__entry">
  1269. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1270. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1271. </dt>
  1272. <dd class="phpdocumentor-argument-list__definition">
  1273. </dd>
  1274. </dl>
  1275. <section class="phpdocumentor-attributes">
  1276. <h5 class="phpdocumentor-elements__header" id="attributes">
  1277. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1278. </h5>
  1279. <dl class="phpdocumentor-argument-list">
  1280. <dt class="phpdocumentor-argument-list__entry">
  1281. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1282. </dt>
  1283. <dd class="phpdocumentor-argument-list__entry">
  1284. &#039;matrixProvider&#039;
  1285. </dd>
  1286. </dl>
  1287. <dl class="phpdocumentor-argument-list">
  1288. <dt class="phpdocumentor-argument-list__entry">
  1289. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1290. </dt>
  1291. </dl>
  1292. </section>
  1293. </article>
  1294. <article
  1295. class="phpdocumentor-element
  1296. -method
  1297. -public
  1298. "
  1299. >
  1300. <h4 class="phpdocumentor-element__name" id="method_setVersionNumber">
  1301. setVersionNumber()
  1302. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber" class="headerlink"><i class="fas fa-link"></i></a>
  1303. </h4>
  1304. <aside class="phpdocumentor-element-found-in">
  1305. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1306. :
  1307. <span class="phpdocumentor-element-found-in__line">221</span>
  1308. </aside>
  1309. <p class="phpdocumentor-summary">Tests the version patterns and verifies their positions - version &lt; 7 skipped</p>
  1310. <code class="phpdocumentor-code phpdocumentor-signature ">
  1311. <span class="phpdocumentor-signature__visibility">public</span>
  1312. <span class="phpdocumentor-signature__name">setVersionNumber</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1313. <div class="phpdocumentor-label-line">
  1314. </div>
  1315. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1316. <dl class="phpdocumentor-argument-list">
  1317. <dt class="phpdocumentor-argument-list__entry">
  1318. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1319. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1320. </dt>
  1321. <dd class="phpdocumentor-argument-list__definition">
  1322. </dd>
  1323. </dl>
  1324. <section class="phpdocumentor-attributes">
  1325. <h5 class="phpdocumentor-elements__header" id="attributes">
  1326. Attributes <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1327. </h5>
  1328. <dl class="phpdocumentor-argument-list">
  1329. <dt class="phpdocumentor-argument-list__entry">
  1330. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1331. </dt>
  1332. <dd class="phpdocumentor-argument-list__entry">
  1333. &#039;matrixProvider&#039;
  1334. </dd>
  1335. </dl>
  1336. <dl class="phpdocumentor-argument-list">
  1337. <dt class="phpdocumentor-argument-list__entry">
  1338. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1339. </dt>
  1340. </dl>
  1341. </section>
  1342. </article>
  1343. <article
  1344. class="phpdocumentor-element
  1345. -method
  1346. -protected
  1347. "
  1348. >
  1349. <h4 class="phpdocumentor-element__name" id="method_debugMatrix">
  1350. debugMatrix()
  1351. <a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_debugMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  1352. </h4>
  1353. <aside class="phpdocumentor-element-found-in">
  1354. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/QRMatrixDebugTrait.php"><a href="files/tests-traits-qrmatrixdebugtrait.html"><abbr title="tests/Traits/QRMatrixDebugTrait.php">QRMatrixDebugTrait.php</abbr></a></abbr>
  1355. :
  1356. <span class="phpdocumentor-element-found-in__line">27</span>
  1357. </aside>
  1358. <p class="phpdocumentor-summary">Matrix debugging console output</p>
  1359. <code class="phpdocumentor-code phpdocumentor-signature ">
  1360. <span class="phpdocumentor-signature__visibility">protected</span>
  1361. <span class="phpdocumentor-signature__name">debugMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1362. <div class="phpdocumentor-label-line">
  1363. </div>
  1364. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1365. <dl class="phpdocumentor-argument-list">
  1366. <dt class="phpdocumentor-argument-list__entry">
  1367. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1368. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1369. </dt>
  1370. <dd class="phpdocumentor-argument-list__definition">
  1371. </dd>
  1372. </dl>
  1373. </article>
  1374. <article
  1375. class="phpdocumentor-element
  1376. -method
  1377. -protected
  1378. "
  1379. >
  1380. <h4 class="phpdocumentor-element__name" id="method_dm">
  1381. dm()
  1382. <a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm" class="headerlink"><i class="fas fa-link"></i></a>
  1383. </h4>
  1384. <aside class="phpdocumentor-element-found-in">
  1385. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/QRMatrixDebugTrait.php"><a href="files/tests-traits-qrmatrixdebugtrait.html"><abbr title="tests/Traits/QRMatrixDebugTrait.php">QRMatrixDebugTrait.php</abbr></a></abbr>
  1386. :
  1387. <span class="phpdocumentor-element-found-in__line">84</span>
  1388. </aside>
  1389. <p class="phpdocumentor-summary">debugging shortcut - limit to a single version when using with matrixProvider</p>
  1390. <code class="phpdocumentor-code phpdocumentor-signature ">
  1391. <span class="phpdocumentor-signature__visibility">protected</span>
  1392. <span class="phpdocumentor-signature__name">dm</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1393. <div class="phpdocumentor-label-line">
  1394. </div>
  1395. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1396. <dl class="phpdocumentor-argument-list">
  1397. <dt class="phpdocumentor-argument-list__entry">
  1398. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1399. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  1400. </dt>
  1401. <dd class="phpdocumentor-argument-list__definition">
  1402. </dd>
  1403. </dl>
  1404. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1405. Tags
  1406. <a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1407. </h5>
  1408. <dl class="phpdocumentor-tag-list">
  1409. <dt class="phpdocumentor-tag-list__entry">
  1410. <span class="phpdocumentor-tag__name">see</span>
  1411. </dt>
  1412. <dd class="phpdocumentor-tag-list__definition">
  1413. <span class="phpdocumentor-tag-link"><abbr title="\chillerlan\QRCodeTest\Traits\QRMatrixTest::matrixProvider()">QRMatrixTest::matrixProvider()</abbr></span>
  1414. </dd>
  1415. </dl>
  1416. </article>
  1417. <article
  1418. class="phpdocumentor-element
  1419. -method
  1420. -protected
  1421. "
  1422. >
  1423. <h4 class="phpdocumentor-element__name" id="method_setUp">
  1424. setUp()
  1425. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  1426. </h4>
  1427. <aside class="phpdocumentor-element-found-in">
  1428. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/QRMatrixTest.php"><a href="files/tests-data-qrmatrixtest.html"><abbr title="tests/Data/QRMatrixTest.php">QRMatrixTest.php</abbr></a></abbr>
  1429. :
  1430. <span class="phpdocumentor-element-found-in__line">34</span>
  1431. </aside>
  1432. <p class="phpdocumentor-summary">invokes a QRMatrix object</p>
  1433. <code class="phpdocumentor-code phpdocumentor-signature ">
  1434. <span class="phpdocumentor-signature__visibility">protected</span>
  1435. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1436. <div class="phpdocumentor-label-line">
  1437. </div>
  1438. </article>
  1439. </section>
  1440. <div class="phpdocumentor-modal" id="source-view">
  1441. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1442. <div class="phpdocumentor-modal-container">
  1443. <div class="phpdocumentor-modal-content">
  1444. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Data/QRMatrixTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1445. </div>
  1446. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1447. </div>
  1448. </div>
  1449. <script type="text/javascript">
  1450. (function () {
  1451. function loadExternalCodeSnippet(el, url, line) {
  1452. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1453. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1454. const language = 'php';
  1455. const code = document.createElement('code');
  1456. code.className = 'language-' + language;
  1457. pre.textContent = '';
  1458. pre.setAttribute('data-line', line)
  1459. code.textContent = 'Loading…';
  1460. pre.appendChild(code);
  1461. var xhr = new XMLHttpRequest();
  1462. xhr.open('GET', src, true);
  1463. xhr.onreadystatechange = function () {
  1464. if (xhr.readyState !== 4) {
  1465. return;
  1466. }
  1467. if (xhr.status < 400 && xhr.responseText) {
  1468. code.textContent = xhr.responseText;
  1469. Prism.highlightElement(code);
  1470. d=document.getElementsByClassName("line-numbers");
  1471. d[0].scrollTop = d[0].children[1].offsetTop;
  1472. return;
  1473. }
  1474. if (xhr.status === 404) {
  1475. code.textContent = '✖ Error: File could not be found';
  1476. return;
  1477. }
  1478. if (xhr.status >= 400) {
  1479. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1480. return;
  1481. }
  1482. code.textContent = '✖ Error: An unknown error occurred';
  1483. };
  1484. xhr.send(null);
  1485. });
  1486. }
  1487. const modalButtons = document.querySelectorAll("[data-modal]");
  1488. const openedAsLocalFile = window.location.protocol === 'file:';
  1489. if (modalButtons.length > 0 && openedAsLocalFile) {
  1490. console.warn(
  1491. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1492. 'browsers block XHR requests when a page is opened this way'
  1493. );
  1494. }
  1495. modalButtons.forEach(function (trigger) {
  1496. if (openedAsLocalFile) {
  1497. trigger.setAttribute("hidden", "hidden");
  1498. }
  1499. trigger.addEventListener("click", function (event) {
  1500. event.preventDefault();
  1501. const modal = document.getElementById(trigger.dataset.modal);
  1502. if (!modal) {
  1503. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1504. return;
  1505. }
  1506. modal.classList.add("phpdocumentor-modal__open");
  1507. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1508. const exits = modal.querySelectorAll("[data-exit-button]");
  1509. exits.forEach(function (exit) {
  1510. exit.addEventListener("click", function (event) {
  1511. event.preventDefault();
  1512. modal.classList.remove("phpdocumentor-modal__open");
  1513. });
  1514. });
  1515. });
  1516. });
  1517. })();
  1518. </script>
  1519. </article>
  1520. </section>
  1521. <section class="phpdocumentor-on-this-page__sidebar">
  1522. <section class="phpdocumentor-on-this-page__content">
  1523. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1524. <ul class="phpdocumentor-list -clean">
  1525. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1526. <li>
  1527. <ul class="phpdocumentor-list -clean">
  1528. <li><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-constants">Constants</a></li>
  1529. <li><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-properties">Properties</a></li>
  1530. <li><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#toc-methods">Methods</a></li>
  1531. </ul>
  1532. </li>
  1533. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1534. <li>
  1535. <ul class="phpdocumentor-list -clean">
  1536. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version">version</a></li>
  1537. </ul>
  1538. </li>
  1539. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1540. <li>
  1541. <ul class="phpdocumentor-list -clean">
  1542. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix">$matrix</a></li>
  1543. </ul>
  1544. </li>
  1545. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1546. <li>
  1547. <ul class="phpdocumentor-list -clean">
  1548. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkNeighbours">checkNeighbours()</a></li>
  1549. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_checkTypeIn">checkTypeIn()</a></li>
  1550. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_flip">flip()</a></li>
  1551. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getECC">getECC()</a></li>
  1552. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getMaskPattern">getMaskPattern()</a></li>
  1553. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSetCheck">getSetCheck()</a></li>
  1554. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getSize">getSize()</a></li>
  1555. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_getVersion">getVersion()</a></li>
  1556. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider">matrixProvider()</a></li>
  1557. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_rotate90">rotate90()</a></li>
  1558. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setAlignmentPattern">setAlignmentPattern()</a></li>
  1559. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setDarkModule">setDarkModule()</a></li>
  1560. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFinderPattern">setFinderPattern()</a></li>
  1561. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setFormatInfo">setFormatInfo()</a></li>
  1562. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceExceedsException">setLogoSpaceExceedsException()</a></li>
  1563. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceInvalidEccException">setLogoSpaceInvalidEccException()</a></li>
  1564. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceMaxSizeException">setLogoSpaceMaxSizeException()</a></li>
  1565. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOmitDimension">setLogoSpaceOmitDimension()</a></li>
  1566. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpaceOrientation">setLogoSpaceOrientation()</a></li>
  1567. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setLogoSpacePosition">setLogoSpacePosition()</a></li>
  1568. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZone">setQuietZone()</a></li>
  1569. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setQuietZoneException">setQuietZoneException()</a></li>
  1570. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setSeparators">setSeparators()</a></li>
  1571. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setTimingPattern">setTimingPattern()</a></li>
  1572. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setVersionNumber">setVersionNumber()</a></li>
  1573. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_debugMatrix">debugMatrix()</a></li>
  1574. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html#method_dm">dm()</a></li>
  1575. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp">setUp()</a></li>
  1576. </ul>
  1577. </li>
  1578. </ul>
  1579. </section>
  1580. </section>
  1581. </div>
  1582. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1583. <section class="phpdocumentor-search-results__dialog">
  1584. <header class="phpdocumentor-search-results__header">
  1585. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1586. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1587. </header>
  1588. <section class="phpdocumentor-search-results__body">
  1589. <ul class="phpdocumentor-search-results__entries"></ul>
  1590. </section>
  1591. </section>
  1592. </section>
  1593. </div>
  1594. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1595. </main>
  1596. <script>
  1597. cssVars({});
  1598. </script>
  1599. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1600. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1601. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1602. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1603. </body>
  1604. </html>