chillerlan-QRCodeTest-Data-ByteTest.html 91 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788
  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. ByteTest
  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/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  131. :
  132. <span class="phpdocumentor-element-found-in__line">20</span>
  133. </aside>
  134. <p class="phpdocumentor-summary">Tests the Byte class</p>
  135. <h3 id="toc">
  136. Table of Contents
  137. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.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-ByteTest.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-Traits-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-ByteTest.html#constant_testData">testData</a>
  194. <span>
  195. &nbsp;= &#039;[¯\_(ツ)_/¯]&#039; </span>
  196. </dt>
  197. </dl>
  198. <h4 id="toc-properties">
  199. Properties
  200. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.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-ByteTest.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-Data-ByteTest.html#method_binaryStringInvalid">binaryStringInvalid()</a>
  221. <span>
  222. &nbsp;: void </span>
  223. </dt>
  224. <dd>Tests if a random binary string is properly validated as false</dd>
  225. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  226. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_decodeSegment">decodeSegment()</a>
  227. <span>
  228. &nbsp;: void </span>
  229. </dt>
  230. <dd>Tests decoding a data segment from a given BitBuffer</dd>
  231. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  232. <a class="" href="classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a>
  233. <span>
  234. &nbsp;: int </span>
  235. </dt>
  236. <dd>the maximum character count for the given $mode and $eccLevel</dd>
  237. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  238. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersion">getMinimumVersion()</a>
  239. <span>
  240. &nbsp;: void </span>
  241. </dt>
  242. <dd>Tests getting the minimum QR version for the given data</dd>
  243. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  244. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersionException">getMinimumVersionException()</a>
  245. <span>
  246. &nbsp;: void </span>
  247. </dt>
  248. <dd>Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</dd>
  249. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  250. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_initMatrix">initMatrix()</a>
  251. <span>
  252. &nbsp;: void </span>
  253. </dt>
  254. <dd>Tests initializing the data matrix</dd>
  255. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  256. <a class="" href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_invalidDataException">invalidDataException()</a>
  257. <span>
  258. &nbsp;: void </span>
  259. </dt>
  260. <dd>Tests if an exception is thrown when an invalid character is encountered</dd>
  261. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  262. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_invalidDataOnEmptyException">invalidDataOnEmptyException()</a>
  263. <span>
  264. &nbsp;: void </span>
  265. </dt>
  266. <dd>Tests if an exception is thrown if the given string is empty</dd>
  267. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  268. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a>
  269. <span>
  270. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  271. </dt>
  272. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  273. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLength">maxLength()</a>
  274. <span>
  275. &nbsp;: void </span>
  276. </dt>
  277. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  278. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthOverflowException">maxLengthOverflowException()</a>
  279. <span>
  280. &nbsp;: void </span>
  281. </dt>
  282. <dd>Tests if an exception is thrown on data overflow</dd>
  283. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  284. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a>
  285. <span>
  286. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  287. </dt>
  288. <dd>Generates test data for each data mode:</dd>
  289. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  290. <a class="" href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider">stringValidateProvider()</a>
  291. <span>
  292. &nbsp;: array&lt;string|int, mixed&gt; </span>
  293. </dt>
  294. <dd>isByte() passses any binary string and only fails on empty strings</dd>
  295. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  296. <a class="" href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_validateString">validateString()</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-ByteTest.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-ByteTest.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-Traits-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/Traits/QRMaxLengthTrait.php"><a href="files/tests-traits-qrmaxlengthtrait.html"><abbr title="tests/Traits/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-Traits-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-ByteTest.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/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.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;[¯\_(ツ)_/¯]&#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-ByteTest.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-ByteTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  471. </h3>
  472. <article
  473. class="phpdocumentor-element
  474. -method
  475. -public
  476. "
  477. >
  478. <h4 class="phpdocumentor-element__name" id="method_binaryStringInvalid">
  479. binaryStringInvalid()
  480. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_binaryStringInvalid" 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/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  484. :
  485. <span class="phpdocumentor-element-found-in__line">42</span>
  486. </aside>
  487. <p class="phpdocumentor-summary">Tests if a random binary string is properly validated as false</p>
  488. <code class="phpdocumentor-code phpdocumentor-signature ">
  489. <span class="phpdocumentor-signature__visibility">public</span>
  490. <span class="phpdocumentor-signature__name">binaryStringInvalid</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  491. <div class="phpdocumentor-label-line">
  492. </div>
  493. <section class="phpdocumentor-attributes">
  494. <h5 class="phpdocumentor-elements__header" id="attributes">
  495. Attributes <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_binaryStringInvalid#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  496. </h5>
  497. <dl class="phpdocumentor-argument-list">
  498. <dt class="phpdocumentor-argument-list__entry">
  499. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  500. </dt>
  501. </dl>
  502. </section>
  503. </article>
  504. <article
  505. class="phpdocumentor-element
  506. -method
  507. -public
  508. "
  509. >
  510. <h4 class="phpdocumentor-element__name" id="method_decodeSegment">
  511. decodeSegment()
  512. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_decodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  513. </h4>
  514. <aside class="phpdocumentor-element-found-in">
  515. <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>
  516. :
  517. <span class="phpdocumentor-element-found-in__line">119</span>
  518. </aside>
  519. <p class="phpdocumentor-summary">Tests decoding a data segment from a given BitBuffer</p>
  520. <code class="phpdocumentor-code phpdocumentor-signature ">
  521. <span class="phpdocumentor-signature__visibility">public</span>
  522. <span class="phpdocumentor-signature__name">decodeSegment</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>
  523. <div class="phpdocumentor-label-line">
  524. </div>
  525. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  526. <dl class="phpdocumentor-argument-list">
  527. <dt class="phpdocumentor-argument-list__entry">
  528. <span class="phpdocumentor-signature__argument__name">$version</span>
  529. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  530. </dt>
  531. <dd class="phpdocumentor-argument-list__definition">
  532. </dd>
  533. </dl>
  534. <section class="phpdocumentor-attributes">
  535. <h5 class="phpdocumentor-elements__header" id="attributes">
  536. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_decodeSegment#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  537. </h5>
  538. <dl class="phpdocumentor-argument-list">
  539. <dt class="phpdocumentor-argument-list__entry">
  540. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  541. </dt>
  542. <dd class="phpdocumentor-argument-list__entry">
  543. &#039;versionBreakpointProvider&#039;
  544. </dd>
  545. </dl>
  546. <dl class="phpdocumentor-argument-list">
  547. <dt class="phpdocumentor-argument-list__entry">
  548. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  549. </dt>
  550. </dl>
  551. </section>
  552. </article>
  553. <article
  554. class="phpdocumentor-element
  555. -method
  556. -public
  557. -static "
  558. >
  559. <h4 class="phpdocumentor-element__name" id="method_getMaxLengthForMode">
  560. getMaxLengthForMode()
  561. <a href="classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html#method_getMaxLengthForMode" class="headerlink"><i class="fas fa-link"></i></a>
  562. </h4>
  563. <aside class="phpdocumentor-element-found-in">
  564. <abbr class="phpdocumentor-element-found-in__file" title="tests/Traits/QRMaxLengthTrait.php"><a href="files/tests-traits-qrmaxlengthtrait.html"><abbr title="tests/Traits/QRMaxLengthTrait.php">QRMaxLengthTrait.php</abbr></a></abbr>
  565. :
  566. <span class="phpdocumentor-element-found-in__line">80</span>
  567. </aside>
  568. <p class="phpdocumentor-summary">the maximum character count for the given $mode and $eccLevel</p>
  569. <code class="phpdocumentor-code phpdocumentor-signature ">
  570. <span class="phpdocumentor-signature__visibility">public</span>
  571. <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>
  572. <div class="phpdocumentor-label-line">
  573. </div>
  574. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  575. <dl class="phpdocumentor-argument-list">
  576. <dt class="phpdocumentor-argument-list__entry">
  577. <span class="phpdocumentor-signature__argument__name">$mode</span>
  578. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  579. </dt>
  580. <dd class="phpdocumentor-argument-list__definition">
  581. </dd>
  582. <dt class="phpdocumentor-argument-list__entry">
  583. <span class="phpdocumentor-signature__argument__name">$version</span>
  584. : <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>
  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">$eccLevel</span>
  590. : <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>
  591. </dt>
  592. <dd class="phpdocumentor-argument-list__definition">
  593. </dd>
  594. </dl>
  595. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  596. Tags
  597. <a href="classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html#method_getMaxLengthForMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  598. </h5>
  599. <dl class="phpdocumentor-tag-list">
  600. <dt class="phpdocumentor-tag-list__entry">
  601. <span class="phpdocumentor-tag__name">throws</span>
  602. </dt>
  603. <dd class="phpdocumentor-tag-list__definition">
  604. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  605. </dd>
  606. <dt class="phpdocumentor-tag-list__entry">
  607. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  608. </dt>
  609. <dd class="phpdocumentor-tag-list__definition">
  610. </dd>
  611. </dl>
  612. <section>
  613. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  614. <span class="phpdocumentor-signature__response_type">int</span>
  615. </section>
  616. </article>
  617. <article
  618. class="phpdocumentor-element
  619. -method
  620. -public
  621. "
  622. >
  623. <h4 class="phpdocumentor-element__name" id="method_getMinimumVersion">
  624. getMinimumVersion()
  625. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersion" class="headerlink"><i class="fas fa-link"></i></a>
  626. </h4>
  627. <aside class="phpdocumentor-element-found-in">
  628. <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>
  629. :
  630. <span class="phpdocumentor-element-found-in__line">196</span>
  631. </aside>
  632. <p class="phpdocumentor-summary">Tests getting the minimum QR version for the given data</p>
  633. <code class="phpdocumentor-code phpdocumentor-signature ">
  634. <span class="phpdocumentor-signature__visibility">public</span>
  635. <span class="phpdocumentor-signature__name">getMinimumVersion</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>
  636. <div class="phpdocumentor-label-line">
  637. </div>
  638. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  639. <dl class="phpdocumentor-argument-list">
  640. <dt class="phpdocumentor-argument-list__entry">
  641. <span class="phpdocumentor-signature__argument__name">$version</span>
  642. : <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>
  643. </dt>
  644. <dd class="phpdocumentor-argument-list__definition">
  645. </dd>
  646. <dt class="phpdocumentor-argument-list__entry">
  647. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  648. : <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>
  649. </dt>
  650. <dd class="phpdocumentor-argument-list__definition">
  651. </dd>
  652. <dt class="phpdocumentor-argument-list__entry">
  653. <span class="phpdocumentor-signature__argument__name">$str</span>
  654. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  655. </dt>
  656. <dd class="phpdocumentor-argument-list__definition">
  657. </dd>
  658. </dl>
  659. <section class="phpdocumentor-attributes">
  660. <h5 class="phpdocumentor-elements__header" id="attributes">
  661. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersion#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  662. </h5>
  663. <dl class="phpdocumentor-argument-list">
  664. <dt class="phpdocumentor-argument-list__entry">
  665. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  666. </dt>
  667. <dd class="phpdocumentor-argument-list__entry">
  668. &#039;maxLengthProvider&#039;
  669. </dd>
  670. </dl>
  671. <dl class="phpdocumentor-argument-list">
  672. <dt class="phpdocumentor-argument-list__entry">
  673. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  674. </dt>
  675. </dl>
  676. </section>
  677. </article>
  678. <article
  679. class="phpdocumentor-element
  680. -method
  681. -public
  682. "
  683. >
  684. <h4 class="phpdocumentor-element__name" id="method_getMinimumVersionException">
  685. getMinimumVersionException()
  686. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersionException" class="headerlink"><i class="fas fa-link"></i></a>
  687. </h4>
  688. <aside class="phpdocumentor-element-found-in">
  689. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  690. :
  691. <span class="phpdocumentor-element-found-in__line">244</span>
  692. </aside>
  693. <p class="phpdocumentor-summary">Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</p>
  694. <code class="phpdocumentor-code phpdocumentor-signature ">
  695. <span class="phpdocumentor-signature__visibility">public</span>
  696. <span class="phpdocumentor-signature__name">getMinimumVersionException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  697. <div class="phpdocumentor-label-line">
  698. </div>
  699. <section class="phpdocumentor-attributes">
  700. <h5 class="phpdocumentor-elements__header" id="attributes">
  701. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersionException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  702. </h5>
  703. <dl class="phpdocumentor-argument-list">
  704. <dt class="phpdocumentor-argument-list__entry">
  705. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  706. </dt>
  707. </dl>
  708. </section>
  709. </article>
  710. <article
  711. class="phpdocumentor-element
  712. -method
  713. -public
  714. "
  715. >
  716. <h4 class="phpdocumentor-element__name" id="method_initMatrix">
  717. initMatrix()
  718. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_initMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  719. </h4>
  720. <aside class="phpdocumentor-element-found-in">
  721. <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>
  722. :
  723. <span class="phpdocumentor-element-found-in__line">52</span>
  724. </aside>
  725. <p class="phpdocumentor-summary">Tests initializing the data matrix</p>
  726. <code class="phpdocumentor-code phpdocumentor-signature ">
  727. <span class="phpdocumentor-signature__visibility">public</span>
  728. <span class="phpdocumentor-signature__name">initMatrix</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>
  729. <div class="phpdocumentor-label-line">
  730. </div>
  731. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  732. <dl class="phpdocumentor-argument-list">
  733. <dt class="phpdocumentor-argument-list__entry">
  734. <span class="phpdocumentor-signature__argument__name">$pattern</span>
  735. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  736. </dt>
  737. <dd class="phpdocumentor-argument-list__definition">
  738. </dd>
  739. </dl>
  740. <section class="phpdocumentor-attributes">
  741. <h5 class="phpdocumentor-elements__header" id="attributes">
  742. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_initMatrix#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  743. </h5>
  744. <dl class="phpdocumentor-argument-list">
  745. <dt class="phpdocumentor-argument-list__entry">
  746. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  747. </dt>
  748. <dd class="phpdocumentor-argument-list__entry">
  749. &#039;maskPatternProvider&#039;
  750. </dd>
  751. </dl>
  752. <dl class="phpdocumentor-argument-list">
  753. <dt class="phpdocumentor-argument-list__entry">
  754. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  755. </dt>
  756. </dl>
  757. </section>
  758. </article>
  759. <article
  760. class="phpdocumentor-element
  761. -method
  762. -public
  763. "
  764. >
  765. <h4 class="phpdocumentor-element__name" id="method_invalidDataException">
  766. invalidDataException()
  767. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_invalidDataException" class="headerlink"><i class="fas fa-link"></i></a>
  768. </h4>
  769. <aside class="phpdocumentor-element-found-in">
  770. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  771. :
  772. <span class="phpdocumentor-element-found-in__line">47</span>
  773. </aside>
  774. <p class="phpdocumentor-summary">Tests if an exception is thrown when an invalid character is encountered</p>
  775. <code class="phpdocumentor-code phpdocumentor-signature ">
  776. <span class="phpdocumentor-signature__visibility">public</span>
  777. <span class="phpdocumentor-signature__name">invalidDataException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  778. <div class="phpdocumentor-label-line">
  779. </div>
  780. <section class="phpdocumentor-attributes">
  781. <h5 class="phpdocumentor-elements__header" id="attributes">
  782. Attributes <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_invalidDataException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  783. </h5>
  784. <dl class="phpdocumentor-argument-list">
  785. <dt class="phpdocumentor-argument-list__entry">
  786. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  787. </dt>
  788. </dl>
  789. </section>
  790. </article>
  791. <article
  792. class="phpdocumentor-element
  793. -method
  794. -public
  795. "
  796. >
  797. <h4 class="phpdocumentor-element__name" id="method_invalidDataOnEmptyException">
  798. invalidDataOnEmptyException()
  799. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_invalidDataOnEmptyException" class="headerlink"><i class="fas fa-link"></i></a>
  800. </h4>
  801. <aside class="phpdocumentor-element-found-in">
  802. <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>
  803. :
  804. <span class="phpdocumentor-element-found-in__line">266</span>
  805. </aside>
  806. <p class="phpdocumentor-summary">Tests if an exception is thrown if the given string is empty</p>
  807. <code class="phpdocumentor-code phpdocumentor-signature ">
  808. <span class="phpdocumentor-signature__visibility">public</span>
  809. <span class="phpdocumentor-signature__name">invalidDataOnEmptyException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  810. <div class="phpdocumentor-label-line">
  811. </div>
  812. <section class="phpdocumentor-attributes">
  813. <h5 class="phpdocumentor-elements__header" id="attributes">
  814. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_invalidDataOnEmptyException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  815. </h5>
  816. <dl class="phpdocumentor-argument-list">
  817. <dt class="phpdocumentor-argument-list__entry">
  818. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  819. </dt>
  820. </dl>
  821. </section>
  822. </article>
  823. <article
  824. class="phpdocumentor-element
  825. -method
  826. -public
  827. -static "
  828. >
  829. <h4 class="phpdocumentor-element__name" id="method_maskPatternProvider">
  830. maskPatternProvider()
  831. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider" class="headerlink"><i class="fas fa-link"></i></a>
  832. </h4>
  833. <aside class="phpdocumentor-element-found-in">
  834. <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>
  835. :
  836. <span class="phpdocumentor-element-found-in__line">45</span>
  837. </aside>
  838. <code class="phpdocumentor-code phpdocumentor-signature ">
  839. <span class="phpdocumentor-signature__visibility">public</span>
  840. <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>
  841. <div class="phpdocumentor-label-line">
  842. </div>
  843. <section>
  844. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  845. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  846. </section>
  847. </article>
  848. <article
  849. class="phpdocumentor-element
  850. -method
  851. -public
  852. "
  853. >
  854. <h4 class="phpdocumentor-element__name" id="method_maxLength">
  855. maxLength()
  856. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLength" class="headerlink"><i class="fas fa-link"></i></a>
  857. </h4>
  858. <aside class="phpdocumentor-element-found-in">
  859. <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>
  860. :
  861. <span class="phpdocumentor-element-found-in__line">177</span>
  862. </aside>
  863. <code class="phpdocumentor-code phpdocumentor-signature ">
  864. <span class="phpdocumentor-signature__visibility">public</span>
  865. <span class="phpdocumentor-signature__name">maxLength</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>
  866. <div class="phpdocumentor-label-line">
  867. </div>
  868. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  869. <dl class="phpdocumentor-argument-list">
  870. <dt class="phpdocumentor-argument-list__entry">
  871. <span class="phpdocumentor-signature__argument__name">$version</span>
  872. : <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>
  873. </dt>
  874. <dd class="phpdocumentor-argument-list__definition">
  875. </dd>
  876. <dt class="phpdocumentor-argument-list__entry">
  877. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  878. : <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>
  879. </dt>
  880. <dd class="phpdocumentor-argument-list__definition">
  881. </dd>
  882. <dt class="phpdocumentor-argument-list__entry">
  883. <span class="phpdocumentor-signature__argument__name">$str</span>
  884. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  885. </dt>
  886. <dd class="phpdocumentor-argument-list__definition">
  887. </dd>
  888. </dl>
  889. <section class="phpdocumentor-attributes">
  890. <h5 class="phpdocumentor-elements__header" id="attributes">
  891. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLength#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  892. </h5>
  893. <dl class="phpdocumentor-argument-list">
  894. <dt class="phpdocumentor-argument-list__entry">
  895. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  896. </dt>
  897. <dd class="phpdocumentor-argument-list__entry">
  898. &#039;maxLengthProvider&#039;
  899. </dd>
  900. </dl>
  901. <dl class="phpdocumentor-argument-list">
  902. <dt class="phpdocumentor-argument-list__entry">
  903. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  904. </dt>
  905. </dl>
  906. </section>
  907. </article>
  908. <article
  909. class="phpdocumentor-element
  910. -method
  911. -public
  912. "
  913. >
  914. <h4 class="phpdocumentor-element__name" id="method_maxLengthOverflowException">
  915. maxLengthOverflowException()
  916. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthOverflowException" class="headerlink"><i class="fas fa-link"></i></a>
  917. </h4>
  918. <aside class="phpdocumentor-element-found-in">
  919. <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>
  920. :
  921. <span class="phpdocumentor-element-found-in__line">227</span>
  922. </aside>
  923. <p class="phpdocumentor-summary">Tests if an exception is thrown on data overflow</p>
  924. <code class="phpdocumentor-code phpdocumentor-signature ">
  925. <span class="phpdocumentor-signature__visibility">public</span>
  926. <span class="phpdocumentor-signature__name">maxLengthOverflowException</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>
  927. <div class="phpdocumentor-label-line">
  928. </div>
  929. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  930. <dl class="phpdocumentor-argument-list">
  931. <dt class="phpdocumentor-argument-list__entry">
  932. <span class="phpdocumentor-signature__argument__name">$version</span>
  933. : <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>
  934. </dt>
  935. <dd class="phpdocumentor-argument-list__definition">
  936. </dd>
  937. <dt class="phpdocumentor-argument-list__entry">
  938. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  939. : <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>
  940. </dt>
  941. <dd class="phpdocumentor-argument-list__definition">
  942. </dd>
  943. <dt class="phpdocumentor-argument-list__entry">
  944. <span class="phpdocumentor-signature__argument__name">$str</span>
  945. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  946. </dt>
  947. <dd class="phpdocumentor-argument-list__definition">
  948. </dd>
  949. <dt class="phpdocumentor-argument-list__entry">
  950. <span class="phpdocumentor-signature__argument__name">$str1</span>
  951. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  952. </dt>
  953. <dd class="phpdocumentor-argument-list__definition">
  954. </dd>
  955. </dl>
  956. <section class="phpdocumentor-attributes">
  957. <h5 class="phpdocumentor-elements__header" id="attributes">
  958. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthOverflowException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  959. </h5>
  960. <dl class="phpdocumentor-argument-list">
  961. <dt class="phpdocumentor-argument-list__entry">
  962. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  963. </dt>
  964. <dd class="phpdocumentor-argument-list__entry">
  965. &#039;maxLengthProvider&#039;
  966. </dd>
  967. </dl>
  968. <dl class="phpdocumentor-argument-list">
  969. <dt class="phpdocumentor-argument-list__entry">
  970. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  971. </dt>
  972. </dl>
  973. </section>
  974. </article>
  975. <article
  976. class="phpdocumentor-element
  977. -method
  978. -public
  979. -static "
  980. >
  981. <h4 class="phpdocumentor-element__name" id="method_maxLengthProvider">
  982. maxLengthProvider()
  983. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider" class="headerlink"><i class="fas fa-link"></i></a>
  984. </h4>
  985. <aside class="phpdocumentor-element-found-in">
  986. <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>
  987. :
  988. <span class="phpdocumentor-element-found-in__line">146</span>
  989. </aside>
  990. <p class="phpdocumentor-summary">Generates test data for each data mode:</p>
  991. <code class="phpdocumentor-code phpdocumentor-signature ">
  992. <span class="phpdocumentor-signature__visibility">public</span>
  993. <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>
  994. <div class="phpdocumentor-label-line">
  995. </div>
  996. <section class="phpdocumentor-description"><ul>
  997. <li>version</li>
  998. <li>ECC level</li>
  999. <li>a string that contains the maximum amount of characters for the given mode</li>
  1000. <li>a string that contains characters for the given mode and that exceeds the maximum length by one/two character(s)</li>
  1001. <li>the maximum allowed character length</li>
  1002. </ul>
  1003. </section>
  1004. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1005. Tags
  1006. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1007. </h5>
  1008. <dl class="phpdocumentor-tag-list">
  1009. <dt class="phpdocumentor-tag-list__entry">
  1010. <span class="phpdocumentor-tag__name">throws</span>
  1011. </dt>
  1012. <dd class="phpdocumentor-tag-list__definition">
  1013. <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span>
  1014. </dd>
  1015. </dl>
  1016. <section>
  1017. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1018. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  1019. </section>
  1020. </article>
  1021. <article
  1022. class="phpdocumentor-element
  1023. -method
  1024. -public
  1025. -static "
  1026. >
  1027. <h4 class="phpdocumentor-element__name" id="method_stringValidateProvider">
  1028. stringValidateProvider()
  1029. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider" class="headerlink"><i class="fas fa-link"></i></a>
  1030. </h4>
  1031. <aside class="phpdocumentor-element-found-in">
  1032. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  1033. :
  1034. <span class="phpdocumentor-element-found-in__line">33</span>
  1035. </aside>
  1036. <p class="phpdocumentor-summary">isByte() passses any binary string and only fails on empty strings</p>
  1037. <code class="phpdocumentor-code phpdocumentor-signature ">
  1038. <span class="phpdocumentor-signature__visibility">public</span>
  1039. <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>
  1040. <div class="phpdocumentor-label-line">
  1041. </div>
  1042. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1043. Tags
  1044. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1045. </h5>
  1046. <dl class="phpdocumentor-tag-list">
  1047. <dt class="phpdocumentor-tag-list__entry">
  1048. <span class="phpdocumentor-tag__name">phpstan-return</span>
  1049. </dt>
  1050. <dd class="phpdocumentor-tag-list__definition">
  1051. <section class="phpdocumentor-description"><p>array&lt;int, array{0: string, 1: bool}&gt;</p>
  1052. </section>
  1053. </dd>
  1054. </dl>
  1055. <section>
  1056. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1057. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1058. </section>
  1059. </article>
  1060. <article
  1061. class="phpdocumentor-element
  1062. -method
  1063. -public
  1064. "
  1065. >
  1066. <h4 class="phpdocumentor-element__name" id="method_validateString">
  1067. validateString()
  1068. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_validateString" class="headerlink"><i class="fas fa-link"></i></a>
  1069. </h4>
  1070. <aside class="phpdocumentor-element-found-in">
  1071. <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>
  1072. :
  1073. <span class="phpdocumentor-element-found-in__line">73</span>
  1074. </aside>
  1075. <p class="phpdocumentor-summary">Tests if a string is properly validated for the respective data mode</p>
  1076. <code class="phpdocumentor-code phpdocumentor-signature ">
  1077. <span class="phpdocumentor-signature__visibility">public</span>
  1078. <span class="phpdocumentor-signature__name">validateString</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>
  1079. <div class="phpdocumentor-label-line">
  1080. </div>
  1081. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1082. <dl class="phpdocumentor-argument-list">
  1083. <dt class="phpdocumentor-argument-list__entry">
  1084. <span class="phpdocumentor-signature__argument__name">$string</span>
  1085. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1086. </dt>
  1087. <dd class="phpdocumentor-argument-list__definition">
  1088. </dd>
  1089. <dt class="phpdocumentor-argument-list__entry">
  1090. <span class="phpdocumentor-signature__argument__name">$expected</span>
  1091. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  1092. </dt>
  1093. <dd class="phpdocumentor-argument-list__definition">
  1094. </dd>
  1095. </dl>
  1096. <section class="phpdocumentor-attributes">
  1097. <h5 class="phpdocumentor-elements__header" id="attributes">
  1098. Attributes <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_validateString#attributes" class="headerlink"><i class="fas fa-link"></i></a>
  1099. </h5>
  1100. <dl class="phpdocumentor-argument-list">
  1101. <dt class="phpdocumentor-argument-list__entry">
  1102. #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
  1103. </dt>
  1104. <dd class="phpdocumentor-argument-list__entry">
  1105. &#039;stringValidateProvider&#039;
  1106. </dd>
  1107. </dl>
  1108. <dl class="phpdocumentor-argument-list">
  1109. <dt class="phpdocumentor-argument-list__entry">
  1110. #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
  1111. </dt>
  1112. </dl>
  1113. </section>
  1114. </article>
  1115. <article
  1116. class="phpdocumentor-element
  1117. -method
  1118. -public
  1119. -static "
  1120. >
  1121. <h4 class="phpdocumentor-element__name" id="method_versionBreakpointProvider">
  1122. versionBreakpointProvider()
  1123. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider" class="headerlink"><i class="fas fa-link"></i></a>
  1124. </h4>
  1125. <aside class="phpdocumentor-element-found-in">
  1126. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  1127. :
  1128. <span class="phpdocumentor-element-found-in__line">112</span>
  1129. </aside>
  1130. <p class="phpdocumentor-summary">returns versions within the version breakpoints 1-9, 10-26 and 27-40</p>
  1131. <code class="phpdocumentor-code phpdocumentor-signature ">
  1132. <span class="phpdocumentor-signature__visibility">public</span>
  1133. <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>
  1134. <div class="phpdocumentor-label-line">
  1135. </div>
  1136. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  1137. Tags
  1138. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  1139. </h5>
  1140. <dl class="phpdocumentor-tag-list">
  1141. <dt class="phpdocumentor-tag-list__entry">
  1142. <span class="phpdocumentor-tag__name">phpstan-return</span>
  1143. </dt>
  1144. <dd class="phpdocumentor-tag-list__definition">
  1145. <section class="phpdocumentor-description"><p>array&lt;string, array{0: int}&gt;</p>
  1146. </section>
  1147. </dd>
  1148. </dl>
  1149. <section>
  1150. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1151. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  1152. </section>
  1153. </article>
  1154. <article
  1155. class="phpdocumentor-element
  1156. -method
  1157. -protected
  1158. -static "
  1159. >
  1160. <h4 class="phpdocumentor-element__name" id="method_getDataModeInterface">
  1161. getDataModeInterface()
  1162. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_getDataModeInterface" class="headerlink"><i class="fas fa-link"></i></a>
  1163. </h4>
  1164. <aside class="phpdocumentor-element-found-in">
  1165. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  1166. :
  1167. <span class="phpdocumentor-element-found-in__line">24</span>
  1168. </aside>
  1169. <code class="phpdocumentor-code phpdocumentor-signature ">
  1170. <span class="phpdocumentor-signature__visibility">protected</span>
  1171. <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>
  1172. <div class="phpdocumentor-label-line">
  1173. </div>
  1174. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  1175. <dl class="phpdocumentor-argument-list">
  1176. <dt class="phpdocumentor-argument-list__entry">
  1177. <span class="phpdocumentor-signature__argument__name">$data</span>
  1178. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  1179. </dt>
  1180. <dd class="phpdocumentor-argument-list__definition">
  1181. </dd>
  1182. </dl>
  1183. <section>
  1184. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  1185. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  1186. </section>
  1187. </article>
  1188. <article
  1189. class="phpdocumentor-element
  1190. -method
  1191. -protected
  1192. "
  1193. >
  1194. <h4 class="phpdocumentor-element__name" id="method_setUp">
  1195. setUp()
  1196. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  1197. </h4>
  1198. <aside class="phpdocumentor-element-found-in">
  1199. <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>
  1200. :
  1201. <span class="phpdocumentor-element-found-in__line">35</span>
  1202. </aside>
  1203. <code class="phpdocumentor-code phpdocumentor-signature ">
  1204. <span class="phpdocumentor-signature__visibility">protected</span>
  1205. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  1206. <div class="phpdocumentor-label-line">
  1207. </div>
  1208. </article>
  1209. </section>
  1210. <div class="phpdocumentor-modal" id="source-view">
  1211. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  1212. <div class="phpdocumentor-modal-container">
  1213. <div class="phpdocumentor-modal-content">
  1214. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Data/ByteTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  1215. </div>
  1216. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  1217. </div>
  1218. </div>
  1219. <script type="text/javascript">
  1220. (function () {
  1221. function loadExternalCodeSnippet(el, url, line) {
  1222. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1223. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1224. const language = 'php';
  1225. const code = document.createElement('code');
  1226. code.className = 'language-' + language;
  1227. pre.textContent = '';
  1228. pre.setAttribute('data-line', line)
  1229. code.textContent = 'Loading…';
  1230. pre.appendChild(code);
  1231. var xhr = new XMLHttpRequest();
  1232. xhr.open('GET', src, true);
  1233. xhr.onreadystatechange = function () {
  1234. if (xhr.readyState !== 4) {
  1235. return;
  1236. }
  1237. if (xhr.status < 400 && xhr.responseText) {
  1238. code.textContent = xhr.responseText;
  1239. Prism.highlightElement(code);
  1240. d=document.getElementsByClassName("line-numbers");
  1241. d[0].scrollTop = d[0].children[1].offsetTop;
  1242. return;
  1243. }
  1244. if (xhr.status === 404) {
  1245. code.textContent = '✖ Error: File could not be found';
  1246. return;
  1247. }
  1248. if (xhr.status >= 400) {
  1249. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1250. return;
  1251. }
  1252. code.textContent = '✖ Error: An unknown error occurred';
  1253. };
  1254. xhr.send(null);
  1255. });
  1256. }
  1257. const modalButtons = document.querySelectorAll("[data-modal]");
  1258. const openedAsLocalFile = window.location.protocol === 'file:';
  1259. if (modalButtons.length > 0 && openedAsLocalFile) {
  1260. console.warn(
  1261. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1262. 'browsers block XHR requests when a page is opened this way'
  1263. );
  1264. }
  1265. modalButtons.forEach(function (trigger) {
  1266. if (openedAsLocalFile) {
  1267. trigger.setAttribute("hidden", "hidden");
  1268. }
  1269. trigger.addEventListener("click", function (event) {
  1270. event.preventDefault();
  1271. const modal = document.getElementById(trigger.dataset.modal);
  1272. if (!modal) {
  1273. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1274. return;
  1275. }
  1276. modal.classList.add("phpdocumentor-modal__open");
  1277. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1278. const exits = modal.querySelectorAll("[data-exit-button]");
  1279. exits.forEach(function (exit) {
  1280. exit.addEventListener("click", function (event) {
  1281. event.preventDefault();
  1282. modal.classList.remove("phpdocumentor-modal__open");
  1283. });
  1284. });
  1285. });
  1286. });
  1287. })();
  1288. </script>
  1289. </article>
  1290. </section>
  1291. <section class="phpdocumentor-on-this-page__sidebar">
  1292. <section class="phpdocumentor-on-this-page__content">
  1293. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1294. <ul class="phpdocumentor-list -clean">
  1295. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1296. <li>
  1297. <ul class="phpdocumentor-list -clean">
  1298. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-constants">Constants</a></li>
  1299. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-properties">Properties</a></li>
  1300. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-methods">Methods</a></li>
  1301. </ul>
  1302. </li>
  1303. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1304. <li>
  1305. <ul class="phpdocumentor-list -clean">
  1306. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html#constant_MAX_LENGTH">MAX_LENGTH</a></li>
  1307. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#constant_testData">testData</a></li>
  1308. </ul>
  1309. </li>
  1310. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1311. <li>
  1312. <ul class="phpdocumentor-list -clean">
  1313. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode">$dataMode</a></li>
  1314. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData">$QRData</a></li>
  1315. </ul>
  1316. </li>
  1317. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1318. <li>
  1319. <ul class="phpdocumentor-list -clean">
  1320. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_binaryStringInvalid">binaryStringInvalid()</a></li>
  1321. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_decodeSegment">decodeSegment()</a></li>
  1322. <li class=""><a href="classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  1323. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersion">getMinimumVersion()</a></li>
  1324. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_getMinimumVersionException">getMinimumVersionException()</a></li>
  1325. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_initMatrix">initMatrix()</a></li>
  1326. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_invalidDataException">invalidDataException()</a></li>
  1327. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_invalidDataOnEmptyException">invalidDataOnEmptyException()</a></li>
  1328. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a></li>
  1329. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLength">maxLength()</a></li>
  1330. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthOverflowException">maxLengthOverflowException()</a></li>
  1331. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a></li>
  1332. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider">stringValidateProvider()</a></li>
  1333. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_validateString">validateString()</a></li>
  1334. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a></li>
  1335. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_getDataModeInterface">getDataModeInterface()</a></li>
  1336. <li class=""><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a></li>
  1337. </ul>
  1338. </li>
  1339. </ul>
  1340. </section>
  1341. </section>
  1342. </div>
  1343. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1344. <section class="phpdocumentor-search-results__dialog">
  1345. <header class="phpdocumentor-search-results__header">
  1346. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1347. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1348. </header>
  1349. <section class="phpdocumentor-search-results__body">
  1350. <ul class="phpdocumentor-search-results__entries"></ul>
  1351. </section>
  1352. </section>
  1353. </section>
  1354. </div>
  1355. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1356. </main>
  1357. <script>
  1358. cssVars({});
  1359. </script>
  1360. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1361. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1362. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1363. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1364. </body>
  1365. </html>