mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-09 21:35:53 +00:00
:octocat: QRMatrix::M_*TYPE rework, separate masking
This commit is contained in:
@@ -12,9 +12,11 @@
|
||||
|
||||
namespace chillerlan\QRCodeTest\Output;
|
||||
|
||||
use chillerlan\QRCodeExamples\MyCustomOutput;
|
||||
use chillerlan\QRCode\{Common\EccLevel, QRCode, QROptions};
|
||||
use chillerlan\QRCode\{QRCode, QROptions};
|
||||
use chillerlan\QRCode\Common\EccLevel;
|
||||
use chillerlan\QRCode\Data\QRMatrix;
|
||||
use chillerlan\QRCode\Output\{QROutputInterface, QRString};
|
||||
use chillerlan\QRCodeExamples\MyCustomOutput;
|
||||
|
||||
/**
|
||||
* Tests the QRString output module
|
||||
@@ -47,8 +49,8 @@ class QRStringTest extends QROutputTestAbstract{
|
||||
|
||||
$this->options->moduleValues = [
|
||||
// data
|
||||
1024 => 'A',
|
||||
4 => 'B',
|
||||
QRMatrix::M_DATA | QRMatrix::IS_DARK => 'A',
|
||||
QRMatrix::M_DATA => 'B',
|
||||
];
|
||||
|
||||
$this->outputInterface = $this->getOutputInterface($this->options);
|
||||
|
||||
Reference in New Issue
Block a user