From cec7325febe73c8134bfdd6f3464a24a0495b32d Mon Sep 17 00:00:00 2001 From: codemasher Date: Sat, 1 Nov 2025 23:50:26 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20chillerl?= =?UTF-8?q?an/php-qrcode@c99f5d402297cf55f5fa26b2d0be16360cfdbe6c=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/chillerlan-QRCode-QRCode.html | 20 +- ...erlan-QRCodeTest-Common-BitBufferTest.html | 158 +- ...rlan-QRCodeTest-Common-ECICharsetTest.html | 117 +- ...lerlan-QRCodeTest-Common-EccLevelTest.html | 410 +++--- ...lan-QRCodeTest-Common-MaskPatternTest.html | 322 +++-- ...chillerlan-QRCodeTest-Common-ModeTest.html | 208 +-- ...llerlan-QRCodeTest-Common-VersionTest.html | 206 ++- ...illerlan-QRCodeTest-Data-AlphaNumTest.html | 1260 ++++++++-------- .../chillerlan-QRCodeTest-Data-ByteTest.html | 1222 ++++++++-------- ...deTest-Data-DataInterfaceTestAbstract.html | 1256 ++++++++-------- .../chillerlan-QRCodeTest-Data-ECITest.html | 467 +++--- .../chillerlan-QRCodeTest-Data-HanziTest.html | 1283 +++++++++-------- .../chillerlan-QRCodeTest-Data-KanjiTest.html | 1283 +++++++++-------- ...chillerlan-QRCodeTest-Data-NumberTest.html | 1260 ++++++++-------- ...chillerlan-QRCodeTest-Data-QRDataTest.html | 74 +- ...illerlan-QRCodeTest-Data-QRMatrixTest.html | 1164 +++++++++------ ...hillerlan-QRCodeTest-Output-QREpsTest.html | 234 +-- ...illerlan-QRCodeTest-Output-QRFpdfTest.html | 471 +++--- ...n-QRCodeTest-Output-QRGdImageAVIFTest.html | 387 +++-- ...an-QRCodeTest-Output-QRGdImageBMPTest.html | 381 +++-- ...an-QRCodeTest-Output-QRGdImageGIFTest.html | 381 +++-- ...an-QRCodeTest-Output-QRGdImageJPGTest.html | 381 +++-- ...an-QRCodeTest-Output-QRGdImagePNGTest.html | 381 +++-- ...CodeTest-Output-QRGdImageTestAbstract.html | 381 +++-- ...n-QRCodeTest-Output-QRGdImageWEBPTest.html | 381 +++-- ...erlan-QRCodeTest-Output-QRImagickTest.html | 280 ++-- ...deTest-Output-QRInterventionImageTest.html | 288 ++-- ...an-QRCodeTest-Output-QRMarkupHTMLTest.html | 235 +-- ...lan-QRCodeTest-Output-QRMarkupSVGTest.html | 227 +-- ...RCodeTest-Output-QRMarkupTestAbstract.html | 239 +-- ...lan-QRCodeTest-Output-QRMarkupXMLTest.html | 235 +-- ...RCodeTest-Output-QROutputTestAbstract.html | 229 +-- ...an-QRCodeTest-Output-QRStringJSONTest.html | 242 ++-- ...an-QRCodeTest-Output-QRStringTextTest.html | 234 +-- ...llerlan-QRCodeTest-QRCodeReaderGDTest.html | 127 +- ...an-QRCodeTest-QRCodeReaderImagickTest.html | 150 +- ...n-QRCodeTest-QRCodeReaderTestAbstract.html | 113 +- classes/chillerlan-QRCodeTest-QRCodeTest.html | 349 +++-- .../chillerlan-QRCodeTest-QROptionsTest.html | 571 ++++---- ...rlan-QRCodeTest-Traits-BuildDirTrait.html} | 132 +- ...its-CssColorModuleValueProviderTrait.html} | 26 +- ...QRCodeTest-Traits-QRMatrixDebugTrait.html} | 35 +- ...n-QRCodeTest-Traits-QRMaxLengthTrait.html} | 41 +- ...its-RGBArrayModuleValueProviderTrait.html} | 26 +- files/tests-output-qrepstest.html | 3 +- files/tests-output-qrfpdftest.html | 2 +- files/tests-output-qrgdimageaviftest.html | 2 +- files/tests-output-qrgdimagebmptest.html | 2 +- files/tests-output-qrgdimagegiftest.html | 2 +- files/tests-output-qrgdimagejpgtest.html | 2 +- files/tests-output-qrgdimagepngtest.html | 2 +- files/tests-output-qrgdimagetestabstract.html | 2 +- files/tests-output-qrgdimagewebptest.html | 2 +- files/tests-output-qrimagicktest.html | 2 +- .../tests-output-qrinterventionimagetest.html | 2 +- files/tests-output-qrmarkuphtmltest.html | 2 +- files/tests-output-qrmarkupsvgtest.html | 2 +- files/tests-output-qrmarkuptestabstract.html | 2 +- files/tests-output-qrmarkupxmltest.html | 2 +- files/tests-output-qrstringjsontest.html | 3 +- files/tests-output-qrstringtexttest.html | 3 +- ...t.html => tests-traits-builddirtrait.html} | 14 +- ...its-csscolormodulevalueprovidertrait.html} | 14 +- ...l => tests-traits-qrmatrixdebugtrait.html} | 14 +- ...tml => tests-traits-qrmaxlengthtrait.html} | 14 +- ...its-rgbarraymodulevalueprovidertrait.html} | 14 +- indices/files.html | 10 +- js/searchIndex.js | 924 ++++++------ namespaces/chillerlan-qrcodetest-output.html | 17 +- namespaces/chillerlan-qrcodetest-traits.html | 295 ++++ namespaces/chillerlan-qrcodetest.html | 11 +- packages/Application.html | 9 +- 72 files changed, 10719 insertions(+), 8521 deletions(-) rename classes/{chillerlan-QRCodeTest-BuildDirTrait.html => chillerlan-QRCodeTest-Traits-BuildDirTrait.html} (81%) rename classes/{chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html => chillerlan-QRCodeTest-Traits-CssColorModuleValueProviderTrait.html} (93%) rename classes/{chillerlan-QRCodeTest-QRMatrixDebugTrait.html => chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html} (88%) rename classes/{chillerlan-QRCodeTest-QRMaxLengthTrait.html => chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html} (91%) rename classes/{chillerlan-QRCodeTest-Output-RGBArrayModuleValueProviderTrait.html => chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html} (93%) rename files/{tests-builddirtrait.html => tests-traits-builddirtrait.html} (94%) rename files/{tests-output-csscolormodulevalueprovidertrait.html => tests-traits-csscolormodulevalueprovidertrait.html} (96%) rename files/{tests-qrmatrixdebugtrait.html => tests-traits-qrmatrixdebugtrait.html} (94%) rename files/{tests-qrmaxlengthtrait.html => tests-traits-qrmaxlengthtrait.html} (94%) rename files/{tests-output-rgbarraymodulevalueprovidertrait.html => tests-traits-rgbarraymodulevalueprovidertrait.html} (96%) create mode 100644 namespaces/chillerlan-qrcodetest-traits.html diff --git a/classes/chillerlan-QRCode-QRCode.html b/classes/chillerlan-QRCode-QRCode.html index 318d38aed..5b87d5e6b 100644 --- a/classes/chillerlan-QRCode-QRCode.html +++ b/classes/chillerlan-QRCode-QRCode.html @@ -1126,7 +1126,7 @@ ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length

@@ -1175,7 +1175,7 @@ ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length

@@ -1201,6 +1201,20 @@ ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length

+
+ Tags + + +
+
+
+ codeCoverageIgnore +
+
+ + +
+
@@ -1224,7 +1238,7 @@ ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length

diff --git a/classes/chillerlan-QRCodeTest-Common-BitBufferTest.html b/classes/chillerlan-QRCodeTest-Common-BitBufferTest.html index 78616fa4b..1ebcabc21 100644 --- a/classes/chillerlan-QRCodeTest-Common-BitBufferTest.html +++ b/classes/chillerlan-QRCodeTest-Common-BitBufferTest.html @@ -200,19 +200,13 @@
- bitProvider() - -  : array<string|int, mixed> -
- -
- testPut() + put()  : void
- testReadException() + readException()  : void
@@ -283,81 +277,27 @@
-

- bitProvider() - - -

- - - - - public - static bitProvider() : array<string|int, mixed> - -
-
- - - - -
- Tags - - -
-
-
- phpstan-return -
-
- -

array<string, array{0: int, 1: int}>

-
- -
-
- - - -
-
Return values
- array<string|int, mixed> -
- -
-
-

- testPut() - +

+ put() +

public - testPut(int $data, int $expected) : void + put(int $data, int $expected) : void
@@ -386,15 +326,67 @@
- Attributes + Attributes
- #[DataProvider] + #[Test] +
+
+
+
+ #[TestWith]
- 'bitProvider' + [Mode::NUMBER, 16] +
+
+ 'number' +
+
+
+
+ #[TestWith] +
+
+ [Mode::ALPHANUM, 32] +
+
+ 'alphanum' +
+
+
+
+ #[TestWith] +
+
+ [Mode::BYTE, 64] +
+
+ 'byte' +
+
+
+
+ #[TestWith] +
+
+ [Mode::KANJI, 128] +
+
+ 'kanji' +
+
+
+
+ #[TestWith] +
+
+ [Mode::HANZI, 208] +
+
+ 'hanzi'
@@ -407,22 +399,22 @@ -public " > -

- testReadException() - +

+ readException() +

public - testReadException() : void + readException() : void
@@ -432,6 +424,17 @@ +
+
+ Attributes + +
+
+
+ #[Test] +
+
+
@@ -591,9 +594,8 @@
  • Methods
  • diff --git a/classes/chillerlan-QRCodeTest-Common-ECICharsetTest.html b/classes/chillerlan-QRCodeTest-Common-ECICharsetTest.html index bd6e5b370..5095b6bdc 100644 --- a/classes/chillerlan-QRCodeTest-Common-ECICharsetTest.html +++ b/classes/chillerlan-QRCodeTest-Common-ECICharsetTest.html @@ -192,19 +192,13 @@
    - invalidIdProvider() - -  : array<string|int, mixed> -
    - -
    - testGetName() + getName()  : void
    - testInvalidDataException() + invalidDataException()  : void
    @@ -237,7 +231,7 @@ @@ -271,60 +265,6 @@ -
    -
    Return values
    - array<string|int, mixed> -
    - - -
    -

    - invalidIdProvider() - - -

    - - - - - public - static invalidIdProvider() : array<string|int, mixed> - -
    -
    - - - - -
    - Tags - - -
    -
    -
    - phpstan-return -
    -
    - -

    array<int, array{0: int}>

    -
    - -
    -
    - - -
    Return values
    array<string|int, mixed> @@ -337,22 +277,22 @@ -public " > -

    - testGetName() - +

    + getName() +

    public - testGetName(int $id[, string|null $name = null ]) : void + getName(int $id[, string|null $name = null ]) : void
    @@ -381,7 +321,7 @@
    - Attributes + Attributes
    @@ -391,6 +331,11 @@
    'encodingProvider'
    +
    +
    +
    + #[Test] +
    @@ -402,22 +347,22 @@ -public " > -

    - testInvalidDataException() - +

    + invalidDataException() +

    public - testInvalidDataException(int $id) : void + invalidDataException(int $id) : void
    @@ -439,15 +384,28 @@
    - Attributes + Attributes
    - #[DataProvider] + #[Test] +
    +
    +
    +
    + #[TestWith]
    - 'invalidIdProvider' + [-1] +
    +
    +
    +
    + #[TestWith] +
    +
    + [1000000]
    @@ -570,9 +528,8 @@
  • diff --git a/classes/chillerlan-QRCodeTest-Common-EccLevelTest.html b/classes/chillerlan-QRCodeTest-Common-EccLevelTest.html index a6470c387..94ed8cd13 100644 --- a/classes/chillerlan-QRCodeTest-Common-EccLevelTest.html +++ b/classes/chillerlan-QRCodeTest-Common-EccLevelTest.html @@ -151,7 +151,7 @@ @@ -186,6 +186,30 @@
    +
    + constructInvalidEccException() + +  : void +
    + +
    + eccToString() + +  : void +
    + +
    + getformatPattern() + +  : void +
    + +
    + getLevel() + +  : void +
    +
    getMaxBits() @@ -193,31 +217,7 @@
    - testConstructInvalidEccException() - -  : void -
    - -
    - testGetformatPattern() - -  : void -
    - -
    - testGetLevel() - -  : void -
    - -
    - testGetOrdinal() - -  : void -
    - -
    - testToString() + getOrdinal()  : void
    @@ -241,6 +241,186 @@ -method -public " +> +

    + constructInvalidEccException() + + +

    + + + + + public + constructInvalidEccException() : void + +
    +
    + + + + + + +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    + + +
    +
    +

    + eccToString() + + +

    + + + + + public + eccToString() : void + +
    +
    + + + + + + +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    + + +
    +
    +

    + getformatPattern() + + +

    + + + + + public + getformatPattern() : void + +
    +
    + + + + + + +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    + + +
    +
    +

    + getLevel() + + +

    + + + + + public + getLevel() : void + +
    +
    + + + + + + +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    + + +
    +

    getMaxBits() @@ -250,7 +430,7 @@ @@ -267,6 +447,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +

    @@ -276,22 +467,22 @@ -public " > -

    - testConstructInvalidEccException() - +

    + getOrdinal() +

    public - testConstructInvalidEccException() : void + getOrdinal() : void
    @@ -301,142 +492,17 @@ +
    +
    + Attributes - - -
    -

    - testGetformatPattern() - - -

    - - - - - public - testGetformatPattern() : void - -
    -
    - - - - - - - - -
    -
    -

    - testGetLevel() - - -

    - - - - - public - testGetLevel() : void - -
    -
    - - - - - - - - -
    -
    -

    - testGetOrdinal() - - -

    - - - - - public - testGetOrdinal() : void - -
    -
    - - - - - - - - -
    -
    -

    - testToString() - - -

    - - - - - public - testToString() : void - -
    -
    - - - - - - +
    +
    +
    + #[Test] +
    +
    +
    @@ -555,12 +621,12 @@
  • Methods
  • diff --git a/classes/chillerlan-QRCodeTest-Common-MaskPatternTest.html b/classes/chillerlan-QRCodeTest-Common-MaskPatternTest.html index 53f58ff26..46a500c71 100644 --- a/classes/chillerlan-QRCodeTest-Common-MaskPatternTest.html +++ b/classes/chillerlan-QRCodeTest-Common-MaskPatternTest.html @@ -201,45 +201,45 @@
    - maskPatternProvider() - -  : array<string|int, mixed> -
    - -
    - testInvalidMaskPatternException() + invalidMaskPatternException()  : void
    Tests if an exception is thrown on an incorrect mask pattern
    - testMask() + mask()  : void
    Tests if the mask function generates the correct pattern
    - testPenaltyRule1() + maskPatternProvider() + +  : array<string|int, mixed> +
    + +
    + penaltyRule1()  : void
    - testPenaltyRule2() + penaltyRule2()  : void
    - testPenaltyRule3() + penaltyRule3()  : void
    - testPenaltyRule4() + penaltyRule4()  : void
    @@ -265,6 +265,123 @@
    +

    + invalidMaskPatternException() + + +

    + + +

    Tests if an exception is thrown on an incorrect mask pattern

    + + + public + invalidMaskPatternException() : void + +
    +
    + + + + + + +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    + + +
    +
    +

    + mask() + + +

    + + +

    Tests if the mask function generates the correct pattern

    + + + public + mask(int $pattern, array<string|int, array<string|int, int>> $expected) : void + +
    +
    + + +
    Parameters
    +
    +
    + $pattern + : int +
    +
    + +
    +
    + $expected + : array<string|int, array<string|int, int>> +
    +
    + +
    +
    + + + + +
    +
    + Attributes + +
    +
    +
    + #[DataProvider] +
    +
    + 'maskPatternProvider' +
    +
    +
    +
    + #[Test] +
    +
    +
    + + +
    +
    -

    - testInvalidMaskPatternException() - +

    + penaltyRule1() +

    -

    Tests if an exception is thrown on an incorrect mask pattern

    - + public - testInvalidMaskPatternException() : void + penaltyRule1() : void
    @@ -334,70 +450,15 @@ - - -
    -
    -

    - testMask() - - -

    - - -

    Tests if the mask function generates the correct pattern

    - - - public - testMask(int $pattern, array<string|int, array<string|int, int>> $expected) : void - -
    -
    - - -
    Parameters
    -
    -
    - $pattern - : int -
    -
    - -
    -
    - $expected - : array<string|int, array<string|int, int>> -
    -
    - -
    -
    - - - -
    - Attributes + Attributes
    - #[DataProvider] + #[Test]
    -
    - 'maskPatternProvider' -
    @@ -409,22 +470,22 @@ -public " > -

    - testPenaltyRule1() - +

    + penaltyRule2() +

    public - testPenaltyRule1() : void + penaltyRule2() : void
    @@ -434,6 +495,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -443,22 +515,22 @@ -public " > -

    - testPenaltyRule2() - +

    + penaltyRule3() +

    public - testPenaltyRule2() : void + penaltyRule3() : void
    @@ -468,6 +540,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -477,22 +560,22 @@ -public " > -

    - testPenaltyRule3() - +

    + penaltyRule4() +

    public - testPenaltyRule3() : void + penaltyRule4() : void
    @@ -502,40 +585,17 @@ +
    +
    + Attributes - - -
    -

    - testPenaltyRule4() - - -

    - - - - - public - testPenaltyRule4() : void - -
    -
    - - - - - - +
    +
    +
    + #[Test] +
    +
    +
    @@ -553,7 +613,7 @@ @@ -709,13 +769,13 @@
  • Methods
  • diff --git a/classes/chillerlan-QRCodeTest-Common-ModeTest.html b/classes/chillerlan-QRCodeTest-Common-ModeTest.html index d106e94b1..ccccaf3b2 100644 --- a/classes/chillerlan-QRCodeTest-Common-ModeTest.html +++ b/classes/chillerlan-QRCodeTest-Common-ModeTest.html @@ -187,30 +187,24 @@
    - testGetLengthBitsForVersionBreakpoints() + getLengthBitsForVersionBreakpoints() + +  : void +
    +
    Tests the version breakpoints for numeric mode
    + +
    + getLengthBitsForVersionInvalidModeException()  : void
    - testGetLengthBitsForVersionInvalidModeException() + getLengthBitsForVersionInvalidVersionException()  : void
    -
    - testGetLengthBitsForVersionInvalidVersionException() - -  : void -
    - -
    - versionProvider() - -  : array<string|int, mixed> -
    -
    version breakpoints for numeric mode
    -
    @@ -231,22 +225,23 @@ -public " > -

    - testGetLengthBitsForVersionBreakpoints() - +

    + getLengthBitsForVersionBreakpoints() +

    - +

    Tests the version breakpoints for numeric mode

    + public - testGetLengthBitsForVersionBreakpoints(int $version, int $expected) : void + getLengthBitsForVersionBreakpoints(int $version, int $expected) : void
    @@ -275,15 +270,78 @@
    - Attributes + Attributes
    - #[DataProvider] + #[Test] +
    +
    +
    +
    + #[TestWith]
    - 'versionProvider' + [1, 10] +
    +
    + '10 low' +
    +
    +
    +
    + #[TestWith] +
    +
    + [9, 10] +
    +
    + '10 high' +
    +
    +
    +
    + #[TestWith] +
    +
    + [10, 12] +
    +
    + '12 low' +
    +
    +
    +
    + #[TestWith] +
    +
    + [26, 12] +
    +
    + '12 high' +
    +
    +
    +
    + #[TestWith] +
    +
    + [27, 14] +
    +
    + '14 low' +
    +
    +
    +
    + #[TestWith] +
    +
    + [40, 14] +
    +
    + '14 high'
    @@ -296,22 +354,22 @@ -public " > -

    - testGetLengthBitsForVersionInvalidModeException() - +

    + getLengthBitsForVersionInvalidModeException() +

    public - testGetLengthBitsForVersionInvalidModeException() : void + getLengthBitsForVersionInvalidModeException() : void
    @@ -321,6 +379,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -330,22 +399,22 @@ -public " > -

    - testGetLengthBitsForVersionInvalidVersionException() - +

    + getLengthBitsForVersionInvalidVersionException() +

    public - testGetLengthBitsForVersionInvalidVersionException() : void + getLengthBitsForVersionInvalidVersionException() : void
    @@ -355,63 +424,19 @@ +
    +
    + Attributes - - -
    -

    - versionProvider() - - -

    - - -

    version breakpoints for numeric mode

    - - - public - static versionProvider() : array<string|int, mixed> - -
    -
    - - - - -
    - Tags - - -
    -
    -
    - phpstan-return -
    -
    - -

    array<int, array{0: int, 1: int}>

    -
    - -
    -
    - - - -
    -
    Return values
    - array<string|int, mixed> +
    +
    +
    + #[Test] +
    +
    + @@ -528,10 +553,9 @@
  • Methods
  • diff --git a/classes/chillerlan-QRCodeTest-Common-VersionTest.html b/classes/chillerlan-QRCodeTest-Common-VersionTest.html index fa10ab4f0..b5892db9c 100644 --- a/classes/chillerlan-QRCodeTest-Common-VersionTest.html +++ b/classes/chillerlan-QRCodeTest-Common-VersionTest.html @@ -151,7 +151,7 @@ @@ -200,49 +200,49 @@
    - testConstructInvalidVersion() + constructInvalidVersion()  : void
    - testGetAlignmentPattern() + getAlignmentPattern()  : void
    - testGetDimension() + getDimension()  : void
    - testGetRSBlocks() + getRSBlocks()  : void
    - testGetTotalCodewords() + getTotalCodewords()  : void
    - testGetVersionNumber() + getVersionNumber()  : void
    - testGetVersionPattern() + getVersionPattern()  : void
    - testToString() + versionToString()  : void
    @@ -283,7 +283,7 @@ @@ -318,22 +318,22 @@ -public " > -

    - testConstructInvalidVersion() - +

    + constructInvalidVersion() +

    public - testConstructInvalidVersion() : void + constructInvalidVersion() : void
    @@ -343,6 +343,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -352,22 +363,22 @@ -public " > -

    - testGetAlignmentPattern() - +

    + getAlignmentPattern() +

    public - testGetAlignmentPattern() : void + getAlignmentPattern() : void
    @@ -377,6 +388,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -386,22 +408,22 @@ -public " > -

    - testGetDimension() - +

    + getDimension() +

    public - testGetDimension() : void + getDimension() : void
    @@ -411,6 +433,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -420,22 +453,22 @@ -public " > -

    - testGetRSBlocks() - +

    + getRSBlocks() +

    public - testGetRSBlocks() : void + getRSBlocks() : void
    @@ -445,6 +478,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -454,22 +498,22 @@ -public " > -

    - testGetTotalCodewords() - +

    + getTotalCodewords() +

    public - testGetTotalCodewords() : void + getTotalCodewords() : void
    @@ -479,6 +523,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -488,22 +543,22 @@ -public " > -

    - testGetVersionNumber() - +

    + getVersionNumber() +

    public - testGetVersionNumber() : void + getVersionNumber() : void
    @@ -513,6 +568,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -522,22 +588,22 @@ -public " > -

    - testGetVersionPattern() - +

    + getVersionPattern() +

    public - testGetVersionPattern() : void + getVersionPattern() : void
    @@ -547,6 +613,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -556,22 +633,22 @@ -public " > -

    - testToString() - +

    + versionToString() +

    public - testToString() : void + versionToString() : void
    @@ -581,6 +658,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -598,7 +686,7 @@ @@ -740,14 +828,14 @@
  • Methods
  • diff --git a/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html b/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html index e48e15f1f..ab608e34b 100644 --- a/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html +++ b/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html @@ -151,7 +151,7 @@ @@ -184,7 +184,7 @@
    - MAX_LENGTH + MAX_LENGTH  = [ // v => [NUMERIC => [L, M, Q, H ], ALPHANUM => [L, M, Q, H], BINARY => [L, M, Q, H ], KANJI => [L, M, Q, H ]] @@ -268,18 +268,80 @@
    - getMaxLengthForMode() + binaryStringInvalid() + +  : void +
    +
    Tests if a random binary string is properly validated as false
    + +
    + decodeSegment() + +  : void +
    +
    Tests decoding a data segment from a given BitBuffer
    + +
    + getMaxLengthForMode()  : int
    the maximum character count for the given $mode and $eccLevel
    +
    + getMinimumVersion() + +  : void +
    +
    Tests getting the minimum QR version for the given data
    + +
    + getMinimumVersionException() + +  : void +
    +
    Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting
    + +
    + initMatrix() + +  : void +
    +
    Tests initializing the data matrix
    + +
    + invalidDataException() + +  : void +
    +
    Tests if an exception is thrown when an invalid character is encountered
    + +
    + invalidDataOnEmptyException() + +  : void +
    +
    Tests if an exception is thrown if the given string is empty
    +
    maskPatternProvider()  : array<string|int, array<string|int, int>>
    +
    + maxLength() + +  : void +
    + +
    + maxLengthOverflowException() + +  : void +
    +
    Tests if an exception is thrown on data overflow
    +
    maxLengthProvider() @@ -295,69 +357,7 @@
    isAlphaNum() should pass on the 45 defined characters and fail on anything else (e.g. lowercase)
    - testBinaryStringInvalid() - -  : void -
    -
    Tests if a random binary string is properly validated as false
    - -
    - testDecodeSegment() - -  : void -
    -
    Tests decoding a data segment from a given BitBuffer
    - -
    - testGetMinimumVersion() - -  : void -
    -
    Tests getting the minimum QR version for the given data
    - -
    - testGetMinimumVersionException() - -  : void -
    -
    Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting
    - -
    - testInitMatrix() - -  : void -
    -
    Tests initializing the data matrix
    - -
    - testInvalidDataException() - -  : void -
    -
    Tests if an exception is thrown when an invalid character is encountered
    - -
    - testInvalidDataOnEmptyException() - -  : void -
    -
    Tests if an exception is thrown if the given string is empty
    - -
    - testMaxLength() - -  : void -
    - -
    - testMaxLengthOverflowException() - -  : void -
    -
    Tests if an exception is thrown on data overflow
    - -
    - testValidateString() + validateString()  : void
    @@ -396,12 +396,12 @@

    MAX_LENGTH - +

    @@ -805,7 +1372,7 @@ @@ -852,513 +1419,15 @@ -public " > -

    - testBinaryStringInvalid() - +

    + validateString() +

    - -

    Tests if a random binary string is properly validated as false

    - - - public - testBinaryStringInvalid() : void - -
    -
    - - - - -
    - Tags - - -
    -
    -
    - see -
    -
    - https://github.com/chillerlan/php-qrcode/issues/182 - - -
    -
    - - - - -
    -
    -

    - testDecodeSegment() - - -

    - - -

    Tests decoding a data segment from a given BitBuffer

    - - - public - testDecodeSegment(int $version) : void - -
    -
    - - -
    Parameters
    -
    -
    - $version - : int -
    -
    - -
    -
    - - - - -
    -
    - Attributes - -
    -
    -
    - #[DataProvider] -
    -
    - 'versionBreakpointProvider' -
    -
    -
    - - -
    -
    -

    - testGetMinimumVersion() - - -

    - - -

    Tests getting the minimum QR version for the given data

    - - - public - testGetMinimumVersion(Version $version, EccLevel $eccLevel, string $str) : void - -
    -
    - - -
    Parameters
    -
    -
    - $version - : Version -
    -
    - -
    -
    - $eccLevel - : EccLevel -
    -
    - -
    -
    - $str - : string -
    -
    - -
    -
    - - - - -
    -
    - Attributes - -
    -
    -
    - #[DataProvider] -
    -
    - 'maxLengthProvider' -
    -
    -
    - - -
    -
    -

    - testGetMinimumVersionException() - - -

    - - -

    Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting

    - - - public - testGetMinimumVersionException() : void - -
    -
    - - - - - - - - -
    -
    -

    - testInitMatrix() - - -

    - - -

    Tests initializing the data matrix

    - - - public - testInitMatrix(int $pattern) : void - -
    -
    - - -
    Parameters
    -
    -
    - $pattern - : int -
    -
    - -
    -
    - - - - -
    -
    - Attributes - -
    -
    -
    - #[DataProvider] -
    -
    - 'maskPatternProvider' -
    -
    -
    - - -
    -
    -

    - testInvalidDataException() - - -

    - - -

    Tests if an exception is thrown when an invalid character is encountered

    - - - public - testInvalidDataException() : void - -
    -
    - - - - - - - - -
    -
    -

    - testInvalidDataOnEmptyException() - - -

    - - -

    Tests if an exception is thrown if the given string is empty

    - - - public - testInvalidDataOnEmptyException() : void - -
    -
    - - - - - - - - -
    -
    -

    - testMaxLength() - - -

    - - - - - public - testMaxLength(Version $version, EccLevel $eccLevel, string $str) : void - -
    -
    - - -
    Parameters
    -
    -
    - $version - : Version -
    -
    - -
    -
    - $eccLevel - : EccLevel -
    -
    - -
    -
    - $str - : string -
    -
    - -
    -
    - - - - -
    -
    - Attributes - -
    -
    -
    - #[DataProvider] -
    -
    - 'maxLengthProvider' -
    -
    -
    - - -
    -
    -

    - testMaxLengthOverflowException() - - -

    - - -

    Tests if an exception is thrown on data overflow

    - - - public - testMaxLengthOverflowException(Version $version, EccLevel $eccLevel, string $str, string $str1) : void - -
    -
    - - -
    Parameters
    -
    -
    - $version - : Version -
    -
    - -
    -
    - $eccLevel - : EccLevel -
    -
    - -
    -
    - $str - : string -
    -
    - -
    -
    - $str1 - : string -
    -
    - -
    -
    - - - - -
    -
    - Attributes - -
    -
    -
    - #[DataProvider] -
    -
    - 'maxLengthProvider' -
    -
    -
    - - -
    -
    -

    - testValidateString() - - -

    - @@ -1366,7 +1435,7 @@ public - testValidateString(string $string, bool $expected) : void + validateString(string $string, bool $expected) : void
    @@ -1395,7 +1464,7 @@
    - Attributes + Attributes
    @@ -1405,6 +1474,11 @@
    'stringValidateProvider'
    +
    +
    +
    + #[Test] +
    @@ -1424,7 +1498,7 @@ @@ -1479,7 +1553,7 @@ @@ -1662,7 +1736,7 @@
  • Constants
  • @@ -1678,20 +1752,20 @@
  • Methods
  • @@ -1303,15 +1471,15 @@ -public " > -

    - testSetLogoSpacePosition() - +

    + setLogoSpacePosition() +

    @@ -1319,7 +1487,7 @@ public - testSetLogoSpacePosition() : void + setLogoSpacePosition() : void
    @@ -1329,6 +1497,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -1338,15 +1517,15 @@ -public " > -

    - testSetQuietZone() - +

    + setQuietZone() +

    @@ -1354,7 +1533,7 @@ public - testSetQuietZone(QRMatrix $matrix) : void + setQuietZone(QRMatrix $matrix) : void
    @@ -1376,7 +1555,7 @@
    - Attributes + Attributes
    @@ -1386,6 +1565,11 @@
    'matrixProvider'
    +
    +
    +
    + #[Test] +
    @@ -1397,15 +1581,15 @@ -public " > -

    - testSetQuietZoneException() - +

    + setQuietZoneException() +

    @@ -1413,7 +1597,7 @@ public - testSetQuietZoneException() : void + setQuietZoneException() : void
    @@ -1423,6 +1607,17 @@ +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -1432,15 +1627,15 @@ -public " > -

    - testSetSeparators() - +

    + setSeparators() +

    @@ -1448,7 +1643,7 @@ public - testSetSeparators(QRMatrix $matrix) : void + setSeparators(QRMatrix $matrix) : void
    @@ -1470,7 +1665,7 @@
    - Attributes + Attributes
    @@ -1480,6 +1675,11 @@
    'matrixProvider'
    +
    +
    +
    + #[Test] +
    @@ -1491,15 +1691,15 @@ -public " > -

    - testSetTimingPattern() - +

    + setTimingPattern() +

    @@ -1507,7 +1707,7 @@ public - testSetTimingPattern(QRMatrix $matrix) : void + setTimingPattern(QRMatrix $matrix) : void
    @@ -1529,7 +1729,7 @@
    - Attributes + Attributes
    @@ -1539,6 +1739,11 @@
    'matrixProvider'
    +
    +
    +
    + #[Test] +
    @@ -1550,15 +1755,15 @@ -public " > -

    - testSetVersionNumber() - +

    + setVersionNumber() +

    @@ -1566,7 +1771,7 @@ public - testSetVersionNumber(QRMatrix $matrix) : void + setVersionNumber(QRMatrix $matrix) : void
    @@ -1588,7 +1793,7 @@
    - Attributes + Attributes
    @@ -1598,6 +1803,11 @@
    'matrixProvider'
    +
    +
    +
    + #[Test] +
    @@ -1611,11 +1821,11 @@ >

    debugMatrix() - +

    - QRMatrixTest::matrixProvider() + QRMatrixTest::matrixProvider()
    @@ -1872,33 +2082,33 @@
  • Methods
  • diff --git a/classes/chillerlan-QRCodeTest-Output-QREpsTest.html b/classes/chillerlan-QRCodeTest-Output-QREpsTest.html index 11881f720..36bfb71e1 100644 --- a/classes/chillerlan-QRCodeTest-Output-QREpsTest.html +++ b/classes/chillerlan-QRCodeTest-Output-QREpsTest.html @@ -149,12 +149,11 @@ -

    Test abstract for the several (built-in) output modules, -should also be used to test custom output modules

    +

    Tests the QREps output class

    @@ -182,6 +181,12 @@ should also be used to test custom output modules

    +
    + _buildDir + +  = __DIR__ . '/../../.build/' +
    +
    buildDir @@ -215,12 +220,6 @@ should also be used to test custom output modules

     : QROutputInterface
    -
    - $_buildDir - -  : string -
    -

    @@ -236,62 +235,62 @@ should also be used to test custom output modules

    - testRenderToCacheFile() + renderToCacheFile()  : void
    coverage of the built-in output modules
    - testSaveException() + saveException()  : void
    Tests if an exception is thrown when trying to write a cache file to an invalid destination
    - testSetModuleValues() + setModuleValues()  : void
    covers the module values settings
    - testValidateModuleValues() + validateModuleValues()  : void
    - createBuildDir() + createBuildDir()  : void
    attempts to create the build dir
    - getBuildDir() + getBuildDir()  : string
    returns the full (real) path to the given build path
    - getBuildFileContent() + getBuildFileContent()  : string
    returns the contents of the given build file
    - getBuildFilePath() + getBuildFilePath()  : string
    returns the full (real) path to the given build file
    - getBuildPath() + getBuildPath()  : string
    @@ -322,6 +321,37 @@ should also be used to test custom output modules

    +

    + _buildDir + + +

    + + + + + + + protected + mixed + _buildDir + = __DIR__ . '/../../.build/' + + + + + + + + + +
    +

    buildDir @@ -474,44 +504,6 @@ should also be used to test custom output modules

    -

    -
    -

    - $_buildDir - - - - -

    - - - - - - private - string - $_buildDir - = __DIR__ . '/../.build/' - - - - - - - - -
    @@ -535,7 +527,7 @@ should also be used to test custom output modules

    @@ -565,15 +557,15 @@ should also be used to test custom output modules

    -public " > -

    - testRenderToCacheFile() - +

    + renderToCacheFile() +

    @@ -581,7 +573,7 @@ should also be used to test custom output modules

    public - testRenderToCacheFile() : void + renderToCacheFile() : void
    @@ -591,6 +583,17 @@ should also be used to test custom output modules

    +
    +
    + Attributes + +
    +
    +
    + #[Test] +
    +
    +
    @@ -600,9 +603,9 @@ should also be used to test custom output modules

    -public " > -

    - testSaveException() - +

    + saveException() +