@@ -47,9 +47,7 @@
},
"autoload-dev": {
"psr-4": {
- "chillerlan\\QRCodePublic\\": "public/",
- "chillerlan\\QRCodeTest\\": "tests/",
- "chillerlan\\QRCodeExamples\\": "examples/"
+ "chillerlan\\QRCodeTest\\": "tests/"
}
"scripts": {
@@ -10,8 +10,6 @@
* @license MIT
*/
-namespace chillerlan\QRCodeExamples;
-
use chillerlan\QRCode\Output\QROutputAbstract;
class MyCustomOutput extends QROutputAbstract{
@@ -12,15 +12,10 @@
* @noinspection PhpComposerExtensionStubsInspection
use chillerlan\QRCode\Output\{QRCodeOutputException, QRImage};
use function imagecopyresampled, imagecreatefrompng, imagesx, imagesy, is_file, is_readable;
-/**
- * @property \chillerlan\QRCodeExamples\LogoOptions $options
- */
class QRImageWithLogo extends QRImage{
/**
@@ -16,8 +16,6 @@
use chillerlan\QRCode\Output\QRImage;
use function base64_encode, imagechar, imagecolorallocate, imagecolortransparent, imagecopymerge, imagecreatetruecolor,
@@ -8,8 +8,6 @@
use chillerlan\QRCode\{QRCode, QROptions};
require_once __DIR__.'/../vendor/autoload.php';
@@ -1,7 +1,5 @@
<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once '../vendor/autoload.php';
@@ -8,18 +8,15 @@
$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s';
+
* @property int $logoSpaceWidth
* @property int $logoSpaceHeight
- *
- * @noinspection PhpIllegalPsrClassPathInspection
class LogoOptions extends QROptions{
// size in QR modules, multiply with QROptions::$scale for pixel size
@@ -156,8 +156,8 @@
});
- })('qrcode-settings', 'qrcode-output', './qrcode.php');
+ })('qrcode-settings', 'qrcode-output', './qrcode-interactive.php');
</script >
</body >
-</html >
+</html >
@@ -5,10 +5,10 @@
* @author Smiley <smiley@chillerlan.net>
* @copyright 2017 Smiley
+ *
+ * @noinspection PhpComposerExtensionStubsInspection
-namespace chillerlan\QRCodePublic;
use chillerlan\QRCode\QRCode;
use chillerlan\QRCode\QROptions;