mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-25 07:27:58 +00:00
:octocat: silencing the offenders for now (https://github.com/phan/phan/issues/5491)
This commit is contained in:
@@ -61,7 +61,7 @@ class MyCustomOutput extends QROutputAbstract{
|
||||
$options = new QROptions;
|
||||
|
||||
$options->version = 5;
|
||||
/** @phan-suppress-next-line PhanTypeMismatchPropertyProbablyReal */
|
||||
/** @phan-suppress-next-line PhanTypeMismatchPropertyReal */
|
||||
$options->eccLevel = 'L'; // can be assigned as string
|
||||
|
||||
$data = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* @author smiley <smiley@chillerlan.net>
|
||||
* @copyright 2024 smiley
|
||||
* @license MIT
|
||||
*
|
||||
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
* @license MIT
|
||||
*
|
||||
* @noinspection PhpUnused, PhpComposerExtensionStubsInspection
|
||||
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ final class QROptionsTest extends TestCase{
|
||||
/**
|
||||
* Tests setting the ECC level from string or int
|
||||
*
|
||||
* @phan-suppress PhanTypeMismatchPropertyProbablyReal
|
||||
* @phan-suppress PhanTypeMismatchPropertyReal
|
||||
*/
|
||||
#[Test]
|
||||
public function setEccLevel():void{
|
||||
|
||||
Reference in New Issue
Block a user