|
|
@@ -186,91 +186,61 @@
|
|
|
</h4>
|
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_circleRadiusProvider">circleRadiusProvider()</a>
|
|
|
- <span>
|
|
|
- : array<string|int, array<string|int, float>> </span>
|
|
|
-</dt>
|
|
|
-
|
|
|
- <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceValueProvider">logoSpaceValueProvider()</a>
|
|
|
- <span>
|
|
|
- : array<string|int, array<string|int, int>> </span>
|
|
|
-</dt>
|
|
|
-
|
|
|
- <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_RGBProvider">RGBProvider()</a>
|
|
|
- <span>
|
|
|
- : array<string|int, array<string|int, array<string|int, int>>> </span>
|
|
|
-</dt>
|
|
|
-
|
|
|
- <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius">testClampCircleRadius()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampCircleRadius">clampCircleRadius()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests clamping of the circle radius</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue">testClampLogoSpaceValue()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampLogoSpaceValue">clampLogoSpaceValue()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests the clamping (between 0 and 177) of the logo space values</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testLogoSpaceStartNullable">testLogoSpaceStartNullable()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceStartNullable">logoSpaceStartNullable()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests if the optional logo space start values are nullable</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel">testSetEccLevel()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevel">setEccLevel()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests setting the ECC level from string or int</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromIntException">testSetEccLevelFromIntException()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromIntException">setEccLevelFromIntException()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests if an exception is thrown when attempting to set an invalid ECC level integer</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromStringException">testSetEccLevelFromStringException()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromStringException">setEccLevelFromStringException()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests if an exception is thrown when attempting to set an invalid ECC level string</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp">testVersionClamp()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionClamp">versionClamp()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests the $version clamping</dd>
|
|
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp">testVersionMinMaxClamp()</a>
|
|
|
+ <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionMinMaxClamp">versionMinMaxClamp()</a>
|
|
|
<span>
|
|
|
: void </span>
|
|
|
</dt>
|
|
|
<dd>Tests the $versionMin/$versionMax clamping</dd>
|
|
|
|
|
|
- <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionMinMaxProvider">VersionMinMaxProvider()</a>
|
|
|
- <span>
|
|
|
- : array<string|int, array<string|int, int>> </span>
|
|
|
-</dt>
|
|
|
-
|
|
|
- <dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
|
- <a class="" href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionProvider">VersionProvider()</a>
|
|
|
- <span>
|
|
|
- : array<string|int, array<string|int, int>> </span>
|
|
|
-</dt>
|
|
|
-
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
@@ -286,134 +256,20 @@
|
|
|
|
|
|
</h3>
|
|
|
<article
|
|
|
- class="phpdocumentor-element
|
|
|
- -method
|
|
|
- -public
|
|
|
- -static "
|
|
|
->
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_circleRadiusProvider">
|
|
|
- circleRadiusProvider()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_circleRadiusProvider" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
-
|
|
|
- </h4>
|
|
|
- <aside class="phpdocumentor-element-found-in">
|
|
|
- <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
- :
|
|
|
- <span class="phpdocumentor-element-found-in__line">166</span>
|
|
|
-
|
|
|
- </aside>
|
|
|
-
|
|
|
-
|
|
|
- <code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
- <span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">circleRadiusProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, float>></span></code>
|
|
|
-
|
|
|
- <div class="phpdocumentor-label-line">
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <section>
|
|
|
- <h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
- <span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, float>></span>
|
|
|
- </section>
|
|
|
-
|
|
|
-</article>
|
|
|
- <article
|
|
|
- class="phpdocumentor-element
|
|
|
- -method
|
|
|
- -public
|
|
|
- -static "
|
|
|
->
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_logoSpaceValueProvider">
|
|
|
- logoSpaceValueProvider()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceValueProvider" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
-
|
|
|
- </h4>
|
|
|
- <aside class="phpdocumentor-element-found-in">
|
|
|
- <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
- :
|
|
|
- <span class="phpdocumentor-element-found-in__line">120</span>
|
|
|
-
|
|
|
- </aside>
|
|
|
-
|
|
|
-
|
|
|
- <code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
- <span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">logoSpaceValueProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, int>></span></code>
|
|
|
-
|
|
|
- <div class="phpdocumentor-label-line">
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <section>
|
|
|
- <h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
- <span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, int>></span>
|
|
|
- </section>
|
|
|
-
|
|
|
-</article>
|
|
|
- <article
|
|
|
- class="phpdocumentor-element
|
|
|
- -method
|
|
|
- -public
|
|
|
- -static "
|
|
|
->
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_RGBProvider">
|
|
|
- RGBProvider()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_RGBProvider" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
-
|
|
|
- </h4>
|
|
|
- <aside class="phpdocumentor-element-found-in">
|
|
|
- <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
- :
|
|
|
- <span class="phpdocumentor-element-found-in__line">109</span>
|
|
|
-
|
|
|
- </aside>
|
|
|
-
|
|
|
-
|
|
|
- <code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
- <span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">RGBProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, array<string|int, int>>></span></code>
|
|
|
-
|
|
|
- <div class="phpdocumentor-label-line">
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <section>
|
|
|
- <h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
- <span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, array<string|int, int>>></span>
|
|
|
- </section>
|
|
|
-
|
|
|
-</article>
|
|
|
- <article
|
|
|
class="phpdocumentor-element
|
|
|
-method
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testClampCircleRadius">
|
|
|
- testClampCircleRadius()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_clampCircleRadius">
|
|
|
+ clampCircleRadius()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampCircleRadius" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">177</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">135</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -421,7 +277,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testClampCircleRadius</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float </span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">clampCircleRadius</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">float </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">float </span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -450,15 +306,45 @@
|
|
|
|
|
|
<section class="phpdocumentor-attributes">
|
|
|
<h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
- Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampCircleRadius#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h5>
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
- #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [0.0, 0.1]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'min'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
</dt>
|
|
|
<dd class="phpdocumentor-argument-list__entry">
|
|
|
- 'circleRadiusProvider'
|
|
|
+ [0.5, 0.5]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'no clamp'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [1.5, 0.75]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'max'
|
|
|
</dd>
|
|
|
</dl>
|
|
|
</section>
|
|
|
@@ -471,15 +357,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testClampLogoSpaceValue">
|
|
|
- testClampLogoSpaceValue()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_clampLogoSpaceValue">
|
|
|
+ clampLogoSpaceValue()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampLogoSpaceValue" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">133</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">96</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -487,7 +373,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testClampLogoSpaceValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">clampLogoSpaceValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -516,15 +402,67 @@
|
|
|
|
|
|
<section class="phpdocumentor-attributes">
|
|
|
<h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
- Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampLogoSpaceValue#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h5>
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
- #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [-1, 0]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'negative'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [0, 0]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'zero'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [69, 69]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'normal'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
</dt>
|
|
|
<dd class="phpdocumentor-argument-list__entry">
|
|
|
- 'logoSpaceValueProvider'
|
|
|
+ [177, 177]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'max'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [178, 177]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'exceed'
|
|
|
</dd>
|
|
|
</dl>
|
|
|
</section>
|
|
|
@@ -537,15 +475,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testLogoSpaceStartNullable">
|
|
|
- testLogoSpaceStartNullable()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testLogoSpaceStartNullable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_logoSpaceStartNullable">
|
|
|
+ logoSpaceStartNullable()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceStartNullable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">147</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">115</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -553,7 +491,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testLogoSpaceStartNullable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">logoSpaceStartNullable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -563,6 +501,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ <section class="phpdocumentor-attributes">
|
|
|
+ <h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceStartNullable#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+
|
|
|
+ </h5>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ </section>
|
|
|
|
|
|
|
|
|
</article>
|
|
|
@@ -572,15 +521,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testSetEccLevel">
|
|
|
- testSetEccLevel()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_setEccLevel">
|
|
|
+ setEccLevel()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevel" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">76</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">60</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -588,7 +537,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testSetEccLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">setEccLevel</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -598,7 +547,7 @@
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
|
Tags
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevel#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h5>
|
|
|
<dl class="phpdocumentor-tag-list">
|
|
|
@@ -614,6 +563,17 @@
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
+ <section class="phpdocumentor-attributes">
|
|
|
+ <h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevel#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+
|
|
|
+ </h5>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ </section>
|
|
|
|
|
|
|
|
|
</article>
|
|
|
@@ -623,15 +583,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testSetEccLevelFromIntException">
|
|
|
- testSetEccLevelFromIntException()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromIntException" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_setEccLevelFromIntException">
|
|
|
+ setEccLevelFromIntException()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromIntException" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">89</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">74</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -639,7 +599,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testSetEccLevelFromIntException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">setEccLevelFromIntException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -649,6 +609,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ <section class="phpdocumentor-attributes">
|
|
|
+ <h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromIntException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+
|
|
|
+ </h5>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ </section>
|
|
|
|
|
|
|
|
|
</article>
|
|
|
@@ -658,15 +629,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testSetEccLevelFromStringException">
|
|
|
- testSetEccLevelFromStringException()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromStringException" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_setEccLevelFromStringException">
|
|
|
+ setEccLevelFromStringException()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromStringException" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">99</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">85</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -674,7 +645,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testSetEccLevelFromStringException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">setEccLevelFromStringException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -684,6 +655,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
+ <section class="phpdocumentor-attributes">
|
|
|
+ <h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromStringException#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+
|
|
|
+ </h5>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ </section>
|
|
|
|
|
|
|
|
|
</article>
|
|
|
@@ -693,15 +675,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testVersionClamp">
|
|
|
- testVersionClamp()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_versionClamp">
|
|
|
+ versionClamp()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionClamp" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">41</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">29</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -709,7 +691,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testVersionClamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">versionClamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -738,15 +720,56 @@
|
|
|
|
|
|
<section class="phpdocumentor-attributes">
|
|
|
<h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
- Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionClamp#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h5>
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
- #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [42, 40]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'values > 40 should be clamped to 40'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [-42, 1]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'values < 1 should be clamped to 1'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [21, 21]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'values in between should not be touched'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
</dt>
|
|
|
<dd class="phpdocumentor-argument-list__entry">
|
|
|
- 'VersionProvider'
|
|
|
+ [Version::AUTO, -1]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'value -1 should be treated as is (default)'
|
|
|
</dd>
|
|
|
</dl>
|
|
|
</section>
|
|
|
@@ -759,15 +782,15 @@
|
|
|
-public
|
|
|
"
|
|
|
>
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_testVersionMinMaxClamp">
|
|
|
- testVersionMinMaxClamp()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ <h4 class="phpdocumentor-element__name" id="method_versionMinMaxClamp">
|
|
|
+ versionMinMaxClamp()
|
|
|
+ <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionMinMaxClamp" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h4>
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
|
<abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
:
|
|
|
- <span class="phpdocumentor-element-found-in__line">63</span>
|
|
|
+ <span class="phpdocumentor-element-found-in__line">43</span>
|
|
|
|
|
|
</aside>
|
|
|
|
|
|
@@ -775,7 +798,7 @@
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__name">testVersionMinMaxClamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$versionMin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$versionMax</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expectedMin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expectedMax</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
+ <span class="phpdocumentor-signature__name">versionMinMaxClamp</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$versionMin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$versionMax</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expectedMin</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$expectedMax</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
</div>
|
|
|
@@ -818,96 +841,61 @@
|
|
|
|
|
|
<section class="phpdocumentor-attributes">
|
|
|
<h5 class="phpdocumentor-elements__header" id="attributes">
|
|
|
- Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
+ Attributes <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionMinMaxClamp#attributes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
|
|
</h5>
|
|
|
<dl class="phpdocumentor-argument-list">
|
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
|
- #[<abbr title="\PHPUnit\Framework\Attributes\DataProvider">DataProvider</abbr>]
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\Test">Test</abbr>]
|
|
|
+ </dt>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
</dt>
|
|
|
<dd class="phpdocumentor-argument-list__entry">
|
|
|
- 'VersionMinMaxProvider'
|
|
|
+ [5, 10, 5, 10]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'normal clamp'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [-42, 42, 1, 40]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'exceeding values'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [10, 5, 5, 10]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'min > max'
|
|
|
+ </dd>
|
|
|
+ </dl>
|
|
|
+ <dl class="phpdocumentor-argument-list">
|
|
|
+ <dt class="phpdocumentor-argument-list__entry">
|
|
|
+ #[<abbr title="\PHPUnit\Framework\Attributes\TestWith">TestWith</abbr>]
|
|
|
+ </dt>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ [42, -42, 1, 40]
|
|
|
+ </dd>
|
|
|
+ <dd class="phpdocumentor-argument-list__entry">
|
|
|
+ 'min > max, exceeding'
|
|
|
</dd>
|
|
|
</dl>
|
|
|
</section>
|
|
|
|
|
|
|
|
|
-</article>
|
|
|
- <article
|
|
|
- class="phpdocumentor-element
|
|
|
- -method
|
|
|
- -public
|
|
|
- -static "
|
|
|
->
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_VersionMinMaxProvider">
|
|
|
- VersionMinMaxProvider()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionMinMaxProvider" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
-
|
|
|
- </h4>
|
|
|
- <aside class="phpdocumentor-element-found-in">
|
|
|
- <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
- :
|
|
|
- <span class="phpdocumentor-element-found-in__line">51</span>
|
|
|
-
|
|
|
- </aside>
|
|
|
-
|
|
|
-
|
|
|
- <code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
- <span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">VersionMinMaxProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, int>></span></code>
|
|
|
-
|
|
|
- <div class="phpdocumentor-label-line">
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <section>
|
|
|
- <h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
- <span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, int>></span>
|
|
|
- </section>
|
|
|
-
|
|
|
-</article>
|
|
|
- <article
|
|
|
- class="phpdocumentor-element
|
|
|
- -method
|
|
|
- -public
|
|
|
- -static "
|
|
|
->
|
|
|
- <h4 class="phpdocumentor-element__name" id="method_VersionProvider">
|
|
|
- VersionProvider()
|
|
|
- <a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionProvider" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
-
|
|
|
- </h4>
|
|
|
- <aside class="phpdocumentor-element-found-in">
|
|
|
- <abbr class="phpdocumentor-element-found-in__file" title="tests/QROptionsTest.php"><a href="files/tests-qroptionstest.html"><abbr title="tests/QROptionsTest.php">QROptionsTest.php</abbr></a></abbr>
|
|
|
- :
|
|
|
- <span class="phpdocumentor-element-found-in__line">29</span>
|
|
|
-
|
|
|
- </aside>
|
|
|
-
|
|
|
-
|
|
|
- <code class="phpdocumentor-code phpdocumentor-signature ">
|
|
|
- <span class="phpdocumentor-signature__visibility">public</span>
|
|
|
- <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">VersionProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, int>></span></code>
|
|
|
-
|
|
|
- <div class="phpdocumentor-label-line">
|
|
|
- </div>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <section>
|
|
|
- <h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
|
- <span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, int>></span>
|
|
|
- </section>
|
|
|
-
|
|
|
</article>
|
|
|
</section>
|
|
|
|
|
|
@@ -1024,19 +1012,14 @@
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
|
<li>
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_circleRadiusProvider">circleRadiusProvider()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceValueProvider">logoSpaceValueProvider()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_RGBProvider">RGBProvider()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampCircleRadius">testClampCircleRadius()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testClampLogoSpaceValue">testClampLogoSpaceValue()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testLogoSpaceStartNullable">testLogoSpaceStartNullable()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevel">testSetEccLevel()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromIntException">testSetEccLevelFromIntException()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testSetEccLevelFromStringException">testSetEccLevelFromStringException()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionClamp">testVersionClamp()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_testVersionMinMaxClamp">testVersionMinMaxClamp()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionMinMaxProvider">VersionMinMaxProvider()</a></li>
|
|
|
- <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_VersionProvider">VersionProvider()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampCircleRadius">clampCircleRadius()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_clampLogoSpaceValue">clampLogoSpaceValue()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_logoSpaceStartNullable">logoSpaceStartNullable()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevel">setEccLevel()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromIntException">setEccLevelFromIntException()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_setEccLevelFromStringException">setEccLevelFromStringException()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionClamp">versionClamp()</a></li>
|
|
|
+ <li class=""><a href="classes/chillerlan-QRCodeTest-QROptionsTest.html#method_versionMinMaxClamp">versionMinMaxClamp()</a></li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
</ul>
|