Skip to content

Commit 8d22cd3

Browse files
committed
:octocat: silencing the offenders for now (phan/phan#5491)
1 parent b118b5d commit 8d22cd3

4 files changed

Lines changed: 5 additions & 2 deletions

File tree

examples/custom_output.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function dump(string|null $file = null):string{
6161
$options = new QROptions;
6262

6363
$options->version = 5;
64-
/** @phan-suppress-next-line PhanTypeMismatchPropertyProbablyReal */
64+
/** @phan-suppress-next-line PhanTypeMismatchPropertyReal */
6565
$options->eccLevel = 'L'; // can be assigned as string
6666

6767
$data = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ';

src/QRCodeReaderOptionsTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* @author smiley <smiley@chillerlan.net>
77
* @copyright 2024 smiley
88
* @license MIT
9+
*
10+
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
911
*/
1012
declare(strict_types=1);
1113

src/QROptionsTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* @license MIT
1111
*
1212
* @noinspection PhpUnused, PhpComposerExtensionStubsInspection
13+
* @phan-file-suppress PhanUnreferencedUseFunction, PhanPropertyHookWithDefaultValue
1314
*/
1415
declare(strict_types=1);
1516

tests/QROptionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function versionMinMaxClamp(int $versionMin, int $versionMax, int $expect
5555
/**
5656
* Tests setting the ECC level from string or int
5757
*
58-
* @phan-suppress PhanTypeMismatchPropertyProbablyReal
58+
* @phan-suppress PhanTypeMismatchPropertyReal
5959
*/
6060
#[Test]
6161
public function setEccLevel():void{

0 commit comments

Comments
 (0)