chillerlan-QRCodeTest-QRCodeReaderImagickTest.html 59 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  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. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. </section>
  82. <section class="phpdocumentor-sidebar__category">
  83. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  84. <h4 class="phpdocumentor-sidebar__root-namespace">
  85. <a href="packages/Application.html" class="">Application</a>
  86. </h4>
  87. </section>
  88. <section class="phpdocumentor-sidebar__category">
  89. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  90. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  91. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  92. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  93. </section>
  94. <section class="phpdocumentor-sidebar__category">
  95. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  96. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  97. </section>
  98. </aside>
  99. <div class="phpdocumentor-column -nine phpdocumentor-content">
  100. <section>
  101. <ul class="phpdocumentor-breadcrumbs">
  102. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  103. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  104. </ul>
  105. <article class="phpdocumentor-element -class">
  106. <h2 class="phpdocumentor-content__title">
  107. QRCodeReaderImagickTest
  108. <span class="phpdocumentor-element__extends">
  109. extends <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\QRCodeReaderTestAbstract">QRCodeReaderTestAbstract</abbr></a>
  110. </span>
  111. <div class="phpdocumentor-element__package">
  112. in package
  113. <ul class="phpdocumentor-breadcrumbs">
  114. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  115. </ul>
  116. </div>
  117. </h2>
  118. <div class="phpdocumentor-label-line">
  119. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  120. </div>
  121. <aside class="phpdocumentor-element-found-in">
  122. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  123. :
  124. <span class="phpdocumentor-element-found-in__line">21</span>
  125. </aside>
  126. <p class="phpdocumentor-summary">Tests the Imagick based reader</p>
  127. <h3 id="toc">
  128. Table of Contents
  129. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  130. </h3>
  131. <h4 id="toc-constants">
  132. Constants
  133. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  134. </h4>
  135. <dl class="phpdocumentor-table-of-contents">
  136. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  137. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum">loremipsum</a>
  138. <span>
  139. &nbsp;= &#039;Just let this happen. We just let this flow right out of our minds. &#039; . &#039;Anyone can paint. We touch the canvas, the canvas takes what it wants. From all of us here, &#039; . &#039;I want to wish you happy painting and God bless, my friends. A tree cannot be straight if it has a crooked trunk. &#039; . &#039;You have to make almighty decisions when you\&#039;re the creator. I guess that would be considered a UFO. &#039; . &#039;A big cotton ball in the sky. I\&#039;m gonna add just a tiny little amount of Prussian Blue. &#039; . &#039;They say everything looks better with odd numbers of things. But sometimes I put even numbers—just &#039; . &#039;to upset the critics. We\&#039;ll lay all these little funky little things in there. &#039; </span>
  140. </dt>
  141. </dl>
  142. <h4 id="toc-properties">
  143. Properties
  144. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-properties" 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 -property -protected">
  148. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#property_FQN">$FQN</a>
  149. <span>
  150. &nbsp;: string </span>
  151. </dt>
  152. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  153. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options">$options</a>
  154. <span>
  155. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr> </span>
  156. </dt>
  157. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  158. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#property_MAX_LENGTH">$MAX_LENGTH</a>
  159. <span>
  160. &nbsp;: array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt; </span>
  161. </dt>
  162. <dd>ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</dd>
  163. </dl>
  164. <h4 id="toc-methods">
  165. Methods
  166. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.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 href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider">dataTestProvider()</a>
  171. <span>
  172. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  173. </dt>
  174. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  175. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a>
  176. <span>
  177. &nbsp;: int </span>
  178. </dt>
  179. <dd>the maximum character count for the given $mode and $eccLevel</dd>
  180. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  181. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider">qrCodeProvider()</a>
  182. <span>
  183. &nbsp;: array&lt;string|int, mixed&gt; </span>
  184. </dt>
  185. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  186. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData">testReadData()</a>
  187. <span>
  188. &nbsp;: void </span>
  189. </dt>
  190. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  191. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader">testReader()</a>
  192. <span>
  193. &nbsp;: void </span>
  194. </dt>
  195. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  196. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode">testReaderMultiMode()</a>
  197. <span>
  198. &nbsp;: void </span>
  199. </dt>
  200. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  201. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats">testReadVectorFormats()</a>
  202. <span>
  203. &nbsp;: void </span>
  204. </dt>
  205. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  206. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider">vectorQRCodeProvider()</a>
  207. <span>
  208. &nbsp;: array&lt;string|int, mixed&gt; </span>
  209. </dt>
  210. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  211. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp">setUp()</a>
  212. <span>
  213. &nbsp;: void </span>
  214. </dt>
  215. </dl>
  216. <section class="phpdocumentor-constants">
  217. <h3 class="phpdocumentor-elements__header" id="constants">
  218. Constants
  219. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  220. </h3>
  221. <article class="phpdocumentor-element -constant -protected ">
  222. <h4 class="phpdocumentor-element__name" id="constant_loremipsum">
  223. loremipsum
  224. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum" class="headerlink"><i class="fas fa-link"></i></a>
  225. </h4>
  226. <aside class="phpdocumentor-element-found-in">
  227. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  228. :
  229. <span class="phpdocumentor-element-found-in__line">31</span>
  230. </aside>
  231. <code class="phpdocumentor-signature phpdocumentor-code ">
  232. <span class="phpdocumentor-signature__visibility">protected</span>
  233. <span class="phpdocumentor-signature__type">mixed</span>
  234. <span class="phpdocumentor-signature__name">loremipsum</span>
  235. = <span class="phpdocumentor-signature__default-value">&#039;Just let this happen. We just let this flow right out of our minds. &#039; . &#039;Anyone can paint. We touch the canvas, the canvas takes what it wants. From all of us here, &#039; . &#039;I want to wish you happy painting and God bless, my friends. A tree cannot be straight if it has a crooked trunk. &#039; . &#039;You have to make almighty decisions when you\&#039;re the creator. I guess that would be considered a UFO. &#039; . &#039;A big cotton ball in the sky. I\&#039;m gonna add just a tiny little amount of Prussian Blue. &#039; . &#039;They say everything looks better with odd numbers of things. But sometimes I put even numbers—just &#039; . &#039;to upset the critics. We\&#039;ll lay all these little funky little things in there. &#039;</span>
  236. </code>
  237. </article>
  238. </section>
  239. <section class="phpdocumentor-properties">
  240. <h3 class="phpdocumentor-elements__header" id="properties">
  241. Properties
  242. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  243. </h3>
  244. <article
  245. class="
  246. phpdocumentor-element
  247. -property
  248. -protected
  249. "
  250. >
  251. <h4 class="phpdocumentor-element__name" id="property_FQN">
  252. $FQN
  253. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#property_FQN" class="headerlink"><i class="fas fa-link"></i></a>
  254. <span class="phpdocumentor-element__modifiers">
  255. </span>
  256. </h4>
  257. <aside class="phpdocumentor-element-found-in">
  258. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  259. :
  260. <span class="phpdocumentor-element-found-in__line">23</span>
  261. </aside>
  262. <code class="phpdocumentor-code phpdocumentor-signature ">
  263. <span class="phpdocumentor-signature__visibility">protected</span>
  264. <span class="phpdocumentor-signature__type">string</span>
  265. <span class="phpdocumentor-signature__name">$FQN</span>
  266. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Decoder\IMagickLuminanceSource::class</span></code>
  267. </article>
  268. <article
  269. class="
  270. phpdocumentor-element
  271. -property
  272. -protected
  273. "
  274. >
  275. <h4 class="phpdocumentor-element__name" id="property_options">
  276. $options
  277. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  278. <span class="phpdocumentor-element__modifiers">
  279. </span>
  280. </h4>
  281. <aside class="phpdocumentor-element-found-in">
  282. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  283. :
  284. <span class="phpdocumentor-element-found-in__line">39</span>
  285. </aside>
  286. <code class="phpdocumentor-code phpdocumentor-signature ">
  287. <span class="phpdocumentor-signature__visibility">protected</span>
  288. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr></span>
  289. <span class="phpdocumentor-signature__name">$options</span>
  290. </code>
  291. </article>
  292. <article
  293. class="
  294. phpdocumentor-element
  295. -property
  296. -private
  297. -static "
  298. >
  299. <h4 class="phpdocumentor-element__name" id="property_MAX_LENGTH">
  300. $MAX_LENGTH
  301. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#property_MAX_LENGTH" class="headerlink"><i class="fas fa-link"></i></a>
  302. <span class="phpdocumentor-element__modifiers">
  303. </span>
  304. </h4>
  305. <aside class="phpdocumentor-element-found-in">
  306. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMaxLengthTrait.php"><a href="files/tests-qrmaxlengthtrait.html"><abbr title="tests/QRMaxLengthTrait.php">QRMaxLengthTrait.php</abbr></a></abbr>
  307. :
  308. <span class="phpdocumentor-element-found-in__line">28</span>
  309. </aside>
  310. <p class="phpdocumentor-summary">ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</p>
  311. <code class="phpdocumentor-code phpdocumentor-signature ">
  312. <span class="phpdocumentor-signature__visibility">private</span>
  313. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt;</span>
  314. <span class="phpdocumentor-signature__name">$MAX_LENGTH</span>
  315. = <span class="phpdocumentor-signature__default-value">[
  316. // v =&gt; [NUMERIC =&gt; [L, M, Q, H ], ALPHANUM =&gt; [L, M, Q, H], BINARY =&gt; [L, M, Q, H ], KANJI =&gt; [L, M, Q, H ]]
  317. 1 =&gt; [[41, 34, 27, 17], [25, 20, 16, 10], [17, 14, 11, 7], [10, 8, 7, 4]],
  318. 2 =&gt; [[77, 63, 48, 34], [47, 38, 29, 20], [32, 26, 20, 14], [20, 16, 12, 8]],
  319. 3 =&gt; [[127, 101, 77, 58], [77, 61, 47, 35], [53, 42, 32, 24], [32, 26, 20, 15]],
  320. 4 =&gt; [[187, 149, 111, 82], [114, 90, 67, 50], [78, 62, 46, 34], [48, 38, 28, 21]],
  321. 5 =&gt; [[255, 202, 144, 106], [154, 122, 87, 64], [106, 84, 60, 44], [65, 52, 37, 27]],
  322. 6 =&gt; [[322, 255, 178, 139], [195, 154, 108, 84], [134, 106, 74, 58], [82, 65, 45, 36]],
  323. 7 =&gt; [[370, 293, 207, 154], [224, 178, 125, 93], [154, 122, 86, 64], [95, 75, 53, 39]],
  324. 8 =&gt; [[461, 365, 259, 202], [279, 221, 157, 122], [192, 152, 108, 84], [118, 93, 66, 52]],
  325. 9 =&gt; [[552, 432, 312, 235], [335, 262, 189, 143], [230, 180, 130, 98], [141, 111, 80, 60]],
  326. 10 =&gt; [[652, 513, 364, 288], [395, 311, 221, 174], [271, 213, 151, 119], [167, 131, 93, 74]],
  327. 11 =&gt; [[772, 604, 427, 331], [468, 366, 259, 200], [321, 251, 177, 137], [198, 155, 109, 85]],
  328. 12 =&gt; [[883, 691, 489, 374], [535, 419, 296, 227], [367, 287, 203, 155], [226, 177, 125, 96]],
  329. 13 =&gt; [[1022, 796, 580, 427], [619, 483, 352, 259], [425, 331, 241, 177], [262, 204, 149, 109]],
  330. 14 =&gt; [[1101, 871, 621, 468], [667, 528, 376, 283], [458, 362, 258, 194], [282, 223, 159, 120]],
  331. 15 =&gt; [[1250, 991, 703, 530], [758, 600, 426, 321], [520, 412, 292, 220], [320, 254, 180, 136]],
  332. 16 =&gt; [[1408, 1082, 775, 602], [854, 656, 470, 365], [586, 450, 322, 250], [361, 277, 198, 154]],
  333. 17 =&gt; [[1548, 1212, 876, 674], [938, 734, 531, 408], [644, 504, 364, 280], [397, 310, 224, 173]],
  334. 18 =&gt; [[1725, 1346, 948, 746], [1046, 816, 574, 452], [718, 560, 394, 310], [442, 345, 243, 191]],
  335. 19 =&gt; [[1903, 1500, 1063, 813], [1153, 909, 644, 493], [792, 624, 442, 338], [488, 384, 272, 208]],
  336. 20 =&gt; [[2061, 1600, 1159, 919], [1249, 970, 702, 557], [858, 666, 482, 382], [528, 410, 297, 235]],
  337. 21 =&gt; [[2232, 1708, 1224, 969], [1352, 1035, 742, 587], [929, 711, 509, 403], [572, 438, 314, 248]],
  338. 22 =&gt; [[2409, 1872, 1358, 1056], [1460, 1134, 823, 640], [1003, 779, 565, 439], [618, 480, 348, 270]],
  339. 23 =&gt; [[2620, 2059, 1468, 1108], [1588, 1248, 890, 672], [1091, 857, 611, 461], [672, 528, 376, 284]],
  340. 24 =&gt; [[2812, 2188, 1588, 1228], [1704, 1326, 963, 744], [1171, 911, 661, 511], [721, 561, 407, 315]],
  341. 25 =&gt; [[3057, 2395, 1718, 1286], [1853, 1451, 1041, 779], [1273, 997, 715, 535], [784, 614, 440, 330]],
  342. 26 =&gt; [[3283, 2544, 1804, 1425], [1990, 1542, 1094, 864], [1367, 1059, 751, 593], [842, 652, 462, 365]],
  343. 27 =&gt; [[3517, 2701, 1933, 1501], [2132, 1637, 1172, 910], [1465, 1125, 805, 625], [902, 692, 496, 385]],
  344. 28 =&gt; [[3669, 2857, 2085, 1581], [2223, 1732, 1263, 958], [1528, 1190, 868, 658], [940, 732, 534, 405]],
  345. 29 =&gt; [[3909, 3035, 2181, 1677], [2369, 1839, 1322, 1016], [1628, 1264, 908, 698], [1002, 778, 559, 430]],
  346. 30 =&gt; [[4158, 3289, 2358, 1782], [2520, 1994, 1429, 1080], [1732, 1370, 982, 742], [1066, 843, 604, 457]],
  347. 31 =&gt; [[4417, 3486, 2473, 1897], [2677, 2113, 1499, 1150], [1840, 1452, 1030, 790], [1132, 894, 634, 486]],
  348. 32 =&gt; [[4686, 3693, 2670, 2022], [2840, 2238, 1618, 1226], [1952, 1538, 1112, 842], [1201, 947, 684, 518]],
  349. 33 =&gt; [[4965, 3909, 2805, 2157], [3009, 2369, 1700, 1307], [2068, 1628, 1168, 898], [1273, 1002, 719, 553]],
  350. 34 =&gt; [[5253, 4134, 2949, 2301], [3183, 2506, 1787, 1394], [2188, 1722, 1228, 958], [1347, 1060, 756, 590]],
  351. 35 =&gt; [[5529, 4343, 3081, 2361], [3351, 2632, 1867, 1431], [2303, 1809, 1283, 983], [1417, 1113, 790, 605]],
  352. 36 =&gt; [[5836, 4588, 3244, 2524], [3537, 2780, 1966, 1530], [2431, 1911, 1351, 1051], [1496, 1176, 832, 647]],
  353. 37 =&gt; [[6153, 4775, 3417, 2625], [3729, 2894, 2071, 1591], [2563, 1989, 1423, 1093], [1577, 1224, 876, 673]],
  354. 38 =&gt; [[6479, 5039, 3599, 2735], [3927, 3054, 2181, 1658], [2699, 2099, 1499, 1139], [1661, 1292, 923, 701]],
  355. 39 =&gt; [[6743, 5313, 3791, 2927], [4087, 3220, 2298, 1774], [2809, 2213, 1579, 1219], [1729, 1362, 972, 750]],
  356. 40 =&gt; [[7089, 5596, 3993, 3057], [4296, 3391, 2420, 1852], [2953, 2331, 1663, 1273], [1817, 1435, 1024, 784]],
  357. ]</span></code>
  358. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  359. Tags
  360. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#property_MAX_LENGTH#tags" class="headerlink"><i class="fas fa-link"></i></a>
  361. </h5>
  362. <dl class="phpdocumentor-tag-list">
  363. <dt class="phpdocumentor-tag-list__entry">
  364. <span class="phpdocumentor-tag__name">see</span>
  365. </dt>
  366. <dd class="phpdocumentor-tag-list__definition">
  367. <span class="phpdocumentor-tag-link"><a href="http://www.qrcode.com/en/about/version.html">http://www.qrcode.com/en/about/version.html</a></span>
  368. </dd>
  369. </dl>
  370. </article>
  371. </section>
  372. <section class="phpdocumentor-methods">
  373. <h3 class="phpdocumentor-elements__header" id="methods">
  374. Methods
  375. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  376. </h3>
  377. <article
  378. class="phpdocumentor-element
  379. -method
  380. -public
  381. -static "
  382. >
  383. <h4 class="phpdocumentor-element__name" id="method_dataTestProvider">
  384. dataTestProvider()
  385. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider" class="headerlink"><i class="fas fa-link"></i></a>
  386. </h4>
  387. <aside class="phpdocumentor-element-found-in">
  388. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  389. :
  390. <span class="phpdocumentor-element-found-in__line">121</span>
  391. </aside>
  392. <code class="phpdocumentor-code phpdocumentor-signature ">
  393. <span class="phpdocumentor-signature__visibility">public</span>
  394. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">dataTestProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
  395. <div class="phpdocumentor-label-line">
  396. </div>
  397. <section>
  398. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  399. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  400. </section>
  401. </article>
  402. <article
  403. class="phpdocumentor-element
  404. -method
  405. -public
  406. -static "
  407. >
  408. <h4 class="phpdocumentor-element__name" id="method_getMaxLengthForMode">
  409. getMaxLengthForMode()
  410. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode" class="headerlink"><i class="fas fa-link"></i></a>
  411. </h4>
  412. <aside class="phpdocumentor-element-found-in">
  413. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMaxLengthTrait.php"><a href="files/tests-qrmaxlengthtrait.html"><abbr title="tests/QRMaxLengthTrait.php">QRMaxLengthTrait.php</abbr></a></abbr>
  414. :
  415. <span class="phpdocumentor-element-found-in__line">81</span>
  416. </aside>
  417. <p class="phpdocumentor-summary">the maximum character count for the given $mode and $eccLevel</p>
  418. <code class="phpdocumentor-code phpdocumentor-signature ">
  419. <span class="phpdocumentor-signature__visibility">public</span>
  420. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getMaxLengthForMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mode</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  421. <div class="phpdocumentor-label-line">
  422. </div>
  423. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  424. <dl class="phpdocumentor-argument-list">
  425. <dt class="phpdocumentor-argument-list__entry">
  426. <span class="phpdocumentor-signature__argument__name">$mode</span>
  427. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  428. </dt>
  429. <dd class="phpdocumentor-argument-list__definition">
  430. </dd>
  431. <dt class="phpdocumentor-argument-list__entry">
  432. <span class="phpdocumentor-signature__argument__name">$version</span>
  433. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  434. </dt>
  435. <dd class="phpdocumentor-argument-list__definition">
  436. </dd>
  437. <dt class="phpdocumentor-argument-list__entry">
  438. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  439. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  440. </dt>
  441. <dd class="phpdocumentor-argument-list__definition">
  442. </dd>
  443. </dl>
  444. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  445. Tags
  446. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  447. </h5>
  448. <dl class="phpdocumentor-tag-list">
  449. <dt class="phpdocumentor-tag-list__entry">
  450. <span class="phpdocumentor-tag__name">todo:</span>
  451. </dt>
  452. <dd class="phpdocumentor-tag-list__definition">
  453. <section class="phpdocumentor-description"><p>this methood is only used in unit tests (incl. MAX_LENGTH table)</p>
  454. </section>
  455. </dd>
  456. <dt class="phpdocumentor-tag-list__entry">
  457. <span class="phpdocumentor-tag__name">throws</span>
  458. </dt>
  459. <dd class="phpdocumentor-tag-list__definition">
  460. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  461. </dd>
  462. <dt class="phpdocumentor-tag-list__entry">
  463. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  464. </dt>
  465. <dd class="phpdocumentor-tag-list__definition">
  466. </dd>
  467. </dl>
  468. <section>
  469. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  470. <span class="phpdocumentor-signature__response_type">int</span>
  471. </section>
  472. </article>
  473. <article
  474. class="phpdocumentor-element
  475. -method
  476. -public
  477. -static "
  478. >
  479. <h4 class="phpdocumentor-element__name" id="method_qrCodeProvider">
  480. qrCodeProvider()
  481. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider" class="headerlink"><i class="fas fa-link"></i></a>
  482. </h4>
  483. <aside class="phpdocumentor-element-found-in">
  484. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  485. :
  486. <span class="phpdocumentor-element-found-in__line">52</span>
  487. </aside>
  488. <code class="phpdocumentor-code phpdocumentor-signature ">
  489. <span class="phpdocumentor-signature__visibility">public</span>
  490. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">qrCodeProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  491. <div class="phpdocumentor-label-line">
  492. </div>
  493. <section>
  494. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  495. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  496. </section>
  497. </article>
  498. <article
  499. class="phpdocumentor-element
  500. -method
  501. -public
  502. "
  503. >
  504. <h4 class="phpdocumentor-element__name" id="method_testReadData">
  505. testReadData()
  506. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData" class="headerlink"><i class="fas fa-link"></i></a>
  507. </h4>
  508. <aside class="phpdocumentor-element-found-in">
  509. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  510. :
  511. <span class="phpdocumentor-element-found-in__line">147</span>
  512. </aside>
  513. <code class="phpdocumentor-code phpdocumentor-signature ">
  514. <span class="phpdocumentor-signature__visibility">public</span>
  515. <span class="phpdocumentor-signature__name">testReadData</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$ecc</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  516. <div class="phpdocumentor-label-line">
  517. </div>
  518. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  519. <dl class="phpdocumentor-argument-list">
  520. <dt class="phpdocumentor-argument-list__entry">
  521. <span class="phpdocumentor-signature__argument__name">$version</span>
  522. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  523. </dt>
  524. <dd class="phpdocumentor-argument-list__definition">
  525. </dd>
  526. <dt class="phpdocumentor-argument-list__entry">
  527. <span class="phpdocumentor-signature__argument__name">$ecc</span>
  528. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  529. </dt>
  530. <dd class="phpdocumentor-argument-list__definition">
  531. </dd>
  532. <dt class="phpdocumentor-argument-list__entry">
  533. <span class="phpdocumentor-signature__argument__name">$expected</span>
  534. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  535. </dt>
  536. <dd class="phpdocumentor-argument-list__definition">
  537. </dd>
  538. </dl>
  539. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  540. Tags
  541. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData#tags" class="headerlink"><i class="fas fa-link"></i></a>
  542. </h5>
  543. <dl class="phpdocumentor-tag-list">
  544. <dt class="phpdocumentor-tag-list__entry">
  545. <span class="phpdocumentor-tag__name">group</span>
  546. </dt>
  547. <dd class="phpdocumentor-tag-list__definition">
  548. <section class="phpdocumentor-description"><p>slow</p>
  549. </section>
  550. </dd>
  551. <dt class="phpdocumentor-tag-list__entry">
  552. <span class="phpdocumentor-tag__name">dataProvider</span>
  553. </dt>
  554. <dd class="phpdocumentor-tag-list__definition">
  555. <section class="phpdocumentor-description"><p>dataTestProvider</p>
  556. </section>
  557. </dd>
  558. </dl>
  559. </article>
  560. <article
  561. class="phpdocumentor-element
  562. -method
  563. -public
  564. "
  565. >
  566. <h4 class="phpdocumentor-element__name" id="method_testReader">
  567. testReader()
  568. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader" class="headerlink"><i class="fas fa-link"></i></a>
  569. </h4>
  570. <aside class="phpdocumentor-element-found-in">
  571. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  572. :
  573. <span class="phpdocumentor-element-found-in__line">83</span>
  574. </aside>
  575. <code class="phpdocumentor-code phpdocumentor-signature ">
  576. <span class="phpdocumentor-signature__visibility">public</span>
  577. <span class="phpdocumentor-signature__name">testReader</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$img</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$grayscale</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  578. <div class="phpdocumentor-label-line">
  579. </div>
  580. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  581. <dl class="phpdocumentor-argument-list">
  582. <dt class="phpdocumentor-argument-list__entry">
  583. <span class="phpdocumentor-signature__argument__name">$img</span>
  584. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  585. </dt>
  586. <dd class="phpdocumentor-argument-list__definition">
  587. </dd>
  588. <dt class="phpdocumentor-argument-list__entry">
  589. <span class="phpdocumentor-signature__argument__name">$expected</span>
  590. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  591. </dt>
  592. <dd class="phpdocumentor-argument-list__definition">
  593. </dd>
  594. <dt class="phpdocumentor-argument-list__entry">
  595. <span class="phpdocumentor-signature__argument__name">$grayscale</span>
  596. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  597. </dt>
  598. <dd class="phpdocumentor-argument-list__definition">
  599. </dd>
  600. </dl>
  601. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  602. Tags
  603. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader#tags" class="headerlink"><i class="fas fa-link"></i></a>
  604. </h5>
  605. <dl class="phpdocumentor-tag-list">
  606. <dt class="phpdocumentor-tag-list__entry">
  607. <span class="phpdocumentor-tag__name">group</span>
  608. </dt>
  609. <dd class="phpdocumentor-tag-list__definition">
  610. <section class="phpdocumentor-description"><p>slow</p>
  611. </section>
  612. </dd>
  613. <dt class="phpdocumentor-tag-list__entry">
  614. <span class="phpdocumentor-tag__name">dataProvider</span>
  615. </dt>
  616. <dd class="phpdocumentor-tag-list__definition">
  617. <section class="phpdocumentor-description"><p>qrCodeProvider</p>
  618. </section>
  619. </dd>
  620. </dl>
  621. </article>
  622. <article
  623. class="phpdocumentor-element
  624. -method
  625. -public
  626. "
  627. >
  628. <h4 class="phpdocumentor-element__name" id="method_testReaderMultiMode">
  629. testReaderMultiMode()
  630. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode" class="headerlink"><i class="fas fa-link"></i></a>
  631. </h4>
  632. <aside class="phpdocumentor-element-found-in">
  633. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderTestAbstract.php"><a href="files/tests-qrcodereadertestabstract.html"><abbr title="tests/QRCodeReaderTestAbstract.php">QRCodeReaderTestAbstract.php</abbr></a></abbr>
  634. :
  635. <span class="phpdocumentor-element-found-in__line">98</span>
  636. </aside>
  637. <code class="phpdocumentor-code phpdocumentor-signature ">
  638. <span class="phpdocumentor-signature__visibility">public</span>
  639. <span class="phpdocumentor-signature__name">testReaderMultiMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  640. <div class="phpdocumentor-label-line">
  641. </div>
  642. </article>
  643. <article
  644. class="phpdocumentor-element
  645. -method
  646. -public
  647. "
  648. >
  649. <h4 class="phpdocumentor-element__name" id="method_testReadVectorFormats">
  650. testReadVectorFormats()
  651. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats" 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/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  655. :
  656. <span class="phpdocumentor-element-found-in__line">49</span>
  657. </aside>
  658. <code class="phpdocumentor-code phpdocumentor-signature ">
  659. <span class="phpdocumentor-signature__visibility">public</span>
  660. <span class="phpdocumentor-signature__name">testReadVectorFormats</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$img</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  661. <div class="phpdocumentor-label-line">
  662. </div>
  663. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  664. <dl class="phpdocumentor-argument-list">
  665. <dt class="phpdocumentor-argument-list__entry">
  666. <span class="phpdocumentor-signature__argument__name">$img</span>
  667. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  668. </dt>
  669. <dd class="phpdocumentor-argument-list__definition">
  670. </dd>
  671. <dt class="phpdocumentor-argument-list__entry">
  672. <span class="phpdocumentor-signature__argument__name">$expected</span>
  673. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  674. </dt>
  675. <dd class="phpdocumentor-argument-list__definition">
  676. </dd>
  677. </dl>
  678. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  679. Tags
  680. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats#tags" class="headerlink"><i class="fas fa-link"></i></a>
  681. </h5>
  682. <dl class="phpdocumentor-tag-list">
  683. <dt class="phpdocumentor-tag-list__entry">
  684. <span class="phpdocumentor-tag__name">dataProvider</span>
  685. </dt>
  686. <dd class="phpdocumentor-tag-list__definition">
  687. <section class="phpdocumentor-description"><p>vectorQRCodeProvider</p>
  688. </section>
  689. </dd>
  690. </dl>
  691. </article>
  692. <article
  693. class="phpdocumentor-element
  694. -method
  695. -public
  696. -static "
  697. >
  698. <h4 class="phpdocumentor-element__name" id="method_vectorQRCodeProvider">
  699. vectorQRCodeProvider()
  700. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider" class="headerlink"><i class="fas fa-link"></i></a>
  701. </h4>
  702. <aside class="phpdocumentor-element-found-in">
  703. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  704. :
  705. <span class="phpdocumentor-element-found-in__line">36</span>
  706. </aside>
  707. <code class="phpdocumentor-code phpdocumentor-signature ">
  708. <span class="phpdocumentor-signature__visibility">public</span>
  709. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">vectorQRCodeProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  710. <div class="phpdocumentor-label-line">
  711. </div>
  712. <section>
  713. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  714. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  715. </section>
  716. </article>
  717. <article
  718. class="phpdocumentor-element
  719. -method
  720. -protected
  721. "
  722. >
  723. <h4 class="phpdocumentor-element__name" id="method_setUp">
  724. setUp()
  725. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  726. </h4>
  727. <aside class="phpdocumentor-element-found-in">
  728. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeReaderImagickTest.php"><a href="files/tests-qrcodereaderimagicktest.html"><abbr title="tests/QRCodeReaderImagickTest.php">QRCodeReaderImagickTest.php</abbr></a></abbr>
  729. :
  730. <span class="phpdocumentor-element-found-in__line">25</span>
  731. </aside>
  732. <code class="phpdocumentor-code phpdocumentor-signature ">
  733. <span class="phpdocumentor-signature__visibility">protected</span>
  734. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  735. <div class="phpdocumentor-label-line">
  736. </div>
  737. </article>
  738. </section>
  739. <div class="phpdocumentor-modal" id="source-view">
  740. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  741. <div class="phpdocumentor-modal-container">
  742. <div class="phpdocumentor-modal-content">
  743. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/QRCodeReaderImagickTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  744. </div>
  745. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  746. </div>
  747. </div>
  748. <script type="text/javascript">
  749. (function () {
  750. function loadExternalCodeSnippet(el, url, line) {
  751. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  752. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  753. const language = 'php';
  754. const code = document.createElement('code');
  755. code.className = 'language-' + language;
  756. pre.textContent = '';
  757. pre.setAttribute('data-line', line)
  758. code.textContent = 'Loading…';
  759. pre.appendChild(code);
  760. var xhr = new XMLHttpRequest();
  761. xhr.open('GET', src, true);
  762. xhr.onreadystatechange = function () {
  763. if (xhr.readyState !== 4) {
  764. return;
  765. }
  766. if (xhr.status < 400 && xhr.responseText) {
  767. code.textContent = xhr.responseText;
  768. Prism.highlightElement(code);
  769. return;
  770. }
  771. if (xhr.status === 404) {
  772. code.textContent = '✖ Error: File could not be found';
  773. return;
  774. }
  775. if (xhr.status >= 400) {
  776. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  777. return;
  778. }
  779. code.textContent = '✖ Error: An unknown error occurred';
  780. };
  781. xhr.send(null);
  782. });
  783. }
  784. const modalButtons = document.querySelectorAll("[data-modal]");
  785. const openedAsLocalFile = window.location.protocol === 'file:';
  786. if (modalButtons.length > 0 && openedAsLocalFile) {
  787. console.warn(
  788. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  789. 'browsers block XHR requests when a page is opened this way'
  790. );
  791. }
  792. modalButtons.forEach(function (trigger) {
  793. if (openedAsLocalFile) {
  794. trigger.setAttribute("hidden", "hidden");
  795. }
  796. trigger.addEventListener("click", function (event) {
  797. event.preventDefault();
  798. const modal = document.getElementById(trigger.dataset.modal);
  799. if (!modal) {
  800. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  801. return;
  802. }
  803. modal.classList.add("phpdocumentor-modal__open");
  804. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  805. const exits = modal.querySelectorAll("[data-exit-button]");
  806. exits.forEach(function (exit) {
  807. exit.addEventListener("click", function (event) {
  808. event.preventDefault();
  809. modal.classList.remove("phpdocumentor-modal__open");
  810. });
  811. });
  812. });
  813. });
  814. })();
  815. </script>
  816. </article>
  817. </section>
  818. <section class="phpdocumentor-on-this-page__sidebar">
  819. <section class="phpdocumentor-on-this-page__content">
  820. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  821. <ul class="phpdocumentor-list -clean">
  822. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  823. <li>
  824. <ul class="phpdocumentor-list -clean">
  825. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-constants">Constants</a></li>
  826. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-properties">Properties</a></li>
  827. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#toc-methods">Methods</a></li>
  828. </ul>
  829. </li>
  830. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  831. <li>
  832. <ul class="phpdocumentor-list -clean">
  833. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#constant_loremipsum">loremipsum</a></li>
  834. </ul>
  835. </li>
  836. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  837. <li>
  838. <ul class="phpdocumentor-list -clean">
  839. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#property_FQN">$FQN<a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html"></li>
  840. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#property_options">$options<a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html"></li>
  841. <li><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#property_MAX_LENGTH">$MAX_LENGTH<a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html"></li>
  842. </ul>
  843. </li>
  844. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  845. <li>
  846. <ul class="phpdocumentor-list -clean">
  847. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_dataTestProvider">dataTestProvider()</a></li>
  848. <li><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  849. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_qrCodeProvider">qrCodeProvider()</a></li>
  850. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReadData">testReadData()</a></li>
  851. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReader">testReader()</a></li>
  852. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html#method_testReaderMultiMode">testReaderMultiMode()</a></li>
  853. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_testReadVectorFormats">testReadVectorFormats()</a></li>
  854. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_vectorQRCodeProvider">vectorQRCodeProvider()</a></li>
  855. <li><a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#method_setUp">setUp()</a></li>
  856. </ul>
  857. </li>
  858. </ul>
  859. </section>
  860. </section>
  861. </div>
  862. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  863. <section class="phpdocumentor-search-results__dialog">
  864. <header class="phpdocumentor-search-results__header">
  865. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  866. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  867. </header>
  868. <section class="phpdocumentor-search-results__body">
  869. <ul class="phpdocumentor-search-results__entries"></ul>
  870. </section>
  871. </section>
  872. </section>
  873. </div>
  874. <a href="classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  875. </main>
  876. <script>
  877. cssVars({});
  878. </script>
  879. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  880. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  881. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  882. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  883. </body>
  884. </html>