diff --git a/classes/chillerlan-QRCode-Output-QRFpdf.html b/classes/chillerlan-QRCode-Output-QRFpdf.html
index 85719479d..59793783d 100644
--- a/classes/chillerlan-QRCode-Output-QRFpdf.html
+++ b/classes/chillerlan-QRCode-Output-QRFpdf.html
@@ -157,13 +157,6 @@
- $defaultMode
-
- : string
-
-the default output mode of the current output module
-
-
$length
: int
@@ -198,13 +191,6 @@
-
- $outputMode
-
- : string
-
-the current output mode
-
$scale
@@ -224,7 +210,7 @@
: string|FPDF
-generates the output, optionally dumps it to a file, and returns it
+
base64encode()
@@ -257,7 +243,7 @@
saveToFile()
- : bool
+ : void
saves the qr data to a file
@@ -286,40 +272,6 @@
-property
-protected
"
->
-
- $defaultMode
-
-
-
-
-
-
- the default output mode of the current output module
-
-
- protected
- string
- $defaultMode
-
-
-
-
-
-
-
-
-
-
-
- $outputMode
-
-
-
-
-
-
- the current output mode
-
-
- protected
- string
- $outputMode
-
-
-
-
-
-
-
-
-
- see
-
-
- QROptions::$outputType
-
-
-
-
-
QROutputAbstract.php
:
- 46
+ 34
@@ -682,8 +586,7 @@
- generates the output, optionally dumps it to a file, and returns it
-
+
public
dump ( [ string $file = null ] ) : string|FPDF
@@ -735,7 +638,7 @@
@@ -956,7 +859,7 @@
@@ -964,7 +867,7 @@
protected
- saveToFile ( string $data , string $file ) : bool
+ saveToFile ( string $data , string $file ) : void
Parameters
@@ -1020,7 +923,7 @@
Return values
- bool
+ void
—
@@ -1038,7 +941,7 @@
diff --git a/classes/chillerlan-QRCode-Output-QRImage.html b/classes/chillerlan-QRCode-Output-QRGdImage.html
similarity index 78%
rename from classes/chillerlan-QRCode-Output-QRImage.html
rename to classes/chillerlan-QRCode-Output-QRGdImage.html
index 0b23ac603..6d5cea5d0 100644
--- a/classes/chillerlan-QRCode-Output-QRImage.html
+++ b/classes/chillerlan-QRCode-Output-QRGdImage.html
@@ -95,7 +95,7 @@
- QRImage
+ QRGdImage
extends QROutputAbstract
@@ -112,9 +112,9 @@
@@ -148,22 +148,8 @@
-
- TRANSPARENCY_TYPES
-
- = [chillerlanQRCodeQRCode::OUTPUT_IMAGE_PNG, chillerlanQRCodeQRCode::OUTPUT_IMAGE_GIF]
-
-GD image types that support transparency
-
- $defaultMode
-
- : string
-
-the default output mode of the current output module
-
-
- $image
+ $image
: resource|GdImage
@@ -204,13 +190,6 @@
-
- $outputMode
-
- : string
-
-the current output mode
-
$scale
@@ -219,18 +198,18 @@
the current scaling for a QR pixel
- __construct()
+ __construct()
: mixed
QROutputAbstract constructor.
- dump()
+ dump()
: string|resource|GdImage
-generates the output, optionally dumps it to a file, and returns it
+
base64encode()
@@ -240,58 +219,37 @@
Returns a base64 data URI for the given string and mime type
- dumpImage()
+ dumpImage()
: string
Creates the final image by calling the desired GD output function
- getDefaultModuleValue()
+ getDefaultModuleValue()
: mixed
Returns a defualt value for either dark or light modules (return value depends on the output module)
- getModuleValue()
+ getModuleValue()
: mixed
Returns the final value for the given input (return value depends on the output module)
- gif()
-
- : void
-
-Jiff - like... JitHub!
-
-
- jpg()
-
- : void
-
-JPG output
-
-
- moduleValueIsValid()
+ moduleValueIsValid()
: bool
Determines whether the given value is valid
-
- png()
-
- : void
-
-PNG output
-
saveToFile()
- : bool
+ : void
saves the qr data to a file
@@ -303,7 +261,7 @@
Sets the initial module values
- setPixel()
+ setPixel()
: void
@@ -314,46 +272,12 @@
-
-
-
-
- TRANSPARENCY_TYPES
-
-
-
-
-
- GD image types that support transparency
-
-
- protected
- array<string|int, string>
- TRANSPARENCY_TYPES
- = [chillerlanQRCodeQRCode::OUTPUT_IMAGE_PNG, chillerlanQRCodeQRCode::OUTPUT_IMAGE_GIF]
-
-
-
-
-
-
-
-
-
-
- $defaultMode
-
-
-
-
-
-
- the default output mode of the current output module
-
-
- protected
- string
- $defaultMode
- = chillerlanQRCodeQRCode::OUTPUT_IMAGE_PNG
-
-
-
-
-
-
-
-
$image
-
+
@@ -452,7 +342,7 @@
@@ -486,7 +376,7 @@
@@ -568,7 +458,7 @@
@@ -602,7 +492,7 @@
@@ -617,54 +507,6 @@
-
-
-
- $outputMode
-
-
-
-
-
-
- the current output mode
-
-
- protected
- string
- $outputMode
-
-
-
-
-
-
-
-
-
- see
-
-
- QROptions::$outputType
-
-
-
-
-
QROutputAbstract.php
:
- 46
+ 34
@@ -719,7 +561,7 @@
__construct()
-
+
@@ -802,17 +644,16 @@
>
dump()
-
+
- generates the output, optionally dumps it to a file, and returns it
-
+
public
dump ( [ string $file = null ] ) : string|resource|GdImage
@@ -881,7 +722,7 @@
@@ -928,12 +769,12 @@
>
dumpImage()
-
+
@@ -975,12 +816,12 @@
>
getDefaultModuleValue()
-
+
@@ -1032,12 +873,12 @@
>
getModuleValue()
-
+
@@ -1079,72 +920,6 @@
—
-
-
-
- gif()
-
-
-
-
- Jiff - like... JitHub!
-
-
- protected
- gif ( ) : void
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- jpg()
-
-
-
-
- JPG output
-
-
- protected
- jpg ( ) : void
-
-
-
-
-
- Return values
- void
- —
-
-
moduleValueIsValid()
-
+
@@ -1201,39 +976,6 @@
—
-
-
-
- png()
-
-
-
-
- PNG output
-
-
- protected
- png ( ) : void
-
-
-
-
-
- Return values
- void
- —
-
-
QROutputAbstract.php
:
- 139
+ 122
@@ -1256,7 +998,7 @@
protected
- saveToFile ( string $data , string $file ) : bool
+ saveToFile ( string $data , string $file ) : void
Parameters
@@ -1312,7 +1054,7 @@
Return values
- bool
+ void
—
@@ -1330,7 +1072,7 @@
@@ -1358,12 +1100,12 @@
>
setPixel()
-
+
@@ -1488,7 +1230,7 @@
-
+
diff --git a/classes/chillerlan-QRCode-Output-QRImagick.html b/classes/chillerlan-QRCode-Output-QRImagick.html
index 6b5af5d82..958f30997 100644
--- a/classes/chillerlan-QRCode-Output-QRImagick.html
+++ b/classes/chillerlan-QRCode-Output-QRImagick.html
@@ -157,13 +157,6 @@
- $defaultMode
-
- : string
-
-the default output mode of the current output module
-
-
$imagick
: Imagick
@@ -212,13 +205,6 @@
-
- $outputMode
-
- : string
-
-the current output mode
-
$scale
@@ -238,7 +224,7 @@
: string|Imagick
-generates the output, optionally dumps it to a file, and returns it
+
base64encode()
@@ -278,7 +264,7 @@
saveToFile()
- : bool
+ : void
saves the qr data to a file
@@ -314,40 +300,6 @@
-property
-protected
"
->
-
- $defaultMode
-
-
-
-
-
-
- the default output mode of the current output module
-
-
- protected
- string
- $defaultMode
-
-
-
-
-
-
-
-
-
$imagick
@@ -426,7 +378,7 @@
@@ -460,7 +412,7 @@
@@ -542,7 +494,7 @@
@@ -576,7 +528,7 @@
@@ -591,54 +543,6 @@
-
-
-
- $outputMode
-
-
-
-
-
-
- the current output mode
-
-
- protected
- string
- $outputMode
-
-
-
-
-
-
-
-
-
- see
-
-
- QROptions::$outputType
-
-
-
-
-
QROutputAbstract.php
:
- 46
+ 34
@@ -785,8 +689,7 @@
- generates the output, optionally dumps it to a file, and returns it
-
+
public
dump ( [ string $file = null ] ) : string|Imagick
@@ -838,7 +741,7 @@
@@ -890,7 +793,7 @@
@@ -1092,7 +995,7 @@
@@ -1100,7 +1003,7 @@
protected
- saveToFile ( string $data , string $file ) : bool
+ saveToFile ( string $data , string $file ) : void
Parameters
@@ -1156,7 +1059,7 @@
Return values
- bool
+ void
—
@@ -1174,7 +1077,7 @@
@@ -1207,7 +1110,7 @@
diff --git a/classes/chillerlan-QRCode-Output-QRMarkup.html b/classes/chillerlan-QRCode-Output-QRMarkup.html
index 0b0f74fa0..ac1f02463 100644
--- a/classes/chillerlan-QRCode-Output-QRMarkup.html
+++ b/classes/chillerlan-QRCode-Output-QRMarkup.html
@@ -141,7 +141,7 @@
: string
-the default output mode of the current output module
+
$length
@@ -178,13 +178,6 @@
-
- $outputMode
-
- : string
-
-the current output mode
-
$scale
@@ -200,11 +193,11 @@
QROutputAbstract constructor.
- dump()
+ dump()
: mixed
-generates the output, optionally dumps it to a file, and returns it
+
base64encode()
@@ -244,7 +237,7 @@
saveToFile()
- : bool
+ : void
saves the qr data to a file
@@ -315,15 +308,15 @@
- the default output mode of the current output module
-
+
protected
string
$defaultMode
= chillerlanQRCodeQRCode::OUTPUT_MARKUP_SVG
-
+
+
@@ -345,7 +338,7 @@
@@ -379,7 +372,7 @@
@@ -461,7 +454,7 @@
@@ -495,7 +488,7 @@
@@ -510,54 +503,6 @@
-
-
-
- $outputMode
-
-
-
-
-
-
- the current output mode
-
-
- protected
- string
- $outputMode
-
-
-
-
-
-
-
-
-
- see
-
-
- QROptions::$outputType
-
-
-
-
-
QROutputAbstract.php
:
- 46
+ 34
@@ -627,7 +572,7 @@
@@ -674,17 +619,16 @@
>
dump()
-
+
- generates the output, optionally dumps it to a file, and returns it
-
+
public
dump ( [ string $file = null ] ) : mixed
@@ -736,7 +680,7 @@
@@ -901,7 +845,7 @@
@@ -909,15 +853,15 @@
protected
- html ( [ string $file = null ] ) : string
+ html ( bool $saveToFile ) : string
Parameters
- $file
- : string
- = null
+ $saveToFile
+ : bool
+
@@ -1001,7 +945,7 @@
@@ -1009,7 +953,7 @@
protected
- saveToFile ( string $data , string $file ) : bool
+ saveToFile ( string $data , string $file ) : void
Parameters
@@ -1065,7 +1009,7 @@
Return values
- bool
+ void
—
@@ -1083,7 +1027,7 @@
@@ -1116,7 +1060,7 @@
@@ -1124,15 +1068,15 @@
protected
- svg ( [ string $file = null ] ) : string
+ svg ( bool $saveToFile ) : string
Parameters
- $file
- : string
- = null
+ $saveToFile
+ : bool
+
@@ -1190,7 +1134,7 @@
@@ -1223,7 +1167,7 @@
@@ -1289,7 +1233,7 @@
diff --git a/classes/chillerlan-QRCode-Output-QROutputAbstract.html b/classes/chillerlan-QRCode-Output-QROutputAbstract.html
index c5cf0266b..52832e6d7 100644
--- a/classes/chillerlan-QRCode-Output-QROutputAbstract.html
+++ b/classes/chillerlan-QRCode-Output-QROutputAbstract.html
@@ -146,13 +146,6 @@
- $defaultMode
-
- : string
-
-the default output mode of the current output module
-
-
$length
: int
@@ -187,13 +180,6 @@
-
- $outputMode
-
- : string
-
-the current output mode
-
$scale
@@ -208,13 +194,6 @@
QROutputAbstract constructor.
-
- dump()
-
- : mixed
-
-generates the output, optionally dumps it to a file, and returns it
-
base64encode()
@@ -246,7 +225,7 @@
saveToFile()
- : bool
+ : void
saves the qr data to a file
@@ -275,40 +254,6 @@
-property
-protected
"
->
-
- $defaultMode
-
-
-
-
-
-
- the default output mode of the current output module
-
-
- protected
- string
- $defaultMode
-
-
-
-
-
-
-
-
-
-
-
- $outputMode
-
-
-
-
-
-
- the current output mode
-
-
- protected
- string
- $outputMode
-
-
-
-
-
-
-
-
-
- see
-
-
- QROptions::$outputType
-
-
-
-
-
QROutputAbstract.php
:
- 46
+ 34
@@ -601,7 +498,7 @@
@@ -639,63 +536,6 @@
—
-
-
-
- dump()
-
-
-
-
- generates the output, optionally dumps it to a file, and returns it
-
-
- public
- dump ( [ string $file = null ] ) : mixed
-
-
- Parameters
-
-
- $file
- : string
- = null
-
-
-
-
-
-
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- mixed
- —
-
-
QROutputAbstract.php
:
- 127
+ 110
@@ -762,7 +602,7 @@
@@ -806,7 +646,7 @@
@@ -849,7 +689,7 @@
@@ -892,7 +732,7 @@
@@ -900,7 +740,7 @@
protected
- saveToFile ( string $data , string $file ) : bool
+ saveToFile ( string $data , string $file ) : void
Parameters
@@ -956,7 +796,7 @@
Return values
- bool
+ void
—
@@ -974,7 +814,7 @@
diff --git a/classes/chillerlan-QRCode-Output-QRString.html b/classes/chillerlan-QRCode-Output-QRString.html
index 512350386..0973e273f 100644
--- a/classes/chillerlan-QRCode-Output-QRString.html
+++ b/classes/chillerlan-QRCode-Output-QRString.html
@@ -139,7 +139,7 @@
: string
-the default output mode of the current output module
+
$length
@@ -176,13 +176,6 @@
-
- $outputMode
-
- : string
-
-the current output mode
-
$scale
@@ -198,11 +191,11 @@
QROutputAbstract constructor.
- dump()
+ dump()
- : mixed
+ : string
-generates the output, optionally dumps it to a file, and returns it
+
base64encode()
@@ -242,7 +235,7 @@
saveToFile()
- : bool
+ : void
saves the qr data to a file
@@ -292,15 +285,15 @@
- the default output mode of the current output module
-
+
protected
string
$defaultMode
= chillerlanQRCodeQRCode::OUTPUT_STRING_TEXT
-
+
+
@@ -322,7 +315,7 @@
@@ -356,7 +349,7 @@
@@ -438,7 +431,7 @@
@@ -472,7 +465,7 @@
@@ -487,54 +480,6 @@
-
-
-
- $outputMode
-
-
-
-
-
-
- the current output mode
-
-
- protected
- string
- $outputMode
-
-
-
-
-
-
-
-
-
- see
-
-
- QROptions::$outputType
-
-
-
-
-
QROutputAbstract.php
:
- 46
+ 34
@@ -604,7 +549,7 @@
@@ -651,20 +596,19 @@
>
dump()
-
+
- generates the output, optionally dumps it to a file, and returns it
-
+
public
- dump ( [ string $file = null ] ) : mixed
+ dump ( [ string $file = null ] ) : string
Parameters
@@ -695,7 +639,7 @@
Return values
- mixed
+ string
—
@@ -713,7 +657,7 @@
@@ -878,7 +822,7 @@
@@ -886,21 +830,10 @@
protected
- json ( [ string $file = null ] ) : string
+ json ( ) : string
- Parameters
-
-
- $file
- : string
- = null
-
-
-
-
-
-
+
Return values
@@ -978,7 +911,7 @@
@@ -986,7 +919,7 @@
protected
- saveToFile ( string $data , string $file ) : bool
+ saveToFile ( string $data , string $file ) : void
Parameters
@@ -1042,7 +975,7 @@
Return values
- bool
+ void
—
@@ -1060,7 +993,7 @@
@@ -1093,7 +1026,7 @@
@@ -1101,21 +1034,10 @@
protected
- text ( [ string $file = null ] ) : string
+ text ( ) : string
- Parameters
-
-
- $file
- : string
- = null
-
-
-
-
-
-
+
Return values
diff --git a/classes/chillerlan-QRCode-QRCode.html b/classes/chillerlan-QRCode-QRCode.html
index 5a8a53c19..305155c94 100644
--- a/classes/chillerlan-QRCode-QRCode.html
+++ b/classes/chillerlan-QRCode-QRCode.html
@@ -270,9 +270,9 @@
OUTPUT_MODES
- = [chillerlanQRCodeOutputQRMarkup::class => [self::OUTPUT_MARKUP_SVG, self::OUTPUT_MARKUP_HTML], chillerlanQRCodeOutputQRImage::class => [self::OUTPUT_IMAGE_PNG, self::OUTPUT_IMAGE_GIF, self::OUTPUT_IMAGE_JPG], chillerlanQRCodeOutputQRString::class => [self::OUTPUT_STRING_JSON, self::OUTPUT_STRING_TEXT], chillerlanQRCodeOutputQRImagick::class => [self::OUTPUT_IMAGICK], chillerlanQRCodeOutputQRFpdf::class => [self::OUTPUT_FPDF]]
+ = [self::OUTPUT_MARKUP_SVG => chillerlanQRCodeOutputQRMarkup::class, self::OUTPUT_MARKUP_HTML => chillerlanQRCodeOutputQRMarkup::class, self::OUTPUT_IMAGE_PNG => chillerlanQRCodeOutputQRGdImage::class, self::OUTPUT_IMAGE_GIF => chillerlanQRCodeOutputQRGdImage::class, self::OUTPUT_IMAGE_JPG => chillerlanQRCodeOutputQRGdImage::class, self::OUTPUT_STRING_JSON => chillerlanQRCodeOutputQRString::class, self::OUTPUT_STRING_TEXT => chillerlanQRCodeOutputQRString::class, self::OUTPUT_IMAGICK => chillerlanQRCodeOutputQRImagick::class, self::OUTPUT_FPDF => chillerlanQRCodeOutputQRFpdf::class]
-Map of built-in output modules => capabilities
+Map of built-in output modes => modules
OUTPUT_STRING_JSON
@@ -823,13 +823,13 @@
- Map of built-in output modules => capabilities
+ Map of built-in output modes => modules
public
- array<string|int, array<string|int, string>>
+ array<string|int, string>
OUTPUT_MODES
- = [chillerlanQRCodeOutputQRMarkup::class => [self::OUTPUT_MARKUP_SVG, self::OUTPUT_MARKUP_HTML], chillerlanQRCodeOutputQRImage::class => [self::OUTPUT_IMAGE_PNG, self::OUTPUT_IMAGE_GIF, self::OUTPUT_IMAGE_JPG], chillerlanQRCodeOutputQRString::class => [self::OUTPUT_STRING_JSON, self::OUTPUT_STRING_TEXT], chillerlanQRCodeOutputQRImagick::class => [self::OUTPUT_IMAGICK], chillerlanQRCodeOutputQRFpdf::class => [self::OUTPUT_FPDF]]
+ = [self::OUTPUT_MARKUP_SVG => chillerlanQRCodeOutputQRMarkup::class, self::OUTPUT_MARKUP_HTML => chillerlanQRCodeOutputQRMarkup::class, self::OUTPUT_IMAGE_PNG => chillerlanQRCodeOutputQRGdImage::class, self::OUTPUT_IMAGE_GIF => chillerlanQRCodeOutputQRGdImage::class, self::OUTPUT_IMAGE_JPG => chillerlanQRCodeOutputQRGdImage::class, self::OUTPUT_STRING_JSON => chillerlanQRCodeOutputQRString::class, self::OUTPUT_STRING_TEXT => chillerlanQRCodeOutputQRString::class, self::OUTPUT_IMAGICK => chillerlanQRCodeOutputQRImagick::class, self::OUTPUT_FPDF => chillerlanQRCodeOutputQRFpdf::class]
@@ -943,7 +943,7 @@
@@ -990,7 +990,7 @@
@@ -1027,7 +1027,7 @@
@@ -1073,7 +1073,7 @@
@@ -1119,7 +1119,7 @@
@@ -1165,7 +1165,7 @@
@@ -1211,7 +1211,7 @@
@@ -1279,7 +1279,7 @@
@@ -1325,7 +1325,7 @@
@@ -1371,7 +1371,7 @@
@@ -1404,7 +1404,7 @@
@@ -1442,7 +1442,7 @@
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
isAlphaNum()
@@ -1451,13 +1451,13 @@
checks if a string qualifies as alphanumeric (convenience method)
-
+
public
isAlphaNum ( string $string ) : bool
@@ -1475,6 +1475,26 @@
+
+
+
+ deprecated
+
+
+
+
+
+
+ codeCoverageIgnore
+
+
+
+
+
+
Return values
bool
@@ -1486,7 +1506,7 @@
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
isByte()
@@ -1495,13 +1515,13 @@
a dummy (convenience method)
-
+
public
isByte ( string $string ) : bool
@@ -1519,6 +1539,26 @@
+
+
+
+ deprecated
+
+
+
+
+
+
+ codeCoverageIgnore
+
+
+
+
+
+
Return values
bool
@@ -1530,7 +1570,7 @@
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
isKanji()
@@ -1539,13 +1579,13 @@
checks if a string qualifies as Kanji (convenience method)
-
+
public
isKanji ( string $string ) : bool
@@ -1563,6 +1603,26 @@
+
+
+
+ deprecated
+
+
+
+
+
+
+ codeCoverageIgnore
+
+
+
+
+
+
Return values
bool
@@ -1574,7 +1634,7 @@
class="phpdocumentor-element
-method
-public
- "
+ -deprecated "
>
isNumber()
@@ -1583,13 +1643,13 @@
checks if a string qualifies as numeric (convenience method)
-
+
public
isNumber ( string $string ) : bool
@@ -1607,6 +1667,26 @@
+
+
+
+ deprecated
+
+
+
+
+
+
+ codeCoverageIgnore
+
+
+
+
+
+
Return values
bool
@@ -1627,7 +1707,7 @@
@@ -1671,7 +1751,7 @@
@@ -1715,7 +1795,7 @@
@@ -1759,7 +1839,7 @@
@@ -1811,7 +1891,7 @@
@@ -1858,7 +1938,7 @@ ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length
@@ -1905,7 +1985,7 @@ ISO/IEC 18004:2000 Annex H - Optimisation of bit stream length
diff --git a/classes/chillerlan-QRCode-QROptions.html b/classes/chillerlan-QRCode-QROptions.html
index 672a3e093..dbe9e9c02 100644
--- a/classes/chillerlan-QRCode-QROptions.html
+++ b/classes/chillerlan-QRCode-QROptions.html
@@ -591,7 +591,7 @@
@@ -885,7 +885,7 @@
@@ -1050,7 +1050,7 @@
@@ -1098,7 +1098,7 @@
@@ -1108,7 +1108,7 @@
protected
string
$imagickFormat
- = 'png'
+ = 'png32'
@@ -1123,7 +1123,15 @@
see
- Imagick::setType()
+ Imagick::setImageFormat()
+
+
+
+
+ see
+
+
+ https://www.imagemagick.org/script/formats.php
@@ -1227,7 +1235,7 @@
@@ -1261,7 +1269,7 @@
@@ -1295,7 +1303,7 @@
@@ -1329,7 +1337,7 @@
@@ -1467,7 +1475,7 @@
@@ -1664,7 +1672,7 @@
@@ -1698,7 +1706,7 @@
@@ -1734,7 +1742,7 @@
@@ -2400,7 +2408,7 @@
@@ -2447,7 +2455,7 @@
@@ -2491,7 +2499,7 @@
@@ -2549,7 +2557,7 @@
@@ -2606,7 +2614,7 @@
@@ -2664,7 +2672,7 @@
@@ -2708,7 +2716,7 @@
@@ -2752,7 +2760,7 @@
@@ -2796,7 +2804,7 @@
@@ -2840,7 +2848,7 @@
@@ -2884,7 +2892,7 @@
@@ -2928,7 +2936,7 @@
@@ -2972,7 +2980,7 @@
@@ -3016,7 +3024,7 @@
@@ -3060,7 +3068,7 @@
diff --git a/classes/chillerlan-QRCode-QROptionsTrait.html b/classes/chillerlan-QRCode-QROptionsTrait.html
index 6c340752b..a9734586f 100644
--- a/classes/chillerlan-QRCode-QROptionsTrait.html
+++ b/classes/chillerlan-QRCode-QROptionsTrait.html
@@ -573,7 +573,7 @@
@@ -867,7 +867,7 @@
@@ -1032,7 +1032,7 @@
@@ -1080,7 +1080,7 @@
@@ -1090,7 +1090,7 @@
protected
string
$imagickFormat
- = 'png'
+ = 'png32'
@@ -1105,7 +1105,15 @@
see
- Imagick::setType()
+ Imagick::setImageFormat()
+
+
+
+
+ see
+
+
+ https://www.imagemagick.org/script/formats.php
@@ -1209,7 +1217,7 @@
@@ -1243,7 +1251,7 @@
@@ -1277,7 +1285,7 @@
@@ -1311,7 +1319,7 @@
@@ -1449,7 +1457,7 @@
@@ -1646,7 +1654,7 @@
@@ -1680,7 +1688,7 @@
@@ -1716,7 +1724,7 @@
@@ -2382,7 +2390,7 @@
@@ -2429,7 +2437,7 @@
@@ -2473,7 +2481,7 @@
@@ -2531,7 +2539,7 @@
@@ -2588,7 +2596,7 @@
@@ -2646,7 +2654,7 @@
@@ -2690,7 +2698,7 @@
@@ -2734,7 +2742,7 @@
@@ -2778,7 +2786,7 @@
@@ -2822,7 +2830,7 @@
@@ -2866,7 +2874,7 @@
@@ -2910,7 +2918,7 @@
@@ -2954,7 +2962,7 @@
@@ -2998,7 +3006,7 @@
@@ -3042,7 +3050,7 @@
diff --git a/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html b/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html
index a93b24d14..2907dd61c 100644
--- a/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html
+++ b/classes/chillerlan-QRCodeTest-Data-AlphaNumTest.html
@@ -169,6 +169,13 @@
+
+ stringValidateProvider()
+
+ : array<string|int, mixed>
+
+isAlphaNum() should pass on the 45 defined characters and fail on anything else (e.g. lowercase)
+
testCodeLengthOverflowException()
@@ -218,6 +225,13 @@
Tests if an exception is thrown if the given string is empty
+
+ testValidateString()
+
+ : void
+
+
+
setUp()
@@ -425,6 +439,39 @@
—
+
+
+
+ stringValidateProvider()
+
+
+
+
+ isAlphaNum() should pass on the 45 defined characters and fail on anything else (e.g. lowercase)
+
+
+ public
+ stringValidateProvider ( ) : array<string|int, mixed>
+
+
+
+
+
+ Return values
+ array<string|int, mixed>
+ —
+
+
DatainterfaceTestAbstract.php
:
- 94
+ 104
@@ -505,7 +552,7 @@
@@ -630,7 +677,7 @@
@@ -663,7 +710,7 @@
@@ -682,6 +729,72 @@
—
+
+
+
+ testValidateString()
+
+
+
+
+
+
+ public
+ testValidateString ( string $string , bool $expected ) : void
+
+
+ Parameters
+
+
+ $string
+ : string
+
+
+
+
+
+
+ $expected
+ : bool
+
+
+
+
+
+
+
+
+
+
+
+ dataProvider
+
+
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+ stringValidateProvider()
+
+ : array<string|int, mixed>
+
+isByte() passses any binary string and only fails on empty strings
+
testCodeLengthOverflowException()
@@ -218,6 +225,13 @@
Tests if an exception is thrown if the given string is empty
+
+ testValidateString()
+
+ : void
+
+
+
setUp()
@@ -425,6 +439,39 @@
—
+
+
+
+ stringValidateProvider()
+
+
+
+
+ isByte() passses any binary string and only fails on empty strings
+
+
+ public
+ stringValidateProvider ( ) : array<string|int, mixed>
+
+
+
+
+
+ Return values
+ array<string|int, mixed>
+ —
+
+
DatainterfaceTestAbstract.php
:
- 94
+ 104
@@ -505,7 +552,7 @@
@@ -630,7 +677,7 @@
@@ -676,7 +723,7 @@
@@ -695,6 +742,72 @@
—
+
+
+
+ testValidateString()
+
+
+
+
+
+
+ public
+ testValidateString ( string $string , bool $expected ) : void
+
+
+ Parameters
+
+
+ $string
+ : string
+
+
+
+
+
+
+ $expected
+ : bool
+
+
+
+
+
+
+
+
+
+
+
+ dataProvider
+
+
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+ stringValidateProvider()
+
+ : array<string|int, mixed>
+
@@ -218,6 +225,13 @@
Tests if an exception is thrown if the given string is empty
+
+ testValidateString()
+
+ : void
+
+
+
setUp()
@@ -425,6 +439,39 @@
—
+
+
+
+ stringValidateProvider()
+
+
+
+
+
+
+ public
+ abstract stringValidateProvider ( ) : array<string|int, mixed>
+
+
+
+
+
+
+ Return values
+ array<string|int, mixed>
+ —
+
+
DatainterfaceTestAbstract.php
:
- 94
+ 104
@@ -505,7 +552,7 @@
@@ -630,7 +677,7 @@
@@ -663,7 +710,7 @@
@@ -682,6 +729,72 @@
—
+
+
+
+ testValidateString()
+
+
+
+
+
+
+ public
+ testValidateString ( string $string , bool $expected ) : void
+
+
+ Parameters
+
+
+ $string
+ : string
+
+
+
+
+
+
+ $expected
+ : bool
+
+
+
+
+
+
+
+
+
+
+
+ dataProvider
+
+
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+ stringValidateProvider()
+
+ : array<string|int, mixed>
+
+isKanji() should pass on Kanji/SJIS characters and fail on everything else
+
testCodeLengthOverflowException()
@@ -218,6 +225,13 @@
Tests if an exception is thrown if the given string is empty
+
+ testValidateString()
+
+ : void
+
+
+
setUp()
@@ -425,6 +439,39 @@
—
+
+
+
+ stringValidateProvider()
+
+
+
+
+ isKanji() should pass on Kanji/SJIS characters and fail on everything else
+
+
+ public
+ stringValidateProvider ( ) : array<string|int, mixed>
+
+
+
+
+
+ Return values
+ array<string|int, mixed>
+ —
+
+
DatainterfaceTestAbstract.php
:
- 94
+ 104
@@ -505,7 +552,7 @@
@@ -630,7 +677,7 @@
@@ -663,7 +710,7 @@
@@ -682,6 +729,72 @@
—
+
+
+
+ testValidateString()
+
+
+
+
+
+
+ public
+ testValidateString ( string $string , bool $expected ) : void
+
+
+ Parameters
+
+
+ $string
+ : string
+
+
+
+
+
+
+ $expected
+ : bool
+
+
+
+
+
+
+
+
+
+
+
+ dataProvider
+
+
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+ stringValidateProvider()
+
+ : array<string|int, mixed>
+
+isNumber() should pass on any number and fail on anything else
+
testCodeLengthOverflowException()
@@ -218,6 +225,13 @@
Tests if an exception is thrown if the given string is empty
+
+ testValidateString()
+
+ : void
+
+
+
setUp()
@@ -425,6 +439,39 @@
—
+
+
+
+ stringValidateProvider()
+
+
+
+
+ isNumber() should pass on any number and fail on anything else
+
+
+ public
+ stringValidateProvider ( ) : array<string|int, mixed>
+
+
+
+
+
+ Return values
+ array<string|int, mixed>
+ —
+
+
DatainterfaceTestAbstract.php
:
- 94
+ 104
@@ -505,7 +552,7 @@
@@ -630,7 +677,7 @@
@@ -663,7 +710,7 @@
@@ -682,6 +729,72 @@
—
+
+
+
+ testValidateString()
+
+
+
+
+
+
+ public
+ testValidateString ( string $string , bool $expected ) : void
+
+
+ Parameters
+
+
+ $string
+ : string
+
+
+
+
+
+
+ $expected
+ : bool
+
+
+
+
+
+
+
+
+
+
+
+ dataProvider
+
+
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+ $FQN
+
+ : string
+
@@ -160,6 +167,13 @@
: QROutputInterface
+
+
+
+ $type
+
+ : string
+
@@ -177,11 +191,11 @@
- testRenderImage()
+ testRenderToCacheFile()
: void
-covers the built-in output modules, tests against pre-rendered data
+coverage of the built-in output modules
testSaveException()
@@ -197,27 +211,6 @@
covers the module values settings
-
- testStringOutput()
-
- : void
-
-coverage of the built-in output modules
-
-
- types()
-
- : array<string|int, array<string|int, string>>
-
-
-
-
- getOutputInterface()
-
- : QROutputInterface
-
-Returns a QROutputInterface instance with the given options and using $this->matrix
-
setUp()
@@ -253,7 +246,7 @@
@@ -270,6 +263,40 @@
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+ = chillerlanQRCodeOutputQRFpdf::class
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 32
+ 30
@@ -321,7 +348,7 @@
@@ -353,7 +380,7 @@
@@ -370,6 +397,40 @@
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_FPDF
+
+
+
+
+
+
+
@@ -391,7 +452,7 @@
@@ -424,7 +485,7 @@
@@ -450,59 +511,26 @@
-public
"
>
- covers the built-in output modules, tests against pre-rendered data
+ coverage of the built-in output modules
public
- testRenderImage ( string $type ) : void
+ testRenderToCacheFile ( ) : void
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
+
Return values
void
@@ -523,7 +551,7 @@
@@ -556,7 +584,7 @@
@@ -588,167 +616,6 @@
—
-
-
-
- testStringOutput()
-
-
-
-
- coverage of the built-in output modules
-
-
- public
- testStringOutput ( string $type ) : void
-
-
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- types()
-
-
-
-
-
-
- public
- types ( ) : array<string|int, array<string|int, string>>
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, string>>
- —
-
-
-
-
-
- getOutputInterface()
-
-
-
-
- Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- protected
- getOutputInterface ( QROptions $options ) : QROutputInterface
-
-
- Parameters
-
-
- $options
- : QROptions
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- QROutputInterface
- —
-
-
QRFpdfTest.php
:
- 28
+ 31
diff --git a/classes/chillerlan-QRCodeTest-Output-QRImageTest.html b/classes/chillerlan-QRCodeTest-Output-QRGdImageGIFTest.html
similarity index 65%
rename from classes/chillerlan-QRCodeTest-Output-QRImageTest.html
rename to classes/chillerlan-QRCodeTest-Output-QRGdImageGIFTest.html
index b64cc7e7b..b1ec06dce 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRImageTest.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRGdImageGIFTest.html
@@ -95,10 +95,10 @@
- QRImageTest
+ QRGdImageGIFTest
- extends QROutputTestAbstract
+ extends QRGdImageTestAbstract
@@ -112,13 +112,13 @@
-
Tests the QRImage output module
+
Tests the QRGdImage output module
@@ -139,6 +139,13 @@
: string
+
+
+
+ $FQN
+
+ : string
+
@@ -160,6 +167,13 @@
: QROutputInterface
+
+
+
+ $type
+
+ : string
+
@@ -170,18 +184,18 @@
Validate the instance of the interface
- testOutputGetResource()
+ testOutputGetResource()
: void
- testRenderImage()
+ testRenderToCacheFile()
: void
-
covers the built-in output modules, tests against pre-rendered data
+
coverage of the built-in output modules
testSaveException()
@@ -191,35 +205,14 @@
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ testSetModuleValues()
: void
covers the module values settings
-
- testStringOutput()
-
- : void
-
-
coverage of the built-in output modules
-
-
- types()
-
- : array<string|int, array<string|int, string>>
-
-
-
- getOutputInterface()
-
- : QROutputInterface
-
-
Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- setUp()
+ setUp()
: void
@@ -235,7 +228,7 @@
QROutputTestAbstract.php
:
- 33
+ 31
@@ -270,6 +263,40 @@
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 32
+ 30
@@ -321,7 +348,7 @@
@@ -353,7 +380,7 @@
@@ -370,13 +397,47 @@
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_IMAGE_GIF
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 58
+ 55
@@ -419,12 +480,12 @@
>
testOutputGetResource()
-
+
@@ -449,52 +510,26 @@
-public
"
>
-
- testRenderImage()
-
+
+ testRenderToCacheFile()
+
- covers the built-in output modules, tests against pre-rendered data
+ coverage of the built-in output modules
public
- testRenderImage ( string $type ) : void
+ testRenderToCacheFile ( ) : void
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
+
Return values
void
@@ -515,7 +550,7 @@
@@ -539,16 +574,16 @@
class="phpdocumentor-element
-method
-public
- "
+ -abstract "
>
testSetModuleValues()
-
+
@@ -556,191 +591,17 @@
public
- testSetModuleValues ( ) : void
+ abstract testSetModuleValues ( ) : void
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
Return values
void
—
-
-
-
- testStringOutput()
-
-
-
-
- coverage of the built-in output modules
-
-
- public
- testStringOutput ( string $type ) : void
-
-
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- types()
-
-
-
-
-
-
- public
- types ( ) : array<string|int, array<string|int, string>>
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, string>>
- —
-
-
-
-
-
- getOutputInterface()
-
-
-
-
- Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- protected
- getOutputInterface ( QROptions $options ) : QROutputInterface
-
-
- Parameters
-
-
- $options
- : QROptions
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- QROutputInterface
- —
-
-
setUp()
-
+
@@ -768,19 +629,6 @@
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
Return values
void
@@ -866,7 +714,7 @@
-
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QRGdImageJPGTest.html b/classes/chillerlan-QRCodeTest-Output-QRGdImageJPGTest.html
new file mode 100644
index 000000000..e9473f166
--- /dev/null
+++ b/classes/chillerlan-QRCodeTest-Output-QRGdImageJPGTest.html
@@ -0,0 +1,729 @@
+
+
+
+
+ Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ QRGdImageJPGTest
+
+
+ extends QRGdImageTestAbstract
+
+
+
+
+
+
+
+
+
+ Tests the QRGdImage output module
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+ $builddir
+
+ : string
+
+
+
+
+ $FQN
+
+ : string
+
+
+
+
+ $matrix
+
+ : QRMatrix
+
+
+
+
+ $options
+
+ : QROptions
+
+
+
+
+ $outputInterface
+
+ : QROutputInterface
+
+
+
+
+ $type
+
+ : string
+
+
+
+
+ testInstance()
+
+ : void
+
+Validate the instance of the interface
+
+
+ testOutputGetResource()
+
+ : void
+
+
+
+
+ testRenderToCacheFile()
+
+ : void
+
+coverage of the built-in output modules
+
+
+ testSaveException()
+
+ : void
+
+Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ testSetModuleValues()
+
+ : void
+
+covers the module values settings
+
+
+ setUp()
+
+ : void
+
+Attempts to create a directory under /.build and instances several required objects
+
+
+
+
+
+
+
+
+
+
+
+
+ $builddir
+
+
+
+
+
+
+
+
+ protected
+ string
+ $builddir
+ = __DIR__ . '/../../.build/output_test'
+
+
+
+
+
+
+
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
+
+
+
+ $matrix
+
+
+
+
+
+
+
+
+ protected
+ QRMatrix
+ $matrix
+
+
+
+
+
+
+
+
+
+
+
+ $options
+
+
+
+
+
+
+
+
+ protected
+ QROptions
+ $options
+
+
+
+
+
+
+
+
+
+ $outputInterface
+
+
+
+
+
+
+
+
+ protected
+ QROutputInterface
+ $outputInterface
+
+
+
+
+
+
+
+
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_IMAGE_JPG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ testInstance()
+
+
+
+
+ Validate the instance of the interface
+
+
+ public
+ testInstance ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testOutputGetResource()
+
+
+
+
+
+
+ public
+ testOutputGetResource ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testRenderToCacheFile()
+
+
+
+
+ coverage of the built-in output modules
+
+
+ public
+ testRenderToCacheFile ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSaveException()
+
+
+
+
+ Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ public
+ testSaveException ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSetModuleValues()
+
+
+
+
+ covers the module values settings
+
+
+ public
+ abstract testSetModuleValues ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ setUp()
+
+
+
+
+ Attempts to create a directory under /.build and instances several required objects
+
+
+ protected
+ setUp ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QRGdImagePNGTest.html b/classes/chillerlan-QRCodeTest-Output-QRGdImagePNGTest.html
new file mode 100644
index 000000000..52a2f7901
--- /dev/null
+++ b/classes/chillerlan-QRCodeTest-Output-QRGdImagePNGTest.html
@@ -0,0 +1,729 @@
+
+
+
+
+ Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ QRGdImagePNGTest
+
+
+ extends QRGdImageTestAbstract
+
+
+
+
+
+
+
+
+
+ Tests the QRGdImage output module
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+ $builddir
+
+ : string
+
+
+
+
+ $FQN
+
+ : string
+
+
+
+
+ $matrix
+
+ : QRMatrix
+
+
+
+
+ $options
+
+ : QROptions
+
+
+
+
+ $outputInterface
+
+ : QROutputInterface
+
+
+
+
+ $type
+
+ : string
+
+
+
+
+ testInstance()
+
+ : void
+
+Validate the instance of the interface
+
+
+ testOutputGetResource()
+
+ : void
+
+
+
+
+ testRenderToCacheFile()
+
+ : void
+
+coverage of the built-in output modules
+
+
+ testSaveException()
+
+ : void
+
+Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ testSetModuleValues()
+
+ : void
+
+covers the module values settings
+
+
+ setUp()
+
+ : void
+
+Attempts to create a directory under /.build and instances several required objects
+
+
+
+
+
+
+
+
+
+
+
+
+ $builddir
+
+
+
+
+
+
+
+
+ protected
+ string
+ $builddir
+ = __DIR__ . '/../../.build/output_test'
+
+
+
+
+
+
+
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
+
+
+
+ $matrix
+
+
+
+
+
+
+
+
+ protected
+ QRMatrix
+ $matrix
+
+
+
+
+
+
+
+
+
+
+
+ $options
+
+
+
+
+
+
+
+
+ protected
+ QROptions
+ $options
+
+
+
+
+
+
+
+
+
+ $outputInterface
+
+
+
+
+
+
+
+
+ protected
+ QROutputInterface
+ $outputInterface
+
+
+
+
+
+
+
+
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_IMAGE_PNG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ testInstance()
+
+
+
+
+ Validate the instance of the interface
+
+
+ public
+ testInstance ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testOutputGetResource()
+
+
+
+
+
+
+ public
+ testOutputGetResource ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testRenderToCacheFile()
+
+
+
+
+ coverage of the built-in output modules
+
+
+ public
+ testRenderToCacheFile ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSaveException()
+
+
+
+
+ Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ public
+ testSaveException ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSetModuleValues()
+
+
+
+
+ covers the module values settings
+
+
+ public
+ abstract testSetModuleValues ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ setUp()
+
+
+
+
+ Attempts to create a directory under /.build and instances several required objects
+
+
+ protected
+ setUp ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QRMarkupTest.html b/classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html
similarity index 72%
rename from classes/chillerlan-QRCodeTest-Output-QRMarkupTest.html
rename to classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html
index 2db631da6..da3f0b74b 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRMarkupTest.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRGdImageTestAbstract.html
@@ -95,7 +95,7 @@
- QRMarkupTest
+ QRGdImageTestAbstract
extends QROutputTestAbstract
@@ -112,13 +112,13 @@
- Tests the QRMarkup output module
+ Tests the QRGdImage output module
@@ -139,6 +139,13 @@
: string
+
+
+
+ $FQN
+
+ : string
+
@@ -160,6 +167,13 @@
: QROutputInterface
+
+
+
+ $type
+
+ : string
+
@@ -170,11 +184,18 @@
Validate the instance of the interface
- testRenderImage()
+ testOutputGetResource()
: void
-covers the built-in output modules, tests against pre-rendered data
+
+
+
+ testRenderToCacheFile()
+
+ : void
+
+coverage of the built-in output modules
testSaveException()
@@ -184,35 +205,14 @@
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ testSetModuleValues()
: void
covers the module values settings
-
- testStringOutput()
-
- : void
-
-coverage of the built-in output modules
-
-
- types()
-
- : array<string|int, array<string|int, string>>
-
-
-
- getOutputInterface()
-
- : QROutputInterface
-
-Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- setUp()
+ setUp()
: void
@@ -228,7 +228,7 @@
QROutputTestAbstract.php
:
- 33
+ 31
@@ -263,6 +263,40 @@
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+ = chillerlanQRCodeOutputQRGdImage::class
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 32
+ 30
@@ -314,7 +348,7 @@
@@ -346,7 +380,7 @@
@@ -363,13 +397,47 @@
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 58
+ 55
@@ -410,52 +478,58 @@
-public
"
>
-
- testRenderImage()
-
+
+ testOutputGetResource()
+
+
+
+
+
+
+ public
+ testOutputGetResource ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testRenderToCacheFile()
+
- covers the built-in output modules, tests against pre-rendered data
+ coverage of the built-in output modules
public
- testRenderImage ( string $type ) : void
+ testRenderToCacheFile ( ) : void
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
+
Return values
void
@@ -476,7 +550,7 @@
@@ -504,12 +578,12 @@
>
testSetModuleValues()
-
+
@@ -541,167 +615,6 @@
—
-
-
-
- testStringOutput()
-
-
-
-
- coverage of the built-in output modules
-
-
- public
- testStringOutput ( string $type ) : void
-
-
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- types()
-
-
-
-
-
-
- public
- types ( ) : array<string|int, array<string|int, string>>
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, string>>
- —
-
-
-
-
-
- getOutputInterface()
-
-
-
-
- Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- protected
- getOutputInterface ( QROptions $options ) : QROutputInterface
-
-
- Parameters
-
-
- $options
- : QROptions
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- QROutputInterface
- —
-
-
setUp()
-
+
@@ -729,6 +642,19 @@
+
+ Tags
+
+
+
+
+ inheritDoc
+
+
+
+
+
+
Return values
void
@@ -814,7 +740,7 @@
-
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QRImagickTest.html b/classes/chillerlan-QRCodeTest-Output-QRImagickTest.html
index 0a0d439a7..f508f2ef0 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRImagickTest.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRImagickTest.html
@@ -139,6 +139,13 @@
: string
+
+
+
+ $FQN
+
+ : string
+
@@ -160,6 +167,13 @@
: QROutputInterface
+
+
+
+ $type
+
+ : string
+
@@ -177,11 +191,11 @@
- testRenderImage()
+ testRenderToCacheFile()
: void
-covers the built-in output modules, tests against pre-rendered data
+coverage of the built-in output modules
testSaveException()
@@ -197,27 +211,6 @@
covers the module values settings
-
- testStringOutput()
-
- : void
-
-coverage of the built-in output modules
-
-
- types()
-
- : array<string|int, array<string|int, string>>
-
-
-
-
- getOutputInterface()
-
- : QROutputInterface
-
-Returns a QROutputInterface instance with the given options and using $this->matrix
-
setUp()
@@ -253,7 +246,7 @@
@@ -270,6 +263,40 @@
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+ = chillerlanQRCodeOutputQRImagick::class
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 32
+ 30
@@ -321,7 +348,7 @@
@@ -353,7 +380,7 @@
@@ -370,6 +397,40 @@
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_IMAGICK
+
+
+
+
+
+
+
@@ -391,7 +452,7 @@
@@ -424,7 +485,7 @@
@@ -450,52 +511,26 @@
-public
"
>
-
- testRenderImage()
-
+
+ testRenderToCacheFile()
+
- covers the built-in output modules, tests against pre-rendered data
+ coverage of the built-in output modules
public
- testRenderImage ( string $type ) : void
+ testRenderToCacheFile ( ) : void
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
+
Return values
void
@@ -516,7 +551,7 @@
@@ -549,7 +584,7 @@
@@ -581,167 +616,6 @@
—
-
-
-
- testStringOutput()
-
-
-
-
- coverage of the built-in output modules
-
-
- public
- testStringOutput ( string $type ) : void
-
-
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- types()
-
-
-
-
-
-
- public
- types ( ) : array<string|int, array<string|int, string>>
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, string>>
- —
-
-
-
-
-
- getOutputInterface()
-
-
-
-
- Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- protected
- getOutputInterface ( QROptions $options ) : QROutputInterface
-
-
- Parameters
-
-
- $options
- : QROptions
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- QROutputInterface
- —
-
-
QRImagickTest.php
:
- 29
+ 32
diff --git a/classes/chillerlan-QRCodeTest-Output-QRMarkupHTMLTest.html b/classes/chillerlan-QRCodeTest-Output-QRMarkupHTMLTest.html
new file mode 100644
index 000000000..e56ded4b6
--- /dev/null
+++ b/classes/chillerlan-QRCodeTest-Output-QRMarkupHTMLTest.html
@@ -0,0 +1,690 @@
+
+
+
+
+ Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ QRMarkupHTMLTest
+
+
+ extends QRMarkupTestAbstract
+
+
+
+
+
+
+
+
+
+ Tests the QRMarkup output module
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+ $builddir
+
+ : string
+
+
+
+
+ $FQN
+
+ : string
+
+
+
+
+ $matrix
+
+ : QRMatrix
+
+
+
+
+ $options
+
+ : QROptions
+
+
+
+
+ $outputInterface
+
+ : QROutputInterface
+
+
+
+
+ $type
+
+ : string
+
+
+
+
+ testInstance()
+
+ : void
+
+Validate the instance of the interface
+
+
+ testRenderToCacheFile()
+
+ : void
+
+coverage of the built-in output modules
+
+
+ testSaveException()
+
+ : void
+
+Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ testSetModuleValues()
+
+ : void
+
+covers the module values settings
+
+
+ setUp()
+
+ : void
+
+Attempts to create a directory under /.build and instances several required objects
+
+
+
+
+
+
+
+
+
+
+
+
+ $builddir
+
+
+
+
+
+
+
+
+ protected
+ string
+ $builddir
+ = __DIR__ . '/../../.build/output_test'
+
+
+
+
+
+
+
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
+
+
+
+ $matrix
+
+
+
+
+
+
+
+
+ protected
+ QRMatrix
+ $matrix
+
+
+
+
+
+
+
+
+
+
+
+ $options
+
+
+
+
+
+
+
+
+ protected
+ QROptions
+ $options
+
+
+
+
+
+
+
+
+
+ $outputInterface
+
+
+
+
+
+
+
+
+ protected
+ QROutputInterface
+ $outputInterface
+
+
+
+
+
+
+
+
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_MARKUP_HTML
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ testInstance()
+
+
+
+
+ Validate the instance of the interface
+
+
+ public
+ testInstance ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testRenderToCacheFile()
+
+
+
+
+ coverage of the built-in output modules
+
+
+ public
+ testRenderToCacheFile ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSaveException()
+
+
+
+
+ Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ public
+ testSaveException ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSetModuleValues()
+
+
+
+
+ covers the module values settings
+
+
+ public
+ abstract testSetModuleValues ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ setUp()
+
+
+
+
+ Attempts to create a directory under /.build and instances several required objects
+
+
+ protected
+ setUp ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QRMarkupSVGTest.html b/classes/chillerlan-QRCodeTest-Output-QRMarkupSVGTest.html
new file mode 100644
index 000000000..fb39b5df5
--- /dev/null
+++ b/classes/chillerlan-QRCodeTest-Output-QRMarkupSVGTest.html
@@ -0,0 +1,690 @@
+
+
+
+
+ Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ QRMarkupSVGTest
+
+
+ extends QRMarkupTestAbstract
+
+
+
+
+
+
+
+
+
+ Tests the QRMarkup output module
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+ $builddir
+
+ : string
+
+
+
+
+ $FQN
+
+ : string
+
+
+
+
+ $matrix
+
+ : QRMatrix
+
+
+
+
+ $options
+
+ : QROptions
+
+
+
+
+ $outputInterface
+
+ : QROutputInterface
+
+
+
+
+ $type
+
+ : string
+
+
+
+
+ testInstance()
+
+ : void
+
+Validate the instance of the interface
+
+
+ testRenderToCacheFile()
+
+ : void
+
+coverage of the built-in output modules
+
+
+ testSaveException()
+
+ : void
+
+Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ testSetModuleValues()
+
+ : void
+
+covers the module values settings
+
+
+ setUp()
+
+ : void
+
+Attempts to create a directory under /.build and instances several required objects
+
+
+
+
+
+
+
+
+
+
+
+
+ $builddir
+
+
+
+
+
+
+
+
+ protected
+ string
+ $builddir
+ = __DIR__ . '/../../.build/output_test'
+
+
+
+
+
+
+
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
+
+
+
+ $matrix
+
+
+
+
+
+
+
+
+ protected
+ QRMatrix
+ $matrix
+
+
+
+
+
+
+
+
+
+
+
+ $options
+
+
+
+
+
+
+
+
+ protected
+ QROptions
+ $options
+
+
+
+
+
+
+
+
+
+ $outputInterface
+
+
+
+
+
+
+
+
+ protected
+ QROutputInterface
+ $outputInterface
+
+
+
+
+
+
+
+
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_MARKUP_SVG
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ testInstance()
+
+
+
+
+ Validate the instance of the interface
+
+
+ public
+ testInstance ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testRenderToCacheFile()
+
+
+
+
+ coverage of the built-in output modules
+
+
+ public
+ testRenderToCacheFile ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSaveException()
+
+
+
+
+ Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ public
+ testSaveException ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSetModuleValues()
+
+
+
+
+ covers the module values settings
+
+
+ public
+ abstract testSetModuleValues ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ setUp()
+
+
+
+
+ Attempts to create a directory under /.build and instances several required objects
+
+
+ protected
+ setUp ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QRStringTest.html b/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html
similarity index 66%
rename from classes/chillerlan-QRCodeTest-Output-QRStringTest.html
rename to classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html
index cab89e964..455c4efc2 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRStringTest.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html
@@ -95,7 +95,7 @@
- QRStringTest
+ QRMarkupTestAbstract
extends QROutputTestAbstract
@@ -112,13 +112,13 @@
- Tests the QRString output module
+ Tests the QRMarkup output module
@@ -139,6 +139,13 @@
: string
+
+
+
+ $FQN
+
+ : string
+
@@ -162,14 +169,14 @@
-
- testCustomOutput()
+
+ $type
- : void
+ : string
- covers the custom output functionality via an example
+
-
+
testInstance()
: void
@@ -177,11 +184,11 @@
Validate the instance of the interface
- testRenderImage()
+ testRenderToCacheFile()
: void
-covers the built-in output modules, tests against pre-rendered data
+coverage of the built-in output modules
testSaveException()
@@ -191,33 +198,12 @@
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ testSetModuleValues()
: void
covers the module values settings
-
- testStringOutput()
-
- : void
-
-coverage of the built-in output modules
-
-
- types()
-
- : array<string|int, array<string|int, string>>
-
-
-
-
- getOutputInterface()
-
- : QROutputInterface
-
-Returns a QROutputInterface instance with the given options and using $this->matrix
-
setUp()
@@ -235,7 +221,7 @@
QROutputTestAbstract.php
:
- 33
+ 31
@@ -270,6 +256,40 @@
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+ = chillerlanQRCodeOutputQRMarkup::class
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 32
+ 30
@@ -321,7 +341,7 @@
@@ -353,7 +373,7 @@
@@ -370,52 +390,53 @@
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+
+
+
+
+
+
+
+
-
- testCustomOutput()
-
-
-
-
- covers the custom output functionality via an example
-
-
- public
- testCustomOutput ( ) : void
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
testInstance()
@@ -424,7 +445,7 @@
@@ -450,52 +471,26 @@
-public
"
>
-
- testRenderImage()
-
+
+ testRenderToCacheFile()
+
- covers the built-in output modules, tests against pre-rendered data
+ coverage of the built-in output modules
public
- testRenderImage ( string $type ) : void
+ testRenderToCacheFile ( ) : void
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
+
Return values
void
@@ -516,7 +511,7 @@
@@ -544,12 +539,12 @@
>
testSetModuleValues()
-
+
@@ -581,167 +576,6 @@
—
-
-
-
- testStringOutput()
-
-
-
-
- coverage of the built-in output modules
-
-
- public
- testStringOutput ( string $type ) : void
-
-
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- types()
-
-
-
-
-
-
- public
- types ( ) : array<string|int, array<string|int, string>>
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, string>>
- —
-
-
-
-
-
- getOutputInterface()
-
-
-
-
- Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- protected
- getOutputInterface ( QROptions $options ) : QROutputInterface
-
-
- Parameters
-
-
- $options
- : QROptions
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- inheritDoc
-
-
-
-
-
-
-
- Return values
- QROutputInterface
- —
-
-
+
diff --git a/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html b/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html
index b1e279cbb..9c2220114 100644
--- a/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html
+++ b/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html
@@ -114,7 +114,7 @@
@@ -140,6 +140,13 @@ should also be used to test custom output modules
: string
+
+
+
+ $FQN
+
+ : string
+
@@ -161,6 +168,13 @@ should also be used to test custom output modules
: QROutputInterface
+
+
+
+ $type
+
+ : string
+
@@ -171,11 +185,11 @@ should also be used to test custom output modules
Validate the instance of the interface
- testRenderImage()
+ testRenderToCacheFile()
: void
-covers the built-in output modules, tests against pre-rendered data
+coverage of the built-in output modules
testSaveException()
@@ -191,27 +205,6 @@ should also be used to test custom output modules
covers the module values settings
-
- testStringOutput()
-
- : void
-
-coverage of the built-in output modules
-
-
- types()
-
- : array<string|int, array<string|int, string>>
-
-
-
-
- getOutputInterface()
-
- : QROutputInterface
-
-Returns a QROutputInterface instance with the given options and using $this->matrix
-
setUp()
@@ -247,7 +240,7 @@ should also be used to test custom output modules
@@ -264,6 +257,40 @@ should also be used to test custom output modules
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
QROutputTestAbstract.php
:
- 32
+ 30
@@ -315,7 +342,7 @@ should also be used to test custom output modules
@@ -347,7 +374,7 @@ should also be used to test custom output modules
@@ -364,6 +391,40 @@ should also be used to test custom output modules
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+
+
+
+
+
+
+
+
@@ -385,7 +446,7 @@ should also be used to test custom output modules
@@ -411,52 +472,26 @@ should also be used to test custom output modules
-public
"
>
-
- testRenderImage()
-
+
+ testRenderToCacheFile()
+
- covers the built-in output modules, tests against pre-rendered data
+ coverage of the built-in output modules
public
- testRenderImage ( string $type ) : void
+ testRenderToCacheFile ( ) : void
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
+
Return values
void
@@ -477,7 +512,7 @@ should also be used to test custom output modules
@@ -510,7 +545,7 @@ should also be used to test custom output modules
@@ -529,155 +564,6 @@ should also be used to test custom output modules
—
-
-
-
- testStringOutput()
-
-
-
-
- coverage of the built-in output modules
-
-
- public
- testStringOutput ( string $type ) : void
-
-
- Parameters
-
-
- $type
- : string
-
-
-
-
-
-
-
-
-
- Tags
-
-
-
-
- dataProvider
-
-
-
-
-
-
-
-
- Return values
- void
- —
-
-
-
-
-
- types()
-
-
-
-
-
-
- public
- abstract types ( ) : array<string|int, array<string|int, string>>
-
-
-
-
-
- Tags
-
-
-
-
- see
-
-
- testStringOutput()
-
-
-
-
-
- Return values
- array<string|int, array<string|int, string>>
- —
-
-
-
-
-
- getOutputInterface()
-
-
-
-
- Returns a QROutputInterface instance with the given options and using $this->matrix
-
-
- protected
- abstract getOutputInterface ( QROptions $options ) : QROutputInterface
-
-
- Parameters
-
-
- $options
- : QROptions
-
-
-
-
-
-
-
-
-
- Return values
- QROutputInterface
- —
-
-
+
+
+ Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ QRStringJSONTest
+
+
+ extends QRStringTestAbstract
+
+
+
+
+
+
+
+
+
+ Tests the QRString output module
+
+
+
+
+
+
+
+
+
+
+ Table of Contents
+
+
+
+
+
+ $builddir
+
+ : string
+
+
+
+
+ $FQN
+
+ : string
+
+
+
+
+ $matrix
+
+ : QRMatrix
+
+
+
+
+ $options
+
+ : QROptions
+
+
+
+
+ $outputInterface
+
+ : QROutputInterface
+
+
+
+
+ $type
+
+ : string
+
+
+
+
+ testInstance()
+
+ : void
+
+Validate the instance of the interface
+
+
+ testRenderToCacheFile()
+
+ : void
+
+coverage of the built-in output modules
+
+
+ testSaveException()
+
+ : void
+
+Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ testSetModuleValues()
+
+ : void
+
+
+
+
+ setUp()
+
+ : void
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $builddir
+
+
+
+
+
+
+
+
+ protected
+ string
+ $builddir
+ = __DIR__ . '/../../.build/output_test'
+
+
+
+
+
+
+
+
+
+
+ $FQN
+
+
+
+
+
+
+
+
+ protected
+ string
+ $FQN
+
+
+
+
+
+
+
+
+
+
+
+ $matrix
+
+
+
+
+
+
+
+
+ protected
+ QRMatrix
+ $matrix
+
+
+
+
+
+
+
+
+
+
+
+ $options
+
+
+
+
+
+
+
+
+ protected
+ QROptions
+ $options
+
+
+
+
+
+
+
+
+
+ $outputInterface
+
+
+
+
+
+
+
+
+ protected
+ QROutputInterface
+ $outputInterface
+
+
+
+
+
+
+
+
+
+
+
+ $type
+
+
+
+
+
+
+
+
+ protected
+ string
+ $type
+ = chillerlanQRCodeQRCode::OUTPUT_STRING_JSON
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ testInstance()
+
+
+
+
+ Validate the instance of the interface
+
+
+ public
+ testInstance ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testRenderToCacheFile()
+
+
+
+
+ coverage of the built-in output modules
+
+
+ public
+ testRenderToCacheFile ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSaveException()
+
+
+
+
+ Tests if an exception is thrown when trying to write a cache file to an invalid destination
+
+
+ public
+ testSaveException ( ) : void
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ testSetModuleValues()
+
+
+
+
+
+
+ public
+ testSetModuleValues ( ) : void
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+ setUp()
+
+
+
+
+
+
+ protected
+ setUp ( ) : void
+
+
+
+
+
+ Tags
+
+
+
+
+ inheritDoc
+
+
+
+
+
+
+
+ Return values
+ void
+ —
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+