:octocat: silencing the offenders for now (https://github.com/phan/phan/issues/5491)

This commit is contained in:
smiley
2026-03-17 00:13:03 +01:00
parent b118b5d6eb
commit 8d22cd3154
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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';
+2
View File
@@ -6,6 +6,8 @@
* @author smiley <smiley@chillerlan.net>
* @copyright 2024 smiley
* @license MIT
*
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
*/
declare(strict_types=1);
+1
View File
@@ -10,6 +10,7 @@
* @license MIT
*
* @noinspection PhpUnused, PhpComposerExtensionStubsInspection
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
*/
declare(strict_types=1);
+1 -1
View File
@@ -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{