chillerlan-QRCodeTest-Data-NumberTest.html 90 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  111. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-data.html">Data</a></li>
  112. </ul>
  113. <article class="phpdocumentor-element -class">
  114. <h2 class="phpdocumentor-content__title">
  115. NumberTest
  116. <span class="phpdocumentor-element__extends">
  117. extends <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\Data\DataInterfaceTestAbstract">DataInterfaceTestAbstract</abbr></a>
  118. </span>
  119. <div class="phpdocumentor-element__package">
  120. in package
  121. <ul class="phpdocumentor-breadcrumbs">
  122. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  123. </ul>
  124. </div>
  125. </h2>
  126. <div class="phpdocumentor-label-line">
  127. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  128. </div>
  129. <aside class="phpdocumentor-element-found-in">
  130. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/NumberTest.php"><a href="files/tests-data-numbertest.html"><abbr title="tests/Data/NumberTest.php">NumberTest.php</abbr></a></abbr>
  131. :
  132. <span class="phpdocumentor-element-found-in__line">20</span>
  133. </aside>
  134. <p class="phpdocumentor-summary">Tests the Number class</p>
  135. <h3 id="toc">
  136. Table of Contents
  137. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  138. </h3>
  139. <h4 id="toc-constants">
  140. Constants
  141. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  142. </h4>
  143. <dl class="phpdocumentor-table-of-contents">
  144. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  145. <a class="" href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH">MAX_LENGTH</a>
  146. <span>
  147. &nbsp;= [
  148. // 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 ]]
  149. 1 =&gt; [[41, 34, 27, 17], [25, 20, 16, 10], [17, 14, 11, 7], [10, 8, 7, 4]],
  150. 2 =&gt; [[77, 63, 48, 34], [47, 38, 29, 20], [32, 26, 20, 14], [20, 16, 12, 8]],
  151. 3 =&gt; [[127, 101, 77, 58], [77, 61, 47, 35], [53, 42, 32, 24], [32, 26, 20, 15]],
  152. 4 =&gt; [[187, 149, 111, 82], [114, 90, 67, 50], [78, 62, 46, 34], [48, 38, 28, 21]],
  153. 5 =&gt; [[255, 202, 144, 106], [154, 122, 87, 64], [106, 84, 60, 44], [65, 52, 37, 27]],
  154. 6 =&gt; [[322, 255, 178, 139], [195, 154, 108, 84], [134, 106, 74, 58], [82, 65, 45, 36]],
  155. 7 =&gt; [[370, 293, 207, 154], [224, 178, 125, 93], [154, 122, 86, 64], [95, 75, 53, 39]],
  156. 8 =&gt; [[461, 365, 259, 202], [279, 221, 157, 122], [192, 152, 108, 84], [118, 93, 66, 52]],
  157. 9 =&gt; [[552, 432, 312, 235], [335, 262, 189, 143], [230, 180, 130, 98], [141, 111, 80, 60]],
  158. 10 =&gt; [[652, 513, 364, 288], [395, 311, 221, 174], [271, 213, 151, 119], [167, 131, 93, 74]],
  159. 11 =&gt; [[772, 604, 427, 331], [468, 366, 259, 200], [321, 251, 177, 137], [198, 155, 109, 85]],
  160. 12 =&gt; [[883, 691, 489, 374], [535, 419, 296, 227], [367, 287, 203, 155], [226, 177, 125, 96]],
  161. 13 =&gt; [[1022, 796, 580, 427], [619, 483, 352, 259], [425, 331, 241, 177], [262, 204, 149, 109]],
  162. 14 =&gt; [[1101, 871, 621, 468], [667, 528, 376, 283], [458, 362, 258, 194], [282, 223, 159, 120]],
  163. 15 =&gt; [[1250, 991, 703, 530], [758, 600, 426, 321], [520, 412, 292, 220], [320, 254, 180, 136]],
  164. 16 =&gt; [[1408, 1082, 775, 602], [854, 656, 470, 365], [586, 450, 322, 250], [361, 277, 198, 154]],
  165. 17 =&gt; [[1548, 1212, 876, 674], [938, 734, 531, 408], [644, 504, 364, 280], [397, 310, 224, 173]],
  166. 18 =&gt; [[1725, 1346, 948, 746], [1046, 816, 574, 452], [718, 560, 394, 310], [442, 345, 243, 191]],
  167. 19 =&gt; [[1903, 1500, 1063, 813], [1153, 909, 644, 493], [792, 624, 442, 338], [488, 384, 272, 208]],
  168. 20 =&gt; [[2061, 1600, 1159, 919], [1249, 970, 702, 557], [858, 666, 482, 382], [528, 410, 297, 235]],
  169. 21 =&gt; [[2232, 1708, 1224, 969], [1352, 1035, 742, 587], [929, 711, 509, 403], [572, 438, 314, 248]],
  170. 22 =&gt; [[2409, 1872, 1358, 1056], [1460, 1134, 823, 640], [1003, 779, 565, 439], [618, 480, 348, 270]],
  171. 23 =&gt; [[2620, 2059, 1468, 1108], [1588, 1248, 890, 672], [1091, 857, 611, 461], [672, 528, 376, 284]],
  172. 24 =&gt; [[2812, 2188, 1588, 1228], [1704, 1326, 963, 744], [1171, 911, 661, 511], [721, 561, 407, 315]],
  173. 25 =&gt; [[3057, 2395, 1718, 1286], [1853, 1451, 1041, 779], [1273, 997, 715, 535], [784, 614, 440, 330]],
  174. 26 =&gt; [[3283, 2544, 1804, 1425], [1990, 1542, 1094, 864], [1367, 1059, 751, 593], [842, 652, 462, 365]],
  175. 27 =&gt; [[3517, 2701, 1933, 1501], [2132, 1637, 1172, 910], [1465, 1125, 805, 625], [902, 692, 496, 385]],
  176. 28 =&gt; [[3669, 2857, 2085, 1581], [2223, 1732, 1263, 958], [1528, 1190, 868, 658], [940, 732, 534, 405]],
  177. 29 =&gt; [[3909, 3035, 2181, 1677], [2369, 1839, 1322, 1016], [1628, 1264, 908, 698], [1002, 778, 559, 430]],
  178. 30 =&gt; [[4158, 3289, 2358, 1782], [2520, 1994, 1429, 1080], [1732, 1370, 982, 742], [1066, 843, 604, 457]],
  179. 31 =&gt; [[4417, 3486, 2473, 1897], [2677, 2113, 1499, 1150], [1840, 1452, 1030, 790], [1132, 894, 634, 486]],
  180. 32 =&gt; [[4686, 3693, 2670, 2022], [2840, 2238, 1618, 1226], [1952, 1538, 1112, 842], [1201, 947, 684, 518]],
  181. 33 =&gt; [[4965, 3909, 2805, 2157], [3009, 2369, 1700, 1307], [2068, 1628, 1168, 898], [1273, 1002, 719, 553]],
  182. 34 =&gt; [[5253, 4134, 2949, 2301], [3183, 2506, 1787, 1394], [2188, 1722, 1228, 958], [1347, 1060, 756, 590]],
  183. 35 =&gt; [[5529, 4343, 3081, 2361], [3351, 2632, 1867, 1431], [2303, 1809, 1283, 983], [1417, 1113, 790, 605]],
  184. 36 =&gt; [[5836, 4588, 3244, 2524], [3537, 2780, 1966, 1530], [2431, 1911, 1351, 1051], [1496, 1176, 832, 647]],
  185. 37 =&gt; [[6153, 4775, 3417, 2625], [3729, 2894, 2071, 1591], [2563, 1989, 1423, 1093], [1577, 1224, 876, 673]],
  186. 38 =&gt; [[6479, 5039, 3599, 2735], [3927, 3054, 2181, 1658], [2699, 2099, 1499, 1139], [1661, 1292, 923, 701]],
  187. 39 =&gt; [[6743, 5313, 3791, 2927], [4087, 3220, 2298, 1774], [2809, 2213, 1579, 1219], [1729, 1362, 972, 750]],
  188. 40 =&gt; [[7089, 5596, 3993, 3057], [4296, 3391, 2420, 1852], [2953, 2331, 1663, 1273], [1817, 1435, 1024, 784]],
  189. ] </span>
  190. </dt>
  191. <dd>ISO/IEC 18004:2000 Tables 7-11 - Number of symbol characters and input data capacity for versions 1 to 40</dd>
  192. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  193. <a class="" href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#constant_testData">testData</a>
  194. <span>
  195. &nbsp;= &#039;0123456789&#039; </span>
  196. </dt>
  197. </dl>
  198. <h4 id="toc-properties">
  199. Properties
  200. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  201. </h4>
  202. <dl class="phpdocumentor-table-of-contents">
  203. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  204. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode">$dataMode</a>
  205. <span>
  206. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  207. </dt>
  208. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  209. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData">$QRData</a>
  210. <span>
  211. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRData.html"><abbr title="\chillerlan\QRCode\Data\QRData">QRData</abbr></a> </span>
  212. </dt>
  213. </dl>
  214. <h4 id="toc-methods">
  215. Methods
  216. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  217. </h4>
  218. <dl class="phpdocumentor-table-of-contents">
  219. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  220. <a class="" href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a>
  221. <span>
  222. &nbsp;: int </span>
  223. </dt>
  224. <dd>the maximum character count for the given $mode and $eccLevel</dd>
  225. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  226. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a>
  227. <span>
  228. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  229. </dt>
  230. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  231. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a>
  232. <span>
  233. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  234. </dt>
  235. <dd>Generates test data for each data mode:</dd>
  236. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  237. <a class="" href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_stringValidateProvider">stringValidateProvider()</a>
  238. <span>
  239. &nbsp;: array&lt;string|int, mixed&gt; </span>
  240. </dt>
  241. <dd>isNumber() should pass on any number and fail on anything else</dd>
  242. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  243. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid">testBinaryStringInvalid()</a>
  244. <span>
  245. &nbsp;: void </span>
  246. </dt>
  247. <dd>Tests if a random binary string is properly validated as false</dd>
  248. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  249. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment">testDecodeSegment()</a>
  250. <span>
  251. &nbsp;: void </span>
  252. </dt>
  253. <dd>Tests decoding a data segment from a given BitBuffer</dd>
  254. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  255. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion">testGetMinimumVersion()</a>
  256. <span>
  257. &nbsp;: void </span>
  258. </dt>
  259. <dd>Tests getting the minimum QR version for the given data</dd>
  260. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  261. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException">testGetMinimumVersionException()</a>
  262. <span>
  263. &nbsp;: void </span>
  264. </dt>
  265. <dd>Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</dd>
  266. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  267. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix">testInitMatrix()</a>
  268. <span>
  269. &nbsp;: void </span>
  270. </dt>
  271. <dd>Tests initializing the data matrix</dd>
  272. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  273. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataException">testInvalidDataException()</a>
  274. <span>
  275. &nbsp;: void </span>
  276. </dt>
  277. <dd>Tests if an exception is thrown when an invalid character is encountered</dd>
  278. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  279. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException">testInvalidDataOnEmptyException()</a>
  280. <span>
  281. &nbsp;: void </span>
  282. </dt>
  283. <dd>Tests if an exception is thrown if the given string is empty</dd>
  284. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  285. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength">testMaxLength()</a>
  286. <span>
  287. &nbsp;: void </span>
  288. </dt>
  289. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  290. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException">testMaxLengthOverflowException()</a>
  291. <span>
  292. &nbsp;: void </span>
  293. </dt>
  294. <dd>Tests if an exception is thrown on data overflow</dd>
  295. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  296. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString">testValidateString()</a>
  297. <span>
  298. &nbsp;: void </span>
  299. </dt>
  300. <dd>Tests if a string is properly validated for the respective data mode</dd>
  301. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  302. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a>
  303. <span>
  304. &nbsp;: array&lt;string|int, mixed&gt; </span>
  305. </dt>
  306. <dd>returns versions within the version breakpoints 1-9, 10-26 and 27-40</dd>
  307. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  308. <a class="" href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_getDataModeInterface">getDataModeInterface()</a>
  309. <span>
  310. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  311. </dt>
  312. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  313. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a>
  314. <span>
  315. &nbsp;: void </span>
  316. </dt>
  317. </dl>
  318. <section class="phpdocumentor-constants">
  319. <h3 class="phpdocumentor-elements__header" id="constants">
  320. Constants
  321. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  322. </h3>
  323. <article class="phpdocumentor-element -constant -protected ">
  324. <h4 class="phpdocumentor-element__name" id="constant_MAX_LENGTH">
  325. MAX_LENGTH
  326. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH" class="headerlink"><i class="fas fa-link"></i></a>
  327. </h4>
  328. <aside class="phpdocumentor-element-found-in">
  329. <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>
  330. :
  331. <span class="phpdocumentor-element-found-in__line">29</span>
  332. </aside>
  333. <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>
  334. <code class="phpdocumentor-signature phpdocumentor-code ">
  335. <span class="phpdocumentor-signature__visibility">protected</span>
  336. <span class="phpdocumentor-signature__type">array&lt;string|int, array&lt;string|int, array&lt;string|int, int&gt;&gt;&gt;</span>
  337. <span class="phpdocumentor-signature__name">MAX_LENGTH</span>
  338. = <span class="phpdocumentor-signature__default-value">[
  339. // 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 ]]
  340. 1 =&gt; [[41, 34, 27, 17], [25, 20, 16, 10], [17, 14, 11, 7], [10, 8, 7, 4]],
  341. 2 =&gt; [[77, 63, 48, 34], [47, 38, 29, 20], [32, 26, 20, 14], [20, 16, 12, 8]],
  342. 3 =&gt; [[127, 101, 77, 58], [77, 61, 47, 35], [53, 42, 32, 24], [32, 26, 20, 15]],
  343. 4 =&gt; [[187, 149, 111, 82], [114, 90, 67, 50], [78, 62, 46, 34], [48, 38, 28, 21]],
  344. 5 =&gt; [[255, 202, 144, 106], [154, 122, 87, 64], [106, 84, 60, 44], [65, 52, 37, 27]],
  345. 6 =&gt; [[322, 255, 178, 139], [195, 154, 108, 84], [134, 106, 74, 58], [82, 65, 45, 36]],
  346. 7 =&gt; [[370, 293, 207, 154], [224, 178, 125, 93], [154, 122, 86, 64], [95, 75, 53, 39]],
  347. 8 =&gt; [[461, 365, 259, 202], [279, 221, 157, 122], [192, 152, 108, 84], [118, 93, 66, 52]],
  348. 9 =&gt; [[552, 432, 312, 235], [335, 262, 189, 143], [230, 180, 130, 98], [141, 111, 80, 60]],
  349. 10 =&gt; [[652, 513, 364, 288], [395, 311, 221, 174], [271, 213, 151, 119], [167, 131, 93, 74]],
  350. 11 =&gt; [[772, 604, 427, 331], [468, 366, 259, 200], [321, 251, 177, 137], [198, 155, 109, 85]],
  351. 12 =&gt; [[883, 691, 489, 374], [535, 419, 296, 227], [367, 287, 203, 155], [226, 177, 125, 96]],
  352. 13 =&gt; [[1022, 796, 580, 427], [619, 483, 352, 259], [425, 331, 241, 177], [262, 204, 149, 109]],
  353. 14 =&gt; [[1101, 871, 621, 468], [667, 528, 376, 283], [458, 362, 258, 194], [282, 223, 159, 120]],
  354. 15 =&gt; [[1250, 991, 703, 530], [758, 600, 426, 321], [520, 412, 292, 220], [320, 254, 180, 136]],
  355. 16 =&gt; [[1408, 1082, 775, 602], [854, 656, 470, 365], [586, 450, 322, 250], [361, 277, 198, 154]],
  356. 17 =&gt; [[1548, 1212, 876, 674], [938, 734, 531, 408], [644, 504, 364, 280], [397, 310, 224, 173]],
  357. 18 =&gt; [[1725, 1346, 948, 746], [1046, 816, 574, 452], [718, 560, 394, 310], [442, 345, 243, 191]],
  358. 19 =&gt; [[1903, 1500, 1063, 813], [1153, 909, 644, 493], [792, 624, 442, 338], [488, 384, 272, 208]],
  359. 20 =&gt; [[2061, 1600, 1159, 919], [1249, 970, 702, 557], [858, 666, 482, 382], [528, 410, 297, 235]],
  360. 21 =&gt; [[2232, 1708, 1224, 969], [1352, 1035, 742, 587], [929, 711, 509, 403], [572, 438, 314, 248]],
  361. 22 =&gt; [[2409, 1872, 1358, 1056], [1460, 1134, 823, 640], [1003, 779, 565, 439], [618, 480, 348, 270]],
  362. 23 =&gt; [[2620, 2059, 1468, 1108], [1588, 1248, 890, 672], [1091, 857, 611, 461], [672, 528, 376, 284]],
  363. 24 =&gt; [[2812, 2188, 1588, 1228], [1704, 1326, 963, 744], [1171, 911, 661, 511], [721, 561, 407, 315]],
  364. 25 =&gt; [[3057, 2395, 1718, 1286], [1853, 1451, 1041, 779], [1273, 997, 715, 535], [784, 614, 440, 330]],
  365. 26 =&gt; [[3283, 2544, 1804, 1425], [1990, 1542, 1094, 864], [1367, 1059, 751, 593], [842, 652, 462, 365]],
  366. 27 =&gt; [[3517, 2701, 1933, 1501], [2132, 1637, 1172, 910], [1465, 1125, 805, 625], [902, 692, 496, 385]],
  367. 28 =&gt; [[3669, 2857, 2085, 1581], [2223, 1732, 1263, 958], [1528, 1190, 868, 658], [940, 732, 534, 405]],
  368. 29 =&gt; [[3909, 3035, 2181, 1677], [2369, 1839, 1322, 1016], [1628, 1264, 908, 698], [1002, 778, 559, 430]],
  369. 30 =&gt; [[4158, 3289, 2358, 1782], [2520, 1994, 1429, 1080], [1732, 1370, 982, 742], [1066, 843, 604, 457]],
  370. 31 =&gt; [[4417, 3486, 2473, 1897], [2677, 2113, 1499, 1150], [1840, 1452, 1030, 790], [1132, 894, 634, 486]],
  371. 32 =&gt; [[4686, 3693, 2670, 2022], [2840, 2238, 1618, 1226], [1952, 1538, 1112, 842], [1201, 947, 684, 518]],
  372. 33 =&gt; [[4965, 3909, 2805, 2157], [3009, 2369, 1700, 1307], [2068, 1628, 1168, 898], [1273, 1002, 719, 553]],
  373. 34 =&gt; [[5253, 4134, 2949, 2301], [3183, 2506, 1787, 1394], [2188, 1722, 1228, 958], [1347, 1060, 756, 590]],
  374. 35 =&gt; [[5529, 4343, 3081, 2361], [3351, 2632, 1867, 1431], [2303, 1809, 1283, 983], [1417, 1113, 790, 605]],
  375. 36 =&gt; [[5836, 4588, 3244, 2524], [3537, 2780, 1966, 1530], [2431, 1911, 1351, 1051], [1496, 1176, 832, 647]],
  376. 37 =&gt; [[6153, 4775, 3417, 2625], [3729, 2894, 2071, 1591], [2563, 1989, 1423, 1093], [1577, 1224, 876, 673]],
  377. 38 =&gt; [[6479, 5039, 3599, 2735], [3927, 3054, 2181, 1658], [2699, 2099, 1499, 1139], [1661, 1292, 923, 701]],
  378. 39 =&gt; [[6743, 5313, 3791, 2927], [4087, 3220, 2298, 1774], [2809, 2213, 1579, 1219], [1729, 1362, 972, 750]],
  379. 40 =&gt; [[7089, 5596, 3993, 3057], [4296, 3391, 2420, 1852], [2953, 2331, 1663, 1273], [1817, 1435, 1024, 784]],
  380. ]</span>
  381. </code>
  382. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  383. Tags
  384. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH#tags" class="headerlink"><i class="fas fa-link"></i></a>
  385. </h5>
  386. <dl class="phpdocumentor-tag-list">
  387. <dt class="phpdocumentor-tag-list__entry">
  388. <span class="phpdocumentor-tag__name">see</span>
  389. </dt>
  390. <dd class="phpdocumentor-tag-list__definition">
  391. <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>
  392. </dd>
  393. </dl>
  394. </article>
  395. <article class="phpdocumentor-element -constant -protected ">
  396. <h4 class="phpdocumentor-element__name" id="constant_testData">
  397. testData
  398. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#constant_testData" 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/NumberTest.php"><a href="files/tests-data-numbertest.html"><abbr title="tests/Data/NumberTest.php">NumberTest.php</abbr></a></abbr>
  402. :
  403. <span class="phpdocumentor-element-found-in__line">22</span>
  404. </aside>
  405. <code class="phpdocumentor-signature phpdocumentor-code ">
  406. <span class="phpdocumentor-signature__visibility">protected</span>
  407. <span class="phpdocumentor-signature__type">mixed</span>
  408. <span class="phpdocumentor-signature__name">testData</span>
  409. = <span class="phpdocumentor-signature__default-value">&#039;0123456789&#039;</span>
  410. </code>
  411. </article>
  412. </section>
  413. <section class="phpdocumentor-properties">
  414. <h3 class="phpdocumentor-elements__header" id="properties">
  415. Properties
  416. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  417. </h3>
  418. <article
  419. class="
  420. phpdocumentor-element
  421. -property
  422. -protected
  423. "
  424. >
  425. <h4 class="phpdocumentor-element__name" id="property_dataMode">
  426. $dataMode
  427. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode" class="headerlink"><i class="fas fa-link"></i></a>
  428. <span class="phpdocumentor-element__modifiers">
  429. </span>
  430. </h4>
  431. <aside class="phpdocumentor-element-found-in">
  432. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  433. :
  434. <span class="phpdocumentor-element-found-in__line">31</span>
  435. </aside>
  436. <code class="phpdocumentor-code phpdocumentor-signature ">
  437. <span class="phpdocumentor-signature__visibility">protected</span>
  438. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  439. <span class="phpdocumentor-signature__name">$dataMode</span>
  440. </code>
  441. </article>
  442. <article
  443. class="
  444. phpdocumentor-element
  445. -property
  446. -protected
  447. "
  448. >
  449. <h4 class="phpdocumentor-element__name" id="property_QRData">
  450. $QRData
  451. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData" class="headerlink"><i class="fas fa-link"></i></a>
  452. <span class="phpdocumentor-element__modifiers">
  453. </span>
  454. </h4>
  455. <aside class="phpdocumentor-element-found-in">
  456. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  457. :
  458. <span class="phpdocumentor-element-found-in__line">30</span>
  459. </aside>
  460. <code class="phpdocumentor-code phpdocumentor-signature ">
  461. <span class="phpdocumentor-signature__visibility">protected</span>
  462. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRData.html"><abbr title="\chillerlan\QRCode\Data\QRData">QRData</abbr></a></span>
  463. <span class="phpdocumentor-signature__name">$QRData</span>
  464. </code>
  465. </article>
  466. </section>
  467. <section class="phpdocumentor-methods">
  468. <h3 class="phpdocumentor-elements__header" id="methods">
  469. Methods
  470. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  471. </h3>
  472. <article
  473. class="phpdocumentor-element
  474. -method
  475. -public
  476. -static "
  477. >
  478. <h4 class="phpdocumentor-element__name" id="method_getMaxLengthForMode">
  479. getMaxLengthForMode()
  480. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode" class="headerlink"><i class="fas fa-link"></i></a>
  481. </h4>
  482. <aside class="phpdocumentor-element-found-in">
  483. <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>
  484. :
  485. <span class="phpdocumentor-element-found-in__line">80</span>
  486. </aside>
  487. <p class="phpdocumentor-summary">the maximum character count for the given $mode and $eccLevel</p>
  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">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>
  491. <div class="phpdocumentor-label-line">
  492. </div>
  493. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  494. <dl class="phpdocumentor-argument-list">
  495. <dt class="phpdocumentor-argument-list__entry">
  496. <span class="phpdocumentor-signature__argument__name">$mode</span>
  497. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  498. </dt>
  499. <dd class="phpdocumentor-argument-list__definition">
  500. </dd>
  501. <dt class="phpdocumentor-argument-list__entry">
  502. <span class="phpdocumentor-signature__argument__name">$version</span>
  503. : <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>
  504. </dt>
  505. <dd class="phpdocumentor-argument-list__definition">
  506. </dd>
  507. <dt class="phpdocumentor-argument-list__entry">
  508. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  509. : <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>
  510. </dt>
  511. <dd class="phpdocumentor-argument-list__definition">
  512. </dd>
  513. </dl>
  514. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  515. Tags
  516. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  517. </h5>
  518. <dl class="phpdocumentor-tag-list">
  519. <dt class="phpdocumentor-tag-list__entry">
  520. <span class="phpdocumentor-tag__name">throws</span>
  521. </dt>
  522. <dd class="phpdocumentor-tag-list__definition">
  523. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  524. </dd>
  525. <dt class="phpdocumentor-tag-list__entry">
  526. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  527. </dt>
  528. <dd class="phpdocumentor-tag-list__definition">
  529. </dd>
  530. </dl>
  531. <section>
  532. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  533. <span class="phpdocumentor-signature__response_type">int</span>
  534. </section>
  535. </article>
  536. <article
  537. class="phpdocumentor-element
  538. -method
  539. -public
  540. -static "
  541. >
  542. <h4 class="phpdocumentor-element__name" id="method_maskPatternProvider">
  543. maskPatternProvider()
  544. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider" class="headerlink"><i class="fas fa-link"></i></a>
  545. </h4>
  546. <aside class="phpdocumentor-element-found-in">
  547. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  548. :
  549. <span class="phpdocumentor-element-found-in__line">45</span>
  550. </aside>
  551. <code class="phpdocumentor-code phpdocumentor-signature ">
  552. <span class="phpdocumentor-signature__visibility">public</span>
  553. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">maskPatternProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span></code>
  554. <div class="phpdocumentor-label-line">
  555. </div>
  556. <section>
  557. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  558. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  559. </section>
  560. </article>
  561. <article
  562. class="phpdocumentor-element
  563. -method
  564. -public
  565. -static "
  566. >
  567. <h4 class="phpdocumentor-element__name" id="method_maxLengthProvider">
  568. maxLengthProvider()
  569. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider" class="headerlink"><i class="fas fa-link"></i></a>
  570. </h4>
  571. <aside class="phpdocumentor-element-found-in">
  572. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  573. :
  574. <span class="phpdocumentor-element-found-in__line">124</span>
  575. </aside>
  576. <p class="phpdocumentor-summary">Generates test data for each data mode:</p>
  577. <code class="phpdocumentor-code phpdocumentor-signature ">
  578. <span class="phpdocumentor-signature__visibility">public</span>
  579. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">maxLengthProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
  580. <div class="phpdocumentor-label-line">
  581. </div>
  582. <section class="phpdocumentor-description"><ul>
  583. <li>version</li>
  584. <li>ECC level</li>
  585. <li>a string that contains the maximum amount of characters for the given mode</li>
  586. <li>a string that contains characters for the given mode and that exceeds the maximum length by one/two character(s)</li>
  587. <li>the maximum allowed character length</li>
  588. </ul>
  589. </section>
  590. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  591. Tags
  592. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  593. </h5>
  594. <dl class="phpdocumentor-tag-list">
  595. <dt class="phpdocumentor-tag-list__entry">
  596. <span class="phpdocumentor-tag__name">throws</span>
  597. </dt>
  598. <dd class="phpdocumentor-tag-list__definition">
  599. <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span>
  600. </dd>
  601. </dl>
  602. <section>
  603. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  604. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  605. </section>
  606. </article>
  607. <article
  608. class="phpdocumentor-element
  609. -method
  610. -public
  611. -static "
  612. >
  613. <h4 class="phpdocumentor-element__name" id="method_stringValidateProvider">
  614. stringValidateProvider()
  615. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_stringValidateProvider" class="headerlink"><i class="fas fa-link"></i></a>
  616. </h4>
  617. <aside class="phpdocumentor-element-found-in">
  618. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/NumberTest.php"><a href="files/tests-data-numbertest.html"><abbr title="tests/Data/NumberTest.php">NumberTest.php</abbr></a></abbr>
  619. :
  620. <span class="phpdocumentor-element-found-in__line">33</span>
  621. </aside>
  622. <p class="phpdocumentor-summary">isNumber() should pass on any number and fail on anything else</p>
  623. <code class="phpdocumentor-code phpdocumentor-signature ">
  624. <span class="phpdocumentor-signature__visibility">public</span>
  625. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">stringValidateProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  626. <div class="phpdocumentor-label-line">
  627. </div>
  628. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  629. Tags
  630. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_stringValidateProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  631. </h5>
  632. <dl class="phpdocumentor-tag-list">
  633. <dt class="phpdocumentor-tag-list__entry">
  634. <span class="phpdocumentor-tag__name">phpstan-return</span>
  635. </dt>
  636. <dd class="phpdocumentor-tag-list__definition">
  637. <section class="phpdocumentor-description"><p>array&lt;int, array{0: string, 1: bool}&gt;</p>
  638. </section>
  639. </dd>
  640. </dl>
  641. <section>
  642. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  643. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  644. </section>
  645. </article>
  646. <article
  647. class="phpdocumentor-element
  648. -method
  649. -public
  650. "
  651. >
  652. <h4 class="phpdocumentor-element__name" id="method_testBinaryStringInvalid">
  653. testBinaryStringInvalid()
  654. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid" class="headerlink"><i class="fas fa-link"></i></a>
  655. </h4>
  656. <aside class="phpdocumentor-element-found-in">
  657. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  658. :
  659. <span class="phpdocumentor-element-found-in__line">82</span>
  660. </aside>
  661. <p class="phpdocumentor-summary">Tests if a random binary string is properly validated as false</p>
  662. <code class="phpdocumentor-code phpdocumentor-signature ">
  663. <span class="phpdocumentor-signature__visibility">public</span>
  664. <span class="phpdocumentor-signature__name">testBinaryStringInvalid</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  665. <div class="phpdocumentor-label-line">
  666. </div>
  667. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  668. Tags
  669. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  670. </h5>
  671. <dl class="phpdocumentor-tag-list">
  672. <dt class="phpdocumentor-tag-list__entry">
  673. <span class="phpdocumentor-tag__name">see</span>
  674. </dt>
  675. <dd class="phpdocumentor-tag-list__definition">
  676. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/182">https://github.com/chillerlan/php-qrcode/issues/182</a></span>
  677. </dd>
  678. </dl>
  679. </article>
  680. <article
  681. class="phpdocumentor-element
  682. -method
  683. -public
  684. "
  685. >
  686. <h4 class="phpdocumentor-element__name" id="method_testDecodeSegment">
  687. testDecodeSegment()
  688. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  689. </h4>
  690. <aside class="phpdocumentor-element-found-in">
  691. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  692. :
  693. <span class="phpdocumentor-element-found-in__line">98</span>
  694. </aside>
  695. <p class="phpdocumentor-summary">Tests decoding a data segment from a given BitBuffer</p>
  696. <code class="phpdocumentor-code phpdocumentor-signature ">
  697. <span class="phpdocumentor-signature__visibility">public</span>
  698. <span class="phpdocumentor-signature__name">testDecodeSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  699. <div class="phpdocumentor-label-line">
  700. </div>
  701. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  702. <dl class="phpdocumentor-argument-list">
  703. <dt class="phpdocumentor-argument-list__entry">
  704. <span class="phpdocumentor-signature__argument__name">$version</span>
  705. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  706. </dt>
  707. <dd class="phpdocumentor-argument-list__definition">
  708. </dd>
  709. </dl>
  710. <section class="phpdocumentor-attributes">
  711. <h5 class="phpdocumentor-elements__header" id="attributes">
  712. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  713. </h5>
  714. <dl class="phpdocumentor-argument-list">
  715. <dt class="phpdocumentor-argument-list__entry">
  716. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  717. </dt>
  718. <dd class="phpdocumentor-argument-list__entry">
  719. &#039;versionBreakpointProvider&#039;
  720. </dd>
  721. </dl>
  722. </section>
  723. </article>
  724. <article
  725. class="phpdocumentor-element
  726. -method
  727. -public
  728. "
  729. >
  730. <h4 class="phpdocumentor-element__name" id="method_testGetMinimumVersion">
  731. testGetMinimumVersion()
  732. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion" class="headerlink"><i class="fas fa-link"></i></a>
  733. </h4>
  734. <aside class="phpdocumentor-element-found-in">
  735. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  736. :
  737. <span class="phpdocumentor-element-found-in__line">173</span>
  738. </aside>
  739. <p class="phpdocumentor-summary">Tests getting the minimum QR version for the given data</p>
  740. <code class="phpdocumentor-code phpdocumentor-signature ">
  741. <span class="phpdocumentor-signature__visibility">public</span>
  742. <span class="phpdocumentor-signature__name">testGetMinimumVersion</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">$eccLevel</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">$str</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  743. <div class="phpdocumentor-label-line">
  744. </div>
  745. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  746. <dl class="phpdocumentor-argument-list">
  747. <dt class="phpdocumentor-argument-list__entry">
  748. <span class="phpdocumentor-signature__argument__name">$version</span>
  749. : <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>
  750. </dt>
  751. <dd class="phpdocumentor-argument-list__definition">
  752. </dd>
  753. <dt class="phpdocumentor-argument-list__entry">
  754. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  755. : <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>
  756. </dt>
  757. <dd class="phpdocumentor-argument-list__definition">
  758. </dd>
  759. <dt class="phpdocumentor-argument-list__entry">
  760. <span class="phpdocumentor-signature__argument__name">$str</span>
  761. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  762. </dt>
  763. <dd class="phpdocumentor-argument-list__definition">
  764. </dd>
  765. </dl>
  766. <section class="phpdocumentor-attributes">
  767. <h5 class="phpdocumentor-elements__header" id="attributes">
  768. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  769. </h5>
  770. <dl class="phpdocumentor-argument-list">
  771. <dt class="phpdocumentor-argument-list__entry">
  772. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  773. </dt>
  774. <dd class="phpdocumentor-argument-list__entry">
  775. &#039;maxLengthProvider&#039;
  776. </dd>
  777. </dl>
  778. </section>
  779. </article>
  780. <article
  781. class="phpdocumentor-element
  782. -method
  783. -public
  784. "
  785. >
  786. <h4 class="phpdocumentor-element__name" id="method_testGetMinimumVersionException">
  787. testGetMinimumVersionException()
  788. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException" class="headerlink"><i class="fas fa-link"></i></a>
  789. </h4>
  790. <aside class="phpdocumentor-element-found-in">
  791. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  792. :
  793. <span class="phpdocumentor-element-found-in__line">219</span>
  794. </aside>
  795. <p class="phpdocumentor-summary">Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</p>
  796. <code class="phpdocumentor-code phpdocumentor-signature ">
  797. <span class="phpdocumentor-signature__visibility">public</span>
  798. <span class="phpdocumentor-signature__name">testGetMinimumVersionException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  799. <div class="phpdocumentor-label-line">
  800. </div>
  801. </article>
  802. <article
  803. class="phpdocumentor-element
  804. -method
  805. -public
  806. "
  807. >
  808. <h4 class="phpdocumentor-element__name" id="method_testInitMatrix">
  809. testInitMatrix()
  810. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  811. </h4>
  812. <aside class="phpdocumentor-element-found-in">
  813. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  814. :
  815. <span class="phpdocumentor-element-found-in__line">52</span>
  816. </aside>
  817. <p class="phpdocumentor-summary">Tests initializing the data matrix</p>
  818. <code class="phpdocumentor-code phpdocumentor-signature ">
  819. <span class="phpdocumentor-signature__visibility">public</span>
  820. <span class="phpdocumentor-signature__name">testInitMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$pattern</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  821. <div class="phpdocumentor-label-line">
  822. </div>
  823. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  824. <dl class="phpdocumentor-argument-list">
  825. <dt class="phpdocumentor-argument-list__entry">
  826. <span class="phpdocumentor-signature__argument__name">$pattern</span>
  827. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  828. </dt>
  829. <dd class="phpdocumentor-argument-list__definition">
  830. </dd>
  831. </dl>
  832. <section class="phpdocumentor-attributes">
  833. <h5 class="phpdocumentor-elements__header" id="attributes">
  834. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  835. </h5>
  836. <dl class="phpdocumentor-argument-list">
  837. <dt class="phpdocumentor-argument-list__entry">
  838. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  839. </dt>
  840. <dd class="phpdocumentor-argument-list__entry">
  841. &#039;maskPatternProvider&#039;
  842. </dd>
  843. </dl>
  844. </section>
  845. </article>
  846. <article
  847. class="phpdocumentor-element
  848. -method
  849. -public
  850. "
  851. >
  852. <h4 class="phpdocumentor-element__name" id="method_testInvalidDataException">
  853. testInvalidDataException()
  854. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataException" class="headerlink"><i class="fas fa-link"></i></a>
  855. </h4>
  856. <aside class="phpdocumentor-element-found-in">
  857. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  858. :
  859. <span class="phpdocumentor-element-found-in__line">229</span>
  860. </aside>
  861. <p class="phpdocumentor-summary">Tests if an exception is thrown when an invalid character is encountered</p>
  862. <code class="phpdocumentor-code phpdocumentor-signature ">
  863. <span class="phpdocumentor-signature__visibility">public</span>
  864. <span class="phpdocumentor-signature__name">testInvalidDataException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  865. <div class="phpdocumentor-label-line">
  866. </div>
  867. </article>
  868. <article
  869. class="phpdocumentor-element
  870. -method
  871. -public
  872. "
  873. >
  874. <h4 class="phpdocumentor-element__name" id="method_testInvalidDataOnEmptyException">
  875. testInvalidDataOnEmptyException()
  876. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException" class="headerlink"><i class="fas fa-link"></i></a>
  877. </h4>
  878. <aside class="phpdocumentor-element-found-in">
  879. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  880. :
  881. <span class="phpdocumentor-element-found-in__line">239</span>
  882. </aside>
  883. <p class="phpdocumentor-summary">Tests if an exception is thrown if the given string is empty</p>
  884. <code class="phpdocumentor-code phpdocumentor-signature ">
  885. <span class="phpdocumentor-signature__visibility">public</span>
  886. <span class="phpdocumentor-signature__name">testInvalidDataOnEmptyException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  887. <div class="phpdocumentor-label-line">
  888. </div>
  889. </article>
  890. <article
  891. class="phpdocumentor-element
  892. -method
  893. -public
  894. "
  895. >
  896. <h4 class="phpdocumentor-element__name" id="method_testMaxLength">
  897. testMaxLength()
  898. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength" class="headerlink"><i class="fas fa-link"></i></a>
  899. </h4>
  900. <aside class="phpdocumentor-element-found-in">
  901. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  902. :
  903. <span class="phpdocumentor-element-found-in__line">155</span>
  904. </aside>
  905. <code class="phpdocumentor-code phpdocumentor-signature ">
  906. <span class="phpdocumentor-signature__visibility">public</span>
  907. <span class="phpdocumentor-signature__name">testMaxLength</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">$eccLevel</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">$str</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  908. <div class="phpdocumentor-label-line">
  909. </div>
  910. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  911. <dl class="phpdocumentor-argument-list">
  912. <dt class="phpdocumentor-argument-list__entry">
  913. <span class="phpdocumentor-signature__argument__name">$version</span>
  914. : <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>
  915. </dt>
  916. <dd class="phpdocumentor-argument-list__definition">
  917. </dd>
  918. <dt class="phpdocumentor-argument-list__entry">
  919. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  920. : <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>
  921. </dt>
  922. <dd class="phpdocumentor-argument-list__definition">
  923. </dd>
  924. <dt class="phpdocumentor-argument-list__entry">
  925. <span class="phpdocumentor-signature__argument__name">$str</span>
  926. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  927. </dt>
  928. <dd class="phpdocumentor-argument-list__definition">
  929. </dd>
  930. </dl>
  931. <section class="phpdocumentor-attributes">
  932. <h5 class="phpdocumentor-elements__header" id="attributes">
  933. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  934. </h5>
  935. <dl class="phpdocumentor-argument-list">
  936. <dt class="phpdocumentor-argument-list__entry">
  937. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  938. </dt>
  939. <dd class="phpdocumentor-argument-list__entry">
  940. &#039;maxLengthProvider&#039;
  941. </dd>
  942. </dl>
  943. </section>
  944. </article>
  945. <article
  946. class="phpdocumentor-element
  947. -method
  948. -public
  949. "
  950. >
  951. <h4 class="phpdocumentor-element__name" id="method_testMaxLengthOverflowException">
  952. testMaxLengthOverflowException()
  953. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException" class="headerlink"><i class="fas fa-link"></i></a>
  954. </h4>
  955. <aside class="phpdocumentor-element-found-in">
  956. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  957. :
  958. <span class="phpdocumentor-element-found-in__line">203</span>
  959. </aside>
  960. <p class="phpdocumentor-summary">Tests if an exception is thrown on data overflow</p>
  961. <code class="phpdocumentor-code phpdocumentor-signature ">
  962. <span class="phpdocumentor-signature__visibility">public</span>
  963. <span class="phpdocumentor-signature__name">testMaxLengthOverflowException</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">$eccLevel</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">$str</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">$str1</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  964. <div class="phpdocumentor-label-line">
  965. </div>
  966. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  967. <dl class="phpdocumentor-argument-list">
  968. <dt class="phpdocumentor-argument-list__entry">
  969. <span class="phpdocumentor-signature__argument__name">$version</span>
  970. : <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>
  971. </dt>
  972. <dd class="phpdocumentor-argument-list__definition">
  973. </dd>
  974. <dt class="phpdocumentor-argument-list__entry">
  975. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  976. : <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>
  977. </dt>
  978. <dd class="phpdocumentor-argument-list__definition">
  979. </dd>
  980. <dt class="phpdocumentor-argument-list__entry">
  981. <span class="phpdocumentor-signature__argument__name">$str</span>
  982. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  983. </dt>
  984. <dd class="phpdocumentor-argument-list__definition">
  985. </dd>
  986. <dt class="phpdocumentor-argument-list__entry">
  987. <span class="phpdocumentor-signature__argument__name">$str1</span>
  988. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  989. </dt>
  990. <dd class="phpdocumentor-argument-list__definition">
  991. </dd>
  992. </dl>
  993. <section class="phpdocumentor-attributes">
  994. <h5 class="phpdocumentor-elements__header" id="attributes">
  995. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  996. </h5>
  997. <dl class="phpdocumentor-argument-list">
  998. <dt class="phpdocumentor-argument-list__entry">
  999. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1000. </dt>
  1001. <dd class="phpdocumentor-argument-list__entry">
  1002. &#039;maxLengthProvider&#039;
  1003. </dd>
  1004. </dl>
  1005. </section>
  1006. </article>
  1007. <article
  1008. class="phpdocumentor-element
  1009. -method
  1010. -public
  1011. "
  1012. >
  1013. <h4 class="phpdocumentor-element__name" id="method_testValidateString">
  1014. testValidateString()
  1015. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString" class="headerlink"><i class="fas fa-link"></i></a>
  1016. </h4>
  1017. <aside class="phpdocumentor-element-found-in">
  1018. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  1019. :
  1020. <span class="phpdocumentor-element-found-in__line">72</span>
  1021. </aside>
  1022. <p class="phpdocumentor-summary">Tests if a string is properly validated for the respective data mode</p>
  1023. <code class="phpdocumentor-code phpdocumentor-signature ">
  1024. <span class="phpdocumentor-signature__visibility">public</span>
  1025. <span class="phpdocumentor-signature__name">testValidateString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</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">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1026. <div class="phpdocumentor-label-line">
  1027. </div>
  1028. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1029. <dl class="phpdocumentor-argument-list">
  1030. <dt class="phpdocumentor-argument-list__entry">
  1031. <span class="phpdocumentor-signature__argument__name">$string</span>
  1032. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1033. </dt>
  1034. <dd class="phpdocumentor-argument-list__definition">
  1035. </dd>
  1036. <dt class="phpdocumentor-argument-list__entry">
  1037. <span class="phpdocumentor-signature__argument__name">$expected</span>
  1038. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1039. </dt>
  1040. <dd class="phpdocumentor-argument-list__definition">
  1041. </dd>
  1042. </dl>
  1043. <section class="phpdocumentor-attributes">
  1044. <h5 class="phpdocumentor-elements__header" id="attributes">
  1045. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1046. </h5>
  1047. <dl class="phpdocumentor-argument-list">
  1048. <dt class="phpdocumentor-argument-list__entry">
  1049. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1050. </dt>
  1051. <dd class="phpdocumentor-argument-list__entry">
  1052. &#039;stringValidateProvider&#039;
  1053. </dd>
  1054. </dl>
  1055. </section>
  1056. </article>
  1057. <article
  1058. class="phpdocumentor-element
  1059. -method
  1060. -public
  1061. -static "
  1062. >
  1063. <h4 class="phpdocumentor-element__name" id="method_versionBreakpointProvider">
  1064. versionBreakpointProvider()
  1065. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider" class="headerlink"><i class="fas fa-link"></i></a>
  1066. </h4>
  1067. <aside class="phpdocumentor-element-found-in">
  1068. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  1069. :
  1070. <span class="phpdocumentor-element-found-in__line">91</span>
  1071. </aside>
  1072. <p class="phpdocumentor-summary">returns versions within the version breakpoints 1-9, 10-26 and 27-40</p>
  1073. <code class="phpdocumentor-code phpdocumentor-signature ">
  1074. <span class="phpdocumentor-signature__visibility">public</span>
  1075. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">versionBreakpointProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  1076. <div class="phpdocumentor-label-line">
  1077. </div>
  1078. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1079. Tags
  1080. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1081. </h5>
  1082. <dl class="phpdocumentor-tag-list">
  1083. <dt class="phpdocumentor-tag-list__entry">
  1084. <span class="phpdocumentor-tag__name">phpstan-return</span>
  1085. </dt>
  1086. <dd class="phpdocumentor-tag-list__definition">
  1087. <section class="phpdocumentor-description"><p>array&lt;string, array{0: int}&gt;</p>
  1088. </section>
  1089. </dd>
  1090. </dl>
  1091. <section>
  1092. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1093. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1094. </section>
  1095. </article>
  1096. <article
  1097. class="phpdocumentor-element
  1098. -method
  1099. -protected
  1100. -static "
  1101. >
  1102. <h4 class="phpdocumentor-element__name" id="method_getDataModeInterface">
  1103. getDataModeInterface()
  1104. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_getDataModeInterface" class="headerlink"><i class="fas fa-link"></i></a>
  1105. </h4>
  1106. <aside class="phpdocumentor-element-found-in">
  1107. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/NumberTest.php"><a href="files/tests-data-numbertest.html"><abbr title="tests/Data/NumberTest.php">NumberTest.php</abbr></a></abbr>
  1108. :
  1109. <span class="phpdocumentor-element-found-in__line">24</span>
  1110. </aside>
  1111. <code class="phpdocumentor-code phpdocumentor-signature ">
  1112. <span class="phpdocumentor-signature__visibility">protected</span>
  1113. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getDataModeInterface</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span></code>
  1114. <div class="phpdocumentor-label-line">
  1115. </div>
  1116. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1117. <dl class="phpdocumentor-argument-list">
  1118. <dt class="phpdocumentor-argument-list__entry">
  1119. <span class="phpdocumentor-signature__argument__name">$data</span>
  1120. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1121. </dt>
  1122. <dd class="phpdocumentor-argument-list__definition">
  1123. </dd>
  1124. </dl>
  1125. <section>
  1126. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1127. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  1128. </section>
  1129. </article>
  1130. <article
  1131. class="phpdocumentor-element
  1132. -method
  1133. -protected
  1134. "
  1135. >
  1136. <h4 class="phpdocumentor-element__name" id="method_setUp">
  1137. setUp()
  1138. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  1139. </h4>
  1140. <aside class="phpdocumentor-element-found-in">
  1141. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  1142. :
  1143. <span class="phpdocumentor-element-found-in__line">35</span>
  1144. </aside>
  1145. <code class="phpdocumentor-code phpdocumentor-signature ">
  1146. <span class="phpdocumentor-signature__visibility">protected</span>
  1147. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1148. <div class="phpdocumentor-label-line">
  1149. </div>
  1150. </article>
  1151. </section>
  1152. <div class="phpdocumentor-modal" id="source-view">
  1153. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1154. <div class="phpdocumentor-modal-container">
  1155. <div class="phpdocumentor-modal-content">
  1156. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Data/NumberTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1157. </div>
  1158. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1159. </div>
  1160. </div>
  1161. <script type="text/javascript">
  1162. (function () {
  1163. function loadExternalCodeSnippet(el, url, line) {
  1164. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1165. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1166. const language = 'php';
  1167. const code = document.createElement('code');
  1168. code.className = 'language-' + language;
  1169. pre.textContent = '';
  1170. pre.setAttribute('data-line', line)
  1171. code.textContent = 'Loading…';
  1172. pre.appendChild(code);
  1173. var xhr = new XMLHttpRequest();
  1174. xhr.open('GET', src, true);
  1175. xhr.onreadystatechange = function () {
  1176. if (xhr.readyState !== 4) {
  1177. return;
  1178. }
  1179. if (xhr.status < 400 && xhr.responseText) {
  1180. code.textContent = xhr.responseText;
  1181. Prism.highlightElement(code);
  1182. d=document.getElementsByClassName("line-numbers");
  1183. d[0].scrollTop = d[0].children[1].offsetTop;
  1184. return;
  1185. }
  1186. if (xhr.status === 404) {
  1187. code.textContent = '✖ Error: File could not be found';
  1188. return;
  1189. }
  1190. if (xhr.status >= 400) {
  1191. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1192. return;
  1193. }
  1194. code.textContent = '✖ Error: An unknown error occurred';
  1195. };
  1196. xhr.send(null);
  1197. });
  1198. }
  1199. const modalButtons = document.querySelectorAll("[data-modal]");
  1200. const openedAsLocalFile = window.location.protocol === 'file:';
  1201. if (modalButtons.length > 0 && openedAsLocalFile) {
  1202. console.warn(
  1203. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1204. 'browsers block XHR requests when a page is opened this way'
  1205. );
  1206. }
  1207. modalButtons.forEach(function (trigger) {
  1208. if (openedAsLocalFile) {
  1209. trigger.setAttribute("hidden", "hidden");
  1210. }
  1211. trigger.addEventListener("click", function (event) {
  1212. event.preventDefault();
  1213. const modal = document.getElementById(trigger.dataset.modal);
  1214. if (!modal) {
  1215. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1216. return;
  1217. }
  1218. modal.classList.add("phpdocumentor-modal__open");
  1219. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1220. const exits = modal.querySelectorAll("[data-exit-button]");
  1221. exits.forEach(function (exit) {
  1222. exit.addEventListener("click", function (event) {
  1223. event.preventDefault();
  1224. modal.classList.remove("phpdocumentor-modal__open");
  1225. });
  1226. });
  1227. });
  1228. });
  1229. })();
  1230. </script>
  1231. </article>
  1232. </section>
  1233. <section class="phpdocumentor-on-this-page__sidebar">
  1234. <section class="phpdocumentor-on-this-page__content">
  1235. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1236. <ul class="phpdocumentor-list -clean">
  1237. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1238. <li>
  1239. <ul class="phpdocumentor-list -clean">
  1240. <li><a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc-constants">Constants</a></li>
  1241. <li><a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc-properties">Properties</a></li>
  1242. <li><a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#toc-methods">Methods</a></li>
  1243. </ul>
  1244. </li>
  1245. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1246. <li>
  1247. <ul class="phpdocumentor-list -clean">
  1248. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#constant_MAX_LENGTH">MAX_LENGTH</a></li>
  1249. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#constant_testData">testData</a></li>
  1250. </ul>
  1251. </li>
  1252. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1253. <li>
  1254. <ul class="phpdocumentor-list -clean">
  1255. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode">$dataMode</a></li>
  1256. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData">$QRData</a></li>
  1257. </ul>
  1258. </li>
  1259. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1260. <li>
  1261. <ul class="phpdocumentor-list -clean">
  1262. <li class=""><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  1263. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a></li>
  1264. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a></li>
  1265. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_stringValidateProvider">stringValidateProvider()</a></li>
  1266. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid">testBinaryStringInvalid()</a></li>
  1267. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment">testDecodeSegment()</a></li>
  1268. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion">testGetMinimumVersion()</a></li>
  1269. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException">testGetMinimumVersionException()</a></li>
  1270. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix">testInitMatrix()</a></li>
  1271. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataException">testInvalidDataException()</a></li>
  1272. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException">testInvalidDataOnEmptyException()</a></li>
  1273. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength">testMaxLength()</a></li>
  1274. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException">testMaxLengthOverflowException()</a></li>
  1275. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString">testValidateString()</a></li>
  1276. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a></li>
  1277. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#method_getDataModeInterface">getDataModeInterface()</a></li>
  1278. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a></li>
  1279. </ul>
  1280. </li>
  1281. </ul>
  1282. </section>
  1283. </section>
  1284. </div>
  1285. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1286. <section class="phpdocumentor-search-results__dialog">
  1287. <header class="phpdocumentor-search-results__header">
  1288. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1289. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1290. </header>
  1291. <section class="phpdocumentor-search-results__body">
  1292. <ul class="phpdocumentor-search-results__entries"></ul>
  1293. </section>
  1294. </section>
  1295. </section>
  1296. </div>
  1297. <a href="classes/chillerlan-QRCodeTest-Data-NumberTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1298. </main>
  1299. <script>
  1300. cssVars({});
  1301. </script>
  1302. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1303. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1304. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1305. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1306. </body>
  1307. </html>