mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
update phpstan to 1.1.2; update php-qrcode to 3.4.1
This commit is contained in:
@@ -16,14 +16,15 @@ require_once __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s';
|
||||
/**
|
||||
* @property int $logoWidth
|
||||
* @property int $logoHeight
|
||||
* @property int $logoSpaceWidth
|
||||
* @property int $logoSpaceHeight
|
||||
*
|
||||
* @noinspection PhpIllegalPsrClassPathInspection
|
||||
*/
|
||||
class LogoOptions extends QROptions{
|
||||
protected $logoWidth;
|
||||
protected $logoHeight;
|
||||
// size in QR modules, multiply with QROptions::$scale for pixel size
|
||||
protected $logoSpaceWidth;
|
||||
protected $logoSpaceHeight;
|
||||
}
|
||||
|
||||
$options = new LogoOptions;
|
||||
@@ -31,8 +32,8 @@ $options = new LogoOptions;
|
||||
$options->version = 7;
|
||||
$options->eccLevel = QRCode::ECC_H;
|
||||
$options->imageBase64 = false;
|
||||
$options->logoWidth = 13;
|
||||
$options->logoHeight = 13;
|
||||
$options->logoSpaceWidth = 13;
|
||||
$options->logoSpaceHeight = 13;
|
||||
$options->scale = 5;
|
||||
$options->imageTransparent = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user