Skip to content

Commit

Permalink
CS fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Oct 23, 2024
1 parent 08094bf commit 84860df
Showing 1 changed file with 55 additions and 35 deletions.
90 changes: 55 additions & 35 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,36 +1,56 @@
parameters:
ignoreErrors:
-
message: "#^Instanceof between CBOR\\\\MapItem and CBOR\\\\MapItem will always evaluate to true\\.$#"
count: 1
path: src/MapObject.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToBigInteger\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/OtherObject/DoublePrecisionFloatObject.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToBigInteger\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/OtherObject/HalfPrecisionFloatObject.php

-
message: "#^PHPDoc tag @var with type CBOR\\\\OtherObject is not subtype of native type string\\.$#"
count: 1
path: src/OtherObject/OtherObjectManager.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToBigInteger\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/OtherObject/SinglePrecisionFloatObject.php

-
message: "#^PHPDoc tag @var with type CBOR\\\\Tag is not subtype of native type string\\.$#"
count: 1
path: src/Tag/TagManager.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToInt\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/Tag/TagManager.php
ignoreErrors:
-
message: "#^Instanceof between CBOR\\\\MapItem and CBOR\\\\MapItem will always evaluate to true\\.$#"
count: 1
path: src/MapObject.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToBigInteger\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/OtherObject/DoublePrecisionFloatObject.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToBigInteger\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/OtherObject/HalfPrecisionFloatObject.php

-
message: "#^PHPDoc tag @var with type CBOR\\\\OtherObject is not subtype of native type string\\.$#"
count: 1
path: src/OtherObject/OtherObjectManager.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToBigInteger\\(\\) expects string, string\\|null given\\.$#"
count: 3
path: src/OtherObject/SinglePrecisionFloatObject.php

-
message: "#^Parameter \\#1 \\$num1 of function bcmul expects numeric\\-string, string given\\.$#"
count: 1
path: src/Tag/BigFloatTag.php

-
message: "#^Parameter \\#2 \\$exponent of function bcpow expects numeric\\-string, string given\\.$#"
count: 1
path: src/Tag/BigFloatTag.php

-
message: "#^Parameter \\#1 \\$num1 of function bcmul expects numeric\\-string, string given\\.$#"
count: 1
path: src/Tag/DecimalFractionTag.php

-
message: "#^Parameter \\#2 \\$exponent of function bcpow expects numeric\\-string, string given\\.$#"
count: 1
path: src/Tag/DecimalFractionTag.php

-
message: "#^PHPDoc tag @var with type CBOR\\\\Tag is not subtype of native type string\\.$#"
count: 1
path: src/Tag/TagManager.php

-
message: "#^Parameter \\#1 \\$value of static method CBOR\\\\Utils\\:\\:binToInt\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/Tag/TagManager.php

0 comments on commit 84860df

Please sign in to comment.