mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-04 02:47:30 +00:00
🔥 v6.0 first pass: PHP 8.2, remove deprecated elements, add type hints
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
|
||||
use chillerlan\QRCode\Data\QRMatrix;
|
||||
use chillerlan\QRCode\Output\QROutputInterface;
|
||||
use chillerlan\QRCode\Output\QRMarkupSVG;
|
||||
use chillerlan\QRCode\QRCode;
|
||||
use chillerlan\QRCode\QROptions;
|
||||
|
||||
@@ -19,7 +19,7 @@ require_once __DIR__.'/../vendor/autoload.php';
|
||||
$options = new QROptions;
|
||||
|
||||
$options->version = 7;
|
||||
$options->outputType = QROutputInterface::MARKUP_SVG;
|
||||
$options->outputInterface = QRMarkupSVG::class;
|
||||
$options->outputBase64 = false;
|
||||
$options->svgAddXmlHeader = false;
|
||||
$options->svgUseFillAttributes = false;
|
||||
|
||||
Reference in New Issue
Block a user