mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-17 17:51:03 +00:00
🚿 extract OUTPUT_* constants from QRCode to QROutputInterface and mark QRCode::OUTPUT_* as deprecated
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
use chillerlan\QRCode\Common\EccLevel;
|
||||
use chillerlan\QRCode\Data\QRMatrix;
|
||||
use chillerlan\QRCode\Output\QRMarkupSVG;
|
||||
use chillerlan\QRCode\Output\{QROutputInterface, QRMarkupSVG};
|
||||
use chillerlan\QRCode\{QRCode, QROptions};
|
||||
|
||||
require_once __DIR__.'/../vendor/autoload.php';
|
||||
@@ -120,7 +120,7 @@ $options = new RandomDotsOptions([
|
||||
'eccLevel' => EccLevel::H,
|
||||
'addQuietzone' => true,
|
||||
'imageBase64' => false,
|
||||
'outputType' => QRCode::OUTPUT_CUSTOM,
|
||||
'outputType' => QROutputInterface::CUSTOM,
|
||||
'outputInterface' => RandomDotsSVGOutput::class,
|
||||
'markupDark' => '',
|
||||
'markupLight' => '',
|
||||
|
||||
Reference in New Issue
Block a user