chillerlan-QRCodeTest-Data-QRMatrixTest.html 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724
  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=Source+Sans+Pro:wght@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/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace">
  56. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  57. </h4>
  58. <ul class="phpdocumentor-list">
  59. <li>
  60. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  61. </li>
  62. <li>
  63. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  64. </li>
  65. </ul>
  66. </section>
  67. <section class="phpdocumentor-sidebar__category">
  68. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  69. <h4 class="phpdocumentor-sidebar__root-namespace">
  70. <a href="packages/Application.html" class="">Application</a>
  71. </h4>
  72. </section>
  73. <section class="phpdocumentor-sidebar__category">
  74. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  75. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  76. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  78. </section>
  79. <section class="phpdocumentor-sidebar__category">
  80. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  81. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  82. </section>
  83. </aside>
  84. <div class="phpdocumentor-column -eight phpdocumentor-content">
  85. <ul class="phpdocumentor-breadcrumbs">
  86. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  87. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  88. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-data.html">Data</a></li>
  89. </ul>
  90. <article class="phpdocumentor-element -class">
  91. <h2 class="phpdocumentor-content__title">
  92. QRMatrixTest
  93. <span class="phpdocumentor-element__extends">
  94. extends <abbr title="\PHPUnit\Framework\TestCase">TestCase</abbr>
  95. </span>
  96. <div class="phpdocumentor-element__package">
  97. in package
  98. <ul class="phpdocumentor-breadcrumbs">
  99. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  100. </ul>
  101. </div>
  102. </h2>
  103. <aside class="phpdocumentor-element-found-in">
  104. <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>
  105. :
  106. <span class="phpdocumentor-element-found-in__line">24</span>
  107. </aside>
  108. <p class="phpdocumentor-summary">Tests the QRMatrix class</p>
  109. <h3 id="toc">
  110. Table of Contents
  111. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  112. </h3>
  113. <dl class="phpdocumentor-table-of-contents">
  114. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  115. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version">version</a>
  116. <span>
  117. &nbsp;= 40 </span>
  118. </dt>
  119. <dd></dd>
  120. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  121. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix">$matrix</a>
  122. <span>
  123. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  124. </dt>
  125. <dd></dd>
  126. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  127. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_debugMatrix">debugMatrix()</a>
  128. <span>
  129. &nbsp;: void </span>
  130. </dt>
  131. <dd>Matrix debugging console output</dd>
  132. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  133. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider">matrixProvider()</a>
  134. <span>
  135. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  136. </dt>
  137. <dd>Version data provider for several pattern tests</dd>
  138. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  139. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testCheckNeighbours">testCheckNeighbours()</a>
  140. <span>
  141. &nbsp;: void </span>
  142. </dt>
  143. <dd>Tests checking the adjacent modules</dd>
  144. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  145. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testCheckTypeIn">testCheckTypeIn()</a>
  146. <span>
  147. &nbsp;: void </span>
  148. </dt>
  149. <dd>Tests checking whether the M_TYPE of a module is not one of an array of M_TYPES</dd>
  150. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  151. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testECC">testECC()</a>
  152. <span>
  153. &nbsp;: void </span>
  154. </dt>
  155. <dd>Tests if eccLevel() returns the current (given) ECC level</dd>
  156. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  157. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testGetSetCheck">testGetSetCheck()</a>
  158. <span>
  159. &nbsp;: void </span>
  160. </dt>
  161. <dd>Tests the set(), get() and check() methods</dd>
  162. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  163. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testInstance">testInstance()</a>
  164. <span>
  165. &nbsp;: void </span>
  166. </dt>
  167. <dd>Validates the QRMatrix instance</dd>
  168. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  169. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testMaskPattern">testMaskPattern()</a>
  170. <span>
  171. &nbsp;: void </span>
  172. </dt>
  173. <dd>Tests if maskPattern() returns the current (or default) mask pattern</dd>
  174. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  175. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testRotate90">testRotate90()</a>
  176. <span>
  177. &nbsp;: void </span>
  178. </dt>
  179. <dd>Tests rotating the matrix by 90 degrees CW</dd>
  180. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  181. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetAlignmentPattern">testSetAlignmentPattern()</a>
  182. <span>
  183. &nbsp;: void </span>
  184. </dt>
  185. <dd>Tests the alignment patterns and verifies their positions - version 1 (no pattern) skipped</dd>
  186. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  187. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetDarkModule">testSetDarkModule()</a>
  188. <span>
  189. &nbsp;: void </span>
  190. </dt>
  191. <dd>Tests setting the dark module and verifies its position</dd>
  192. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  193. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetFinderPattern">testSetFinderPattern()</a>
  194. <span>
  195. &nbsp;: void </span>
  196. </dt>
  197. <dd>Tests setting the finder patterns and verifies their positions</dd>
  198. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  199. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetFormatInfo">testSetFormatInfo()</a>
  200. <span>
  201. &nbsp;: void </span>
  202. </dt>
  203. <dd>Tests the format patterns and verifies their positions</dd>
  204. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  205. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceExceedsException">testSetLogoSpaceExceedsException()</a>
  206. <span>
  207. &nbsp;: void </span>
  208. </dt>
  209. <dd>Tests whether an exception is thrown when width or height exceed the matrix size</dd>
  210. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  211. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceInvalidEccException">testSetLogoSpaceInvalidEccException()</a>
  212. <span>
  213. &nbsp;: void </span>
  214. </dt>
  215. <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>
  216. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  217. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceMaxSizeException">testSetLogoSpaceMaxSizeException()</a>
  218. <span>
  219. &nbsp;: void </span>
  220. </dt>
  221. <dd>Tests whether an exception is thrown when the logo space size exceeds the maximum ECC capacity</dd>
  222. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  223. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceOmitHeight">testSetLogoSpaceOmitHeight()</a>
  224. <span>
  225. &nbsp;: void </span>
  226. </dt>
  227. <dd>Tests if the logo space is drawn square if one of the dimensions is omitted</dd>
  228. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  229. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceOrientation">testSetLogoSpaceOrientation()</a>
  230. <span>
  231. &nbsp;: void </span>
  232. </dt>
  233. <dd>Tests the auto orientation of the logo space</dd>
  234. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  235. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpacePosition">testSetLogoSpacePosition()</a>
  236. <span>
  237. &nbsp;: void </span>
  238. </dt>
  239. <dd>Tests the manual positioning of the logo space</dd>
  240. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  241. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetQuietZone">testSetQuietZone()</a>
  242. <span>
  243. &nbsp;: void </span>
  244. </dt>
  245. <dd>Tests the quiet zone pattern and verifies its position</dd>
  246. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  247. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetQuietZoneException">testSetQuietZoneException()</a>
  248. <span>
  249. &nbsp;: void </span>
  250. </dt>
  251. <dd>Tests if an exception is thrown in an attempt to create the quiet zone before data was written</dd>
  252. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  253. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetSeparators">testSetSeparators()</a>
  254. <span>
  255. &nbsp;: void </span>
  256. </dt>
  257. <dd>Tests the separator patterns and verifies their positions</dd>
  258. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  259. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetTimingPattern">testSetTimingPattern()</a>
  260. <span>
  261. &nbsp;: void </span>
  262. </dt>
  263. <dd>Tests the timing patterns and verifies their positions</dd>
  264. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  265. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetVersionNumber">testSetVersionNumber()</a>
  266. <span>
  267. &nbsp;: void </span>
  268. </dt>
  269. <dd>Tests the version patterns and verifies their positions - version &lt; 7 skipped</dd>
  270. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  271. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSize">testSize()</a>
  272. <span>
  273. &nbsp;: void </span>
  274. </dt>
  275. <dd>Tests if size() returns the actual matrix size/count</dd>
  276. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  277. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testVersion">testVersion()</a>
  278. <span>
  279. &nbsp;: void </span>
  280. </dt>
  281. <dd>Tests if version() returns the current (given) version</dd>
  282. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  283. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_dm">dm()</a>
  284. <span>
  285. &nbsp;: void </span>
  286. </dt>
  287. <dd>debugging shortcut - limit to a single version when using with matrixProvider</dd>
  288. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  289. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp">setUp()</a>
  290. <span>
  291. &nbsp;: void </span>
  292. </dt>
  293. <dd>invokes a QRMatrix object</dd>
  294. </dl>
  295. <section class="phpdocumentor-constants">
  296. <h3 class="phpdocumentor-elements__header" id="constants">
  297. Constants
  298. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  299. </h3>
  300. <article class="phpdocumentor-element -constant -private ">
  301. <h4 class="phpdocumentor-element__name" id="constant_version">
  302. version
  303. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#constant_version" class="headerlink"><i class="fas fa-link"></i></a>
  304. </h4>
  305. <aside class="phpdocumentor-element-found-in">
  306. <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>
  307. :
  308. <span class="phpdocumentor-element-found-in__line">26</span>
  309. </aside>
  310. <code class="phpdocumentor-signature phpdocumentor-code ">
  311. <span class="phpdocumentor-signature__visibility">private</span>
  312. <span class="phpdocumentor-signature__type">mixed</span>
  313. <span class="phpdocumentor-signature__name">version</span>
  314. = <span class="phpdocumentor-signature__default-value">40</span>
  315. </code>
  316. <section class="phpdocumentor-description"></section>
  317. <section class="phpdocumentor-description"></section>
  318. </article>
  319. </section>
  320. <section class="phpdocumentor-properties">
  321. <h3 class="phpdocumentor-elements__header" id="properties">
  322. Properties
  323. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  324. </h3>
  325. <article
  326. class="
  327. phpdocumentor-element
  328. -property
  329. -private
  330. "
  331. >
  332. <h4 class="phpdocumentor-element__name" id="property_matrix">
  333. $matrix
  334. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  335. <span class="phpdocumentor-element__modifiers">
  336. </span>
  337. </h4>
  338. <aside class="phpdocumentor-element-found-in">
  339. <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>
  340. :
  341. <span class="phpdocumentor-element-found-in__line">27</span>
  342. </aside>
  343. <code class="phpdocumentor-code phpdocumentor-signature ">
  344. <span class="phpdocumentor-signature__visibility">private</span>
  345. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  346. <span class="phpdocumentor-signature__name">$matrix</span>
  347. </code>
  348. <section class="phpdocumentor-description"></section>
  349. <section class="phpdocumentor-description"></section>
  350. </article>
  351. </section>
  352. <section class="phpdocumentor-methods">
  353. <h3 class="phpdocumentor-elements__header" id="methods">
  354. Methods
  355. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  356. </h3>
  357. <article
  358. class="phpdocumentor-element
  359. -method
  360. -public
  361. -static "
  362. >
  363. <h4 class="phpdocumentor-element__name" id="method_debugMatrix">
  364. debugMatrix()
  365. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_debugMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  366. </h4>
  367. <aside class="phpdocumentor-element-found-in">
  368. <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>
  369. :
  370. <span class="phpdocumentor-element-found-in__line">42</span>
  371. </aside>
  372. <p class="phpdocumentor-summary">Matrix debugging console output</p>
  373. <code class="phpdocumentor-code phpdocumentor-signature ">
  374. <span class="phpdocumentor-signature__visibility">public</span>
  375. <span class="phpdocumentor-signature__static">static</span> <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>
  376. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  377. <dl class="phpdocumentor-argument-list">
  378. <dt class="phpdocumentor-argument-list__entry">
  379. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  380. : <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>
  381. </dt>
  382. <dd class="phpdocumentor-argument-list__definition">
  383. <section class="phpdocumentor-description"></section>
  384. </dd>
  385. </dl>
  386. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  387. <span class="phpdocumentor-signature__response_type">void</span>
  388. &mdash;
  389. </article>
  390. <article
  391. class="phpdocumentor-element
  392. -method
  393. -public
  394. -static "
  395. >
  396. <h4 class="phpdocumentor-element__name" id="method_matrixProvider">
  397. matrixProvider()
  398. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider" class="headerlink"><i class="fas fa-link"></i></a>
  399. </h4>
  400. <aside class="phpdocumentor-element-found-in">
  401. <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>
  402. :
  403. <span class="phpdocumentor-element-found-in__line">176</span>
  404. </aside>
  405. <p class="phpdocumentor-summary">Version data provider for several pattern tests</p>
  406. <code class="phpdocumentor-code phpdocumentor-signature ">
  407. <span class="phpdocumentor-signature__visibility">public</span>
  408. <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>
  409. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  410. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  411. &mdash;
  412. </article>
  413. <article
  414. class="phpdocumentor-element
  415. -method
  416. -public
  417. "
  418. >
  419. <h4 class="phpdocumentor-element__name" id="method_testCheckNeighbours">
  420. testCheckNeighbours()
  421. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testCheckNeighbours" class="headerlink"><i class="fas fa-link"></i></a>
  422. </h4>
  423. <aside class="phpdocumentor-element-found-in">
  424. <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>
  425. :
  426. <span class="phpdocumentor-element-found-in__line">537</span>
  427. </aside>
  428. <p class="phpdocumentor-summary">Tests checking the adjacent modules</p>
  429. <code class="phpdocumentor-code phpdocumentor-signature ">
  430. <span class="phpdocumentor-signature__visibility">public</span>
  431. <span class="phpdocumentor-signature__name">testCheckNeighbours</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  432. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  433. <span class="phpdocumentor-signature__response_type">void</span>
  434. &mdash;
  435. </article>
  436. <article
  437. class="phpdocumentor-element
  438. -method
  439. -public
  440. "
  441. >
  442. <h4 class="phpdocumentor-element__name" id="method_testCheckTypeIn">
  443. testCheckTypeIn()
  444. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testCheckTypeIn" class="headerlink"><i class="fas fa-link"></i></a>
  445. </h4>
  446. <aside class="phpdocumentor-element-found-in">
  447. <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>
  448. :
  449. <span class="phpdocumentor-element-found-in__line">527</span>
  450. </aside>
  451. <p class="phpdocumentor-summary">Tests checking whether the M_TYPE of a module is not one of an array of M_TYPES</p>
  452. <code class="phpdocumentor-code phpdocumentor-signature ">
  453. <span class="phpdocumentor-signature__visibility">public</span>
  454. <span class="phpdocumentor-signature__name">testCheckTypeIn</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  455. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  456. <span class="phpdocumentor-signature__response_type">void</span>
  457. &mdash;
  458. </article>
  459. <article
  460. class="phpdocumentor-element
  461. -method
  462. -public
  463. "
  464. >
  465. <h4 class="phpdocumentor-element__name" id="method_testECC">
  466. testECC()
  467. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testECC" class="headerlink"><i class="fas fa-link"></i></a>
  468. </h4>
  469. <aside class="phpdocumentor-element-found-in">
  470. <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>
  471. :
  472. <span class="phpdocumentor-element-found-in__line">134</span>
  473. </aside>
  474. <p class="phpdocumentor-summary">Tests if eccLevel() returns the current (given) ECC level</p>
  475. <code class="phpdocumentor-code phpdocumentor-signature ">
  476. <span class="phpdocumentor-signature__visibility">public</span>
  477. <span class="phpdocumentor-signature__name">testECC</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  478. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  479. <span class="phpdocumentor-signature__response_type">void</span>
  480. &mdash;
  481. </article>
  482. <article
  483. class="phpdocumentor-element
  484. -method
  485. -public
  486. "
  487. >
  488. <h4 class="phpdocumentor-element__name" id="method_testGetSetCheck">
  489. testGetSetCheck()
  490. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testGetSetCheck" class="headerlink"><i class="fas fa-link"></i></a>
  491. </h4>
  492. <aside class="phpdocumentor-element-found-in">
  493. <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>
  494. :
  495. <span class="phpdocumentor-element-found-in__line">152</span>
  496. </aside>
  497. <p class="phpdocumentor-summary">Tests the set(), get() and check() methods</p>
  498. <code class="phpdocumentor-code phpdocumentor-signature ">
  499. <span class="phpdocumentor-signature__visibility">public</span>
  500. <span class="phpdocumentor-signature__name">testGetSetCheck</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  501. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  502. <span class="phpdocumentor-signature__response_type">void</span>
  503. &mdash;
  504. </article>
  505. <article
  506. class="phpdocumentor-element
  507. -method
  508. -public
  509. "
  510. >
  511. <h4 class="phpdocumentor-element__name" id="method_testInstance">
  512. testInstance()
  513. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testInstance" class="headerlink"><i class="fas fa-link"></i></a>
  514. </h4>
  515. <aside class="phpdocumentor-element-found-in">
  516. <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>
  517. :
  518. <span class="phpdocumentor-element-found-in__line">113</span>
  519. </aside>
  520. <p class="phpdocumentor-summary">Validates the QRMatrix instance</p>
  521. <code class="phpdocumentor-code phpdocumentor-signature ">
  522. <span class="phpdocumentor-signature__visibility">public</span>
  523. <span class="phpdocumentor-signature__name">testInstance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  524. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  525. <span class="phpdocumentor-signature__response_type">void</span>
  526. &mdash;
  527. </article>
  528. <article
  529. class="phpdocumentor-element
  530. -method
  531. -public
  532. "
  533. >
  534. <h4 class="phpdocumentor-element__name" id="method_testMaskPattern">
  535. testMaskPattern()
  536. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testMaskPattern" class="headerlink"><i class="fas fa-link"></i></a>
  537. </h4>
  538. <aside class="phpdocumentor-element-found-in">
  539. <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>
  540. :
  541. <span class="phpdocumentor-element-found-in__line">141</span>
  542. </aside>
  543. <p class="phpdocumentor-summary">Tests if maskPattern() returns the current (or default) mask pattern</p>
  544. <code class="phpdocumentor-code phpdocumentor-signature ">
  545. <span class="phpdocumentor-signature__visibility">public</span>
  546. <span class="phpdocumentor-signature__name">testMaskPattern</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  547. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  548. <span class="phpdocumentor-signature__response_type">void</span>
  549. &mdash;
  550. </article>
  551. <article
  552. class="phpdocumentor-element
  553. -method
  554. -public
  555. "
  556. >
  557. <h4 class="phpdocumentor-element__name" id="method_testRotate90">
  558. testRotate90()
  559. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testRotate90" class="headerlink"><i class="fas fa-link"></i></a>
  560. </h4>
  561. <aside class="phpdocumentor-element-found-in">
  562. <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>
  563. :
  564. <span class="phpdocumentor-element-found-in__line">375</span>
  565. </aside>
  566. <p class="phpdocumentor-summary">Tests rotating the matrix by 90 degrees CW</p>
  567. <code class="phpdocumentor-code phpdocumentor-signature ">
  568. <span class="phpdocumentor-signature__visibility">public</span>
  569. <span class="phpdocumentor-signature__name">testRotate90</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>
  570. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  571. <dl class="phpdocumentor-argument-list">
  572. <dt class="phpdocumentor-argument-list__entry">
  573. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  574. : <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>
  575. </dt>
  576. <dd class="phpdocumentor-argument-list__definition">
  577. <section class="phpdocumentor-description"></section>
  578. </dd>
  579. </dl>
  580. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  581. Tags
  582. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  583. </h5>
  584. <dl class="phpdocumentor-tag-list">
  585. <dt class="phpdocumentor-tag-list__entry">
  586. <span class="phpdocumentor-tag__name">dataProvider</span>
  587. </dt>
  588. <dd class="phpdocumentor-tag-list__definition">
  589. <section class="phpdocumentor-description"><p>matrixProvider</p>
  590. </section>
  591. </dd>
  592. </dl>
  593. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  594. <span class="phpdocumentor-signature__response_type">void</span>
  595. &mdash;
  596. </article>
  597. <article
  598. class="phpdocumentor-element
  599. -method
  600. -public
  601. "
  602. >
  603. <h4 class="phpdocumentor-element__name" id="method_testSetAlignmentPattern">
  604. testSetAlignmentPattern()
  605. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetAlignmentPattern" class="headerlink"><i class="fas fa-link"></i></a>
  606. </h4>
  607. <aside class="phpdocumentor-element-found-in">
  608. <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>
  609. :
  610. <span class="phpdocumentor-element-found-in__line">233</span>
  611. </aside>
  612. <p class="phpdocumentor-summary">Tests the alignment patterns and verifies their positions - version 1 (no pattern) skipped</p>
  613. <code class="phpdocumentor-code phpdocumentor-signature ">
  614. <span class="phpdocumentor-signature__visibility">public</span>
  615. <span class="phpdocumentor-signature__name">testSetAlignmentPattern</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>
  616. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  617. <dl class="phpdocumentor-argument-list">
  618. <dt class="phpdocumentor-argument-list__entry">
  619. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  620. : <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>
  621. </dt>
  622. <dd class="phpdocumentor-argument-list__definition">
  623. <section class="phpdocumentor-description"></section>
  624. </dd>
  625. </dl>
  626. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  627. Tags
  628. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  629. </h5>
  630. <dl class="phpdocumentor-tag-list">
  631. <dt class="phpdocumentor-tag-list__entry">
  632. <span class="phpdocumentor-tag__name">dataProvider</span>
  633. </dt>
  634. <dd class="phpdocumentor-tag-list__definition">
  635. <section class="phpdocumentor-description"><p>matrixProvider</p>
  636. </section>
  637. </dd>
  638. </dl>
  639. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  640. <span class="phpdocumentor-signature__response_type">void</span>
  641. &mdash;
  642. </article>
  643. <article
  644. class="phpdocumentor-element
  645. -method
  646. -public
  647. "
  648. >
  649. <h4 class="phpdocumentor-element__name" id="method_testSetDarkModule">
  650. testSetDarkModule()
  651. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetDarkModule" class="headerlink"><i class="fas fa-link"></i></a>
  652. </h4>
  653. <aside class="phpdocumentor-element-found-in">
  654. <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>
  655. :
  656. <span class="phpdocumentor-element-found-in__line">189</span>
  657. </aside>
  658. <p class="phpdocumentor-summary">Tests setting the dark module and verifies its position</p>
  659. <code class="phpdocumentor-code phpdocumentor-signature ">
  660. <span class="phpdocumentor-signature__visibility">public</span>
  661. <span class="phpdocumentor-signature__name">testSetDarkModule</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>
  662. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  663. <dl class="phpdocumentor-argument-list">
  664. <dt class="phpdocumentor-argument-list__entry">
  665. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  666. : <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>
  667. </dt>
  668. <dd class="phpdocumentor-argument-list__definition">
  669. <section class="phpdocumentor-description"></section>
  670. </dd>
  671. </dl>
  672. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  673. Tags
  674. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  675. </h5>
  676. <dl class="phpdocumentor-tag-list">
  677. <dt class="phpdocumentor-tag-list__entry">
  678. <span class="phpdocumentor-tag__name">dataProvider</span>
  679. </dt>
  680. <dd class="phpdocumentor-tag-list__definition">
  681. <section class="phpdocumentor-description"><p>matrixProvider</p>
  682. </section>
  683. </dd>
  684. </dl>
  685. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  686. <span class="phpdocumentor-signature__response_type">void</span>
  687. &mdash;
  688. </article>
  689. <article
  690. class="phpdocumentor-element
  691. -method
  692. -public
  693. "
  694. >
  695. <h4 class="phpdocumentor-element__name" id="method_testSetFinderPattern">
  696. testSetFinderPattern()
  697. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetFinderPattern" class="headerlink"><i class="fas fa-link"></i></a>
  698. </h4>
  699. <aside class="phpdocumentor-element-found-in">
  700. <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>
  701. :
  702. <span class="phpdocumentor-element-found-in__line">202</span>
  703. </aside>
  704. <p class="phpdocumentor-summary">Tests setting the finder patterns and verifies their positions</p>
  705. <code class="phpdocumentor-code phpdocumentor-signature ">
  706. <span class="phpdocumentor-signature__visibility">public</span>
  707. <span class="phpdocumentor-signature__name">testSetFinderPattern</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>
  708. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  709. <dl class="phpdocumentor-argument-list">
  710. <dt class="phpdocumentor-argument-list__entry">
  711. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  712. : <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>
  713. </dt>
  714. <dd class="phpdocumentor-argument-list__definition">
  715. <section class="phpdocumentor-description"></section>
  716. </dd>
  717. </dl>
  718. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  719. Tags
  720. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  721. </h5>
  722. <dl class="phpdocumentor-tag-list">
  723. <dt class="phpdocumentor-tag-list__entry">
  724. <span class="phpdocumentor-tag__name">dataProvider</span>
  725. </dt>
  726. <dd class="phpdocumentor-tag-list__definition">
  727. <section class="phpdocumentor-description"><p>matrixProvider</p>
  728. </section>
  729. </dd>
  730. </dl>
  731. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  732. <span class="phpdocumentor-signature__response_type">void</span>
  733. &mdash;
  734. </article>
  735. <article
  736. class="phpdocumentor-element
  737. -method
  738. -public
  739. "
  740. >
  741. <h4 class="phpdocumentor-element__name" id="method_testSetFormatInfo">
  742. testSetFormatInfo()
  743. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetFormatInfo" class="headerlink"><i class="fas fa-link"></i></a>
  744. </h4>
  745. <aside class="phpdocumentor-element-found-in">
  746. <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>
  747. :
  748. <span class="phpdocumentor-element-found-in__line">317</span>
  749. </aside>
  750. <p class="phpdocumentor-summary">Tests the format patterns and verifies their positions</p>
  751. <code class="phpdocumentor-code phpdocumentor-signature ">
  752. <span class="phpdocumentor-signature__visibility">public</span>
  753. <span class="phpdocumentor-signature__name">testSetFormatInfo</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>
  754. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  755. <dl class="phpdocumentor-argument-list">
  756. <dt class="phpdocumentor-argument-list__entry">
  757. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  758. : <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>
  759. </dt>
  760. <dd class="phpdocumentor-argument-list__definition">
  761. <section class="phpdocumentor-description"></section>
  762. </dd>
  763. </dl>
  764. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  765. Tags
  766. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  767. </h5>
  768. <dl class="phpdocumentor-tag-list">
  769. <dt class="phpdocumentor-tag-list__entry">
  770. <span class="phpdocumentor-tag__name">dataProvider</span>
  771. </dt>
  772. <dd class="phpdocumentor-tag-list__definition">
  773. <section class="phpdocumentor-description"><p>matrixProvider</p>
  774. </section>
  775. </dd>
  776. </dl>
  777. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  778. <span class="phpdocumentor-signature__response_type">void</span>
  779. &mdash;
  780. </article>
  781. <article
  782. class="phpdocumentor-element
  783. -method
  784. -public
  785. "
  786. >
  787. <h4 class="phpdocumentor-element__name" id="method_testSetLogoSpaceExceedsException">
  788. testSetLogoSpaceExceedsException()
  789. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceExceedsException" class="headerlink"><i class="fas fa-link"></i></a>
  790. </h4>
  791. <aside class="phpdocumentor-element-found-in">
  792. <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>
  793. :
  794. <span class="phpdocumentor-element-found-in__line">499</span>
  795. </aside>
  796. <p class="phpdocumentor-summary">Tests whether an exception is thrown when width or height exceed the matrix size</p>
  797. <code class="phpdocumentor-code phpdocumentor-signature ">
  798. <span class="phpdocumentor-signature__visibility">public</span>
  799. <span class="phpdocumentor-signature__name">testSetLogoSpaceExceedsException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  800. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  801. <span class="phpdocumentor-signature__response_type">void</span>
  802. &mdash;
  803. </article>
  804. <article
  805. class="phpdocumentor-element
  806. -method
  807. -public
  808. "
  809. >
  810. <h4 class="phpdocumentor-element__name" id="method_testSetLogoSpaceInvalidEccException">
  811. testSetLogoSpaceInvalidEccException()
  812. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceInvalidEccException" class="headerlink"><i class="fas fa-link"></i></a>
  813. </h4>
  814. <aside class="phpdocumentor-element-found-in">
  815. <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>
  816. :
  817. <span class="phpdocumentor-element-found-in__line">489</span>
  818. </aside>
  819. <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>
  820. <code class="phpdocumentor-code phpdocumentor-signature ">
  821. <span class="phpdocumentor-signature__visibility">public</span>
  822. <span class="phpdocumentor-signature__name">testSetLogoSpaceInvalidEccException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  823. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  824. <span class="phpdocumentor-signature__response_type">void</span>
  825. &mdash;
  826. </article>
  827. <article
  828. class="phpdocumentor-element
  829. -method
  830. -public
  831. "
  832. >
  833. <h4 class="phpdocumentor-element__name" id="method_testSetLogoSpaceMaxSizeException">
  834. testSetLogoSpaceMaxSizeException()
  835. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceMaxSizeException" class="headerlink"><i class="fas fa-link"></i></a>
  836. </h4>
  837. <aside class="phpdocumentor-element-found-in">
  838. <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>
  839. :
  840. <span class="phpdocumentor-element-found-in__line">513</span>
  841. </aside>
  842. <p class="phpdocumentor-summary">Tests whether an exception is thrown when the logo space size exceeds the maximum ECC capacity</p>
  843. <code class="phpdocumentor-code phpdocumentor-signature ">
  844. <span class="phpdocumentor-signature__visibility">public</span>
  845. <span class="phpdocumentor-signature__name">testSetLogoSpaceMaxSizeException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  846. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  847. <span class="phpdocumentor-signature__response_type">void</span>
  848. &mdash;
  849. </article>
  850. <article
  851. class="phpdocumentor-element
  852. -method
  853. -public
  854. "
  855. >
  856. <h4 class="phpdocumentor-element__name" id="method_testSetLogoSpaceOmitHeight">
  857. testSetLogoSpaceOmitHeight()
  858. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceOmitHeight" class="headerlink"><i class="fas fa-link"></i></a>
  859. </h4>
  860. <aside class="phpdocumentor-element-found-in">
  861. <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>
  862. :
  863. <span class="phpdocumentor-element-found-in__line">410</span>
  864. </aside>
  865. <p class="phpdocumentor-summary">Tests if the logo space is drawn square if one of the dimensions is omitted</p>
  866. <code class="phpdocumentor-code phpdocumentor-signature ">
  867. <span class="phpdocumentor-signature__visibility">public</span>
  868. <span class="phpdocumentor-signature__name">testSetLogoSpaceOmitHeight</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  869. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  870. <span class="phpdocumentor-signature__response_type">void</span>
  871. &mdash;
  872. </article>
  873. <article
  874. class="phpdocumentor-element
  875. -method
  876. -public
  877. "
  878. >
  879. <h4 class="phpdocumentor-element__name" id="method_testSetLogoSpaceOrientation">
  880. testSetLogoSpaceOrientation()
  881. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpaceOrientation" class="headerlink"><i class="fas fa-link"></i></a>
  882. </h4>
  883. <aside class="phpdocumentor-element-found-in">
  884. <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>
  885. :
  886. <span class="phpdocumentor-element-found-in__line">432</span>
  887. </aside>
  888. <p class="phpdocumentor-summary">Tests the auto orientation of the logo space</p>
  889. <code class="phpdocumentor-code phpdocumentor-signature ">
  890. <span class="phpdocumentor-signature__visibility">public</span>
  891. <span class="phpdocumentor-signature__name">testSetLogoSpaceOrientation</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  892. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  893. <span class="phpdocumentor-signature__response_type">void</span>
  894. &mdash;
  895. </article>
  896. <article
  897. class="phpdocumentor-element
  898. -method
  899. -public
  900. "
  901. >
  902. <h4 class="phpdocumentor-element__name" id="method_testSetLogoSpacePosition">
  903. testSetLogoSpacePosition()
  904. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetLogoSpacePosition" class="headerlink"><i class="fas fa-link"></i></a>
  905. </h4>
  906. <aside class="phpdocumentor-element-found-in">
  907. <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>
  908. :
  909. <span class="phpdocumentor-element-found-in__line">456</span>
  910. </aside>
  911. <p class="phpdocumentor-summary">Tests the manual positioning of the logo space</p>
  912. <code class="phpdocumentor-code phpdocumentor-signature ">
  913. <span class="phpdocumentor-signature__visibility">public</span>
  914. <span class="phpdocumentor-signature__name">testSetLogoSpacePosition</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  915. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  916. <span class="phpdocumentor-signature__response_type">void</span>
  917. &mdash;
  918. </article>
  919. <article
  920. class="phpdocumentor-element
  921. -method
  922. -public
  923. "
  924. >
  925. <h4 class="phpdocumentor-element__name" id="method_testSetQuietZone">
  926. testSetQuietZone()
  927. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetQuietZone" class="headerlink"><i class="fas fa-link"></i></a>
  928. </h4>
  929. <aside class="phpdocumentor-element-found-in">
  930. <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>
  931. :
  932. <span class="phpdocumentor-element-found-in__line">333</span>
  933. </aside>
  934. <p class="phpdocumentor-summary">Tests the quiet zone pattern and verifies its position</p>
  935. <code class="phpdocumentor-code phpdocumentor-signature ">
  936. <span class="phpdocumentor-signature__visibility">public</span>
  937. <span class="phpdocumentor-signature__name">testSetQuietZone</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>
  938. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  939. <dl class="phpdocumentor-argument-list">
  940. <dt class="phpdocumentor-argument-list__entry">
  941. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  942. : <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>
  943. </dt>
  944. <dd class="phpdocumentor-argument-list__definition">
  945. <section class="phpdocumentor-description"></section>
  946. </dd>
  947. </dl>
  948. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  949. Tags
  950. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  951. </h5>
  952. <dl class="phpdocumentor-tag-list">
  953. <dt class="phpdocumentor-tag-list__entry">
  954. <span class="phpdocumentor-tag__name">dataProvider</span>
  955. </dt>
  956. <dd class="phpdocumentor-tag-list__definition">
  957. <section class="phpdocumentor-description"><p>matrixProvider</p>
  958. </section>
  959. </dd>
  960. </dl>
  961. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  962. <span class="phpdocumentor-signature__response_type">void</span>
  963. &mdash;
  964. </article>
  965. <article
  966. class="phpdocumentor-element
  967. -method
  968. -public
  969. "
  970. >
  971. <h4 class="phpdocumentor-element__name" id="method_testSetQuietZoneException">
  972. testSetQuietZoneException()
  973. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetQuietZoneException" class="headerlink"><i class="fas fa-link"></i></a>
  974. </h4>
  975. <aside class="phpdocumentor-element-found-in">
  976. <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>
  977. :
  978. <span class="phpdocumentor-element-found-in__line">363</span>
  979. </aside>
  980. <p class="phpdocumentor-summary">Tests if an exception is thrown in an attempt to create the quiet zone before data was written</p>
  981. <code class="phpdocumentor-code phpdocumentor-signature ">
  982. <span class="phpdocumentor-signature__visibility">public</span>
  983. <span class="phpdocumentor-signature__name">testSetQuietZoneException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  984. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  985. <span class="phpdocumentor-signature__response_type">void</span>
  986. &mdash;
  987. </article>
  988. <article
  989. class="phpdocumentor-element
  990. -method
  991. -public
  992. "
  993. >
  994. <h4 class="phpdocumentor-element__name" id="method_testSetSeparators">
  995. testSetSeparators()
  996. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetSeparators" class="headerlink"><i class="fas fa-link"></i></a>
  997. </h4>
  998. <aside class="phpdocumentor-element-found-in">
  999. <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>
  1000. :
  1001. <span class="phpdocumentor-element-found-in__line">217</span>
  1002. </aside>
  1003. <p class="phpdocumentor-summary">Tests the separator patterns and verifies their positions</p>
  1004. <code class="phpdocumentor-code phpdocumentor-signature ">
  1005. <span class="phpdocumentor-signature__visibility">public</span>
  1006. <span class="phpdocumentor-signature__name">testSetSeparators</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>
  1007. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1008. <dl class="phpdocumentor-argument-list">
  1009. <dt class="phpdocumentor-argument-list__entry">
  1010. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1011. : <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>
  1012. </dt>
  1013. <dd class="phpdocumentor-argument-list__definition">
  1014. <section class="phpdocumentor-description"></section>
  1015. </dd>
  1016. </dl>
  1017. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1018. Tags
  1019. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1020. </h5>
  1021. <dl class="phpdocumentor-tag-list">
  1022. <dt class="phpdocumentor-tag-list__entry">
  1023. <span class="phpdocumentor-tag__name">dataProvider</span>
  1024. </dt>
  1025. <dd class="phpdocumentor-tag-list__definition">
  1026. <section class="phpdocumentor-description"><p>matrixProvider</p>
  1027. </section>
  1028. </dd>
  1029. </dl>
  1030. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1031. <span class="phpdocumentor-signature__response_type">void</span>
  1032. &mdash;
  1033. </article>
  1034. <article
  1035. class="phpdocumentor-element
  1036. -method
  1037. -public
  1038. "
  1039. >
  1040. <h4 class="phpdocumentor-element__name" id="method_testSetTimingPattern">
  1041. testSetTimingPattern()
  1042. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetTimingPattern" class="headerlink"><i class="fas fa-link"></i></a>
  1043. </h4>
  1044. <aside class="phpdocumentor-element-found-in">
  1045. <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>
  1046. :
  1047. <span class="phpdocumentor-element-found-in__line">266</span>
  1048. </aside>
  1049. <p class="phpdocumentor-summary">Tests the timing patterns and verifies their positions</p>
  1050. <code class="phpdocumentor-code phpdocumentor-signature ">
  1051. <span class="phpdocumentor-signature__visibility">public</span>
  1052. <span class="phpdocumentor-signature__name">testSetTimingPattern</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>
  1053. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1054. <dl class="phpdocumentor-argument-list">
  1055. <dt class="phpdocumentor-argument-list__entry">
  1056. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1057. : <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>
  1058. </dt>
  1059. <dd class="phpdocumentor-argument-list__definition">
  1060. <section class="phpdocumentor-description"></section>
  1061. </dd>
  1062. </dl>
  1063. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1064. Tags
  1065. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1066. </h5>
  1067. <dl class="phpdocumentor-tag-list">
  1068. <dt class="phpdocumentor-tag-list__entry">
  1069. <span class="phpdocumentor-tag__name">dataProvider</span>
  1070. </dt>
  1071. <dd class="phpdocumentor-tag-list__definition">
  1072. <section class="phpdocumentor-description"><p>matrixProvider</p>
  1073. </section>
  1074. </dd>
  1075. </dl>
  1076. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1077. <span class="phpdocumentor-signature__response_type">void</span>
  1078. &mdash;
  1079. </article>
  1080. <article
  1081. class="phpdocumentor-element
  1082. -method
  1083. -public
  1084. "
  1085. >
  1086. <h4 class="phpdocumentor-element__name" id="method_testSetVersionNumber">
  1087. testSetVersionNumber()
  1088. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSetVersionNumber" class="headerlink"><i class="fas fa-link"></i></a>
  1089. </h4>
  1090. <aside class="phpdocumentor-element-found-in">
  1091. <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>
  1092. :
  1093. <span class="phpdocumentor-element-found-in__line">295</span>
  1094. </aside>
  1095. <p class="phpdocumentor-summary">Tests the version patterns and verifies their positions - version &lt; 7 skipped</p>
  1096. <code class="phpdocumentor-code phpdocumentor-signature ">
  1097. <span class="phpdocumentor-signature__visibility">public</span>
  1098. <span class="phpdocumentor-signature__name">testSetVersionNumber</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>
  1099. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1100. <dl class="phpdocumentor-argument-list">
  1101. <dt class="phpdocumentor-argument-list__entry">
  1102. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1103. : <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>
  1104. </dt>
  1105. <dd class="phpdocumentor-argument-list__definition">
  1106. <section class="phpdocumentor-description"></section>
  1107. </dd>
  1108. </dl>
  1109. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1110. Tags
  1111. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1112. </h5>
  1113. <dl class="phpdocumentor-tag-list">
  1114. <dt class="phpdocumentor-tag-list__entry">
  1115. <span class="phpdocumentor-tag__name">dataProvider</span>
  1116. </dt>
  1117. <dd class="phpdocumentor-tag-list__definition">
  1118. <section class="phpdocumentor-description"><p>matrixProvider</p>
  1119. </section>
  1120. </dd>
  1121. </dl>
  1122. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1123. <span class="phpdocumentor-signature__response_type">void</span>
  1124. &mdash;
  1125. </article>
  1126. <article
  1127. class="phpdocumentor-element
  1128. -method
  1129. -public
  1130. "
  1131. >
  1132. <h4 class="phpdocumentor-element__name" id="method_testSize">
  1133. testSize()
  1134. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testSize" class="headerlink"><i class="fas fa-link"></i></a>
  1135. </h4>
  1136. <aside class="phpdocumentor-element-found-in">
  1137. <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>
  1138. :
  1139. <span class="phpdocumentor-element-found-in__line">120</span>
  1140. </aside>
  1141. <p class="phpdocumentor-summary">Tests if size() returns the actual matrix size/count</p>
  1142. <code class="phpdocumentor-code phpdocumentor-signature ">
  1143. <span class="phpdocumentor-signature__visibility">public</span>
  1144. <span class="phpdocumentor-signature__name">testSize</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1145. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1146. <span class="phpdocumentor-signature__response_type">void</span>
  1147. &mdash;
  1148. </article>
  1149. <article
  1150. class="phpdocumentor-element
  1151. -method
  1152. -public
  1153. "
  1154. >
  1155. <h4 class="phpdocumentor-element__name" id="method_testVersion">
  1156. testVersion()
  1157. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_testVersion" class="headerlink"><i class="fas fa-link"></i></a>
  1158. </h4>
  1159. <aside class="phpdocumentor-element-found-in">
  1160. <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>
  1161. :
  1162. <span class="phpdocumentor-element-found-in__line">127</span>
  1163. </aside>
  1164. <p class="phpdocumentor-summary">Tests if version() returns the current (given) version</p>
  1165. <code class="phpdocumentor-code phpdocumentor-signature ">
  1166. <span class="phpdocumentor-signature__visibility">public</span>
  1167. <span class="phpdocumentor-signature__name">testVersion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1168. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1169. <span class="phpdocumentor-signature__response_type">void</span>
  1170. &mdash;
  1171. </article>
  1172. <article
  1173. class="phpdocumentor-element
  1174. -method
  1175. -protected
  1176. "
  1177. >
  1178. <h4 class="phpdocumentor-element__name" id="method_dm">
  1179. dm()
  1180. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_dm" class="headerlink"><i class="fas fa-link"></i></a>
  1181. </h4>
  1182. <aside class="phpdocumentor-element-found-in">
  1183. <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>
  1184. :
  1185. <span class="phpdocumentor-element-found-in__line">100</span>
  1186. </aside>
  1187. <p class="phpdocumentor-summary">debugging shortcut - limit to a single version when using with matrixProvider</p>
  1188. <code class="phpdocumentor-code phpdocumentor-signature ">
  1189. <span class="phpdocumentor-signature__visibility">protected</span>
  1190. <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>
  1191. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1192. <dl class="phpdocumentor-argument-list">
  1193. <dt class="phpdocumentor-argument-list__entry">
  1194. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  1195. : <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>
  1196. </dt>
  1197. <dd class="phpdocumentor-argument-list__definition">
  1198. <section class="phpdocumentor-description"></section>
  1199. </dd>
  1200. </dl>
  1201. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1202. Tags
  1203. <a href="#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1204. </h5>
  1205. <dl class="phpdocumentor-tag-list">
  1206. <dt class="phpdocumentor-tag-list__entry">
  1207. <span class="phpdocumentor-tag__name">see</span>
  1208. </dt>
  1209. <dd class="phpdocumentor-tag-list__definition">
  1210. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_matrixProvider"><abbr title="\chillerlan\QRCodeTest\Data\QRMatrixTest::matrixProvider()">QRMatrixTest::matrixProvider()</abbr></a></span>
  1211. </dd>
  1212. </dl>
  1213. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1214. <span class="phpdocumentor-signature__response_type">void</span>
  1215. &mdash;
  1216. </article>
  1217. <article
  1218. class="phpdocumentor-element
  1219. -method
  1220. -protected
  1221. "
  1222. >
  1223. <h4 class="phpdocumentor-element__name" id="method_setUp">
  1224. setUp()
  1225. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  1226. </h4>
  1227. <aside class="phpdocumentor-element-found-in">
  1228. <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>
  1229. :
  1230. <span class="phpdocumentor-element-found-in__line">32</span>
  1231. </aside>
  1232. <p class="phpdocumentor-summary">invokes a QRMatrix object</p>
  1233. <code class="phpdocumentor-code phpdocumentor-signature ">
  1234. <span class="phpdocumentor-signature__visibility">protected</span>
  1235. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1236. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1237. <span class="phpdocumentor-signature__response_type">void</span>
  1238. &mdash;
  1239. </article>
  1240. </section>
  1241. <script type="text/javascript">
  1242. function loadExternalCodeSnippets(line) {
  1243. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1244. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  1245. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  1246. var language = 'php';
  1247. var code = document.createElement('code');
  1248. code.className = 'language-' + language;
  1249. pre.textContent = '';
  1250. pre.setAttribute('data-line', line)
  1251. code.textContent = 'Loading…';
  1252. pre.appendChild(code);
  1253. var xhr = new XMLHttpRequest();
  1254. xhr.open('GET', src, true);
  1255. xhr.onreadystatechange = function () {
  1256. if (xhr.readyState == 4) {
  1257. if (xhr.status < 400 && xhr.responseText) {
  1258. code.textContent = xhr.responseText;
  1259. Prism.highlightElement(code);
  1260. }
  1261. else if (xhr.status >= 400) {
  1262. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1263. }
  1264. else {
  1265. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  1266. }
  1267. }
  1268. };
  1269. xhr.send(null);
  1270. });
  1271. }
  1272. var modals = document.querySelectorAll("[data-modal]");
  1273. modals.forEach(function (trigger) {
  1274. trigger.addEventListener("click", function (event) {
  1275. //event.preventDefault();
  1276. const modal = document.getElementById(trigger.dataset.modal);
  1277. modal.classList.add("phpdocumentor-modal__open");
  1278. loadExternalCodeSnippets(trigger.dataset.line)
  1279. const exits = modal.querySelectorAll("[data-exit-button]");
  1280. exits.forEach(function (exit) {
  1281. exit.addEventListener("click", function (event) {
  1282. event.preventDefault();
  1283. modal.classList.remove("phpdocumentor-modal__open");
  1284. });
  1285. });
  1286. });
  1287. });
  1288. </script>
  1289. </article>
  1290. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1291. <section class="phpdocumentor-search-results__dialog">
  1292. <header class="phpdocumentor-search-results__header">
  1293. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1294. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1295. </header>
  1296. <section class="phpdocumentor-search-results__body">
  1297. <ul class="phpdocumentor-search-results__entries"></ul>
  1298. </section>
  1299. </section>
  1300. </section>
  1301. </div>
  1302. </div>
  1303. <a href="classes/chillerlan-QRCodeTest-Data-QRMatrixTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1304. </main>
  1305. <script>
  1306. cssVars({});
  1307. </script>
  1308. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1309. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1310. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1311. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1312. </body>
  1313. </html>