-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
178 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,176 +1,171 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Cannot cast mixed to string\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Mac/Hmac.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Algorithm\\\\Signature\\\\ECDSA\\\\ECSignature\\:\\:fromAsn1\\(\\) should return string but returns string\\|false\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/ECDSA/ECSignature.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Algorithm\\\\Signature\\\\ECDSA\\\\ECSignature\\:\\:toAsn1\\(\\) should return string but returns string\\|false\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/ECDSA/ECSignature.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$signature of function sodium_crypto_sign_verify_detached expects non\\-empty\\-string, string given\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/EdDSA/EdDSA.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$secret_key of function sodium_crypto_sign_detached expects non\\-empty\\-string, string given\\.$#" | ||
count: 2 | ||
path: src/Algorithm/Signature/EdDSA/EdDSA.php | ||
|
||
- | ||
message: "#^Parameter \\#3 \\$public_key of function sodium_crypto_sign_verify_detached expects non\\-empty\\-string, string given\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/EdDSA/EdDSA.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/RSA/PSSRSA.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$array of function current expects array\\|object, array\\|false given\\.$#" | ||
count: 1 | ||
path: src/BigInteger.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$string of function ltrim expects string, string\\|false given\\.$#" | ||
count: 1 | ||
path: src/BigInteger.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to string\\.$#" | ||
count: 2 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:curve\\(\\) should return int\\|string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:d\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:x\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:y\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to int\\.$#" | ||
count: 1 | ||
path: src/Key/Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Key\\:\\:type\\(\\) should return int\\|string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\OkpKey\\:\\:curve\\(\\) should return int\\|string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/OkpKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\OkpKey\\:\\:d\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/OkpKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\OkpKey\\:\\:x\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/OkpKey.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to int\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:QInv\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:d\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:dI\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:dP\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:dQ\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:e\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:n\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:other\\(\\) should return array but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:p\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:q\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:rI\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:tI\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$array of function current expects array\\|object, array\\|false given\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to int\\.$#" | ||
count: 1 | ||
path: src/Key/SymmetricKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\SymmetricKey\\:\\:k\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/SymmetricKey.php | ||
ignoreErrors: | ||
- | ||
message: "#^Cannot cast mixed to string\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Mac/Hmac.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Algorithm\\\\Signature\\\\ECDSA\\\\ECSignature\\:\\:fromAsn1\\(\\) should return string but returns string\\|false\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/ECDSA/ECSignature.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Algorithm\\\\Signature\\\\ECDSA\\\\ECSignature\\:\\:toAsn1\\(\\) should return string but returns string\\|false\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/ECDSA/ECSignature.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$signature of function sodium_crypto_sign_verify_detached expects non\\-empty\\-string, string given\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/EdDSA/EdDSA.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$secret_key of function sodium_crypto_sign_detached expects non\\-empty\\-string, string given\\.$#" | ||
count: 2 | ||
path: src/Algorithm/Signature/EdDSA/EdDSA.php | ||
|
||
- | ||
message: "#^Parameter \\#3 \\$public_key of function sodium_crypto_sign_verify_detached expects non\\-empty\\-string, string given\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/EdDSA/EdDSA.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$length of function random_bytes expects int\\<1, max\\>, int given\\.$#" | ||
count: 1 | ||
path: src/Algorithm/Signature/RSA/PSSRSA.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$array of function current expects array\\|object, array\\|false given\\.$#" | ||
count: 1 | ||
path: src/BigInteger.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$string of function ltrim expects string, string\\|false given\\.$#" | ||
count: 1 | ||
path: src/BigInteger.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to string\\.$#" | ||
count: 2 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:curve\\(\\) should return int\\|string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:d\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:x\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Ec2Key\\:\\:y\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Ec2Key.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to int\\.$#" | ||
count: 1 | ||
path: src/Key/Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\Key\\:\\:type\\(\\) should return int\\|string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/Key.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\OkpKey\\:\\:curve\\(\\) should return int\\|string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/OkpKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\OkpKey\\:\\:d\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/OkpKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\OkpKey\\:\\:x\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/OkpKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:QInv\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:d\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:dI\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:dP\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:dQ\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:e\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:n\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:other\\(\\) should return array but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:p\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:q\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:rI\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\RsaKey\\:\\:tI\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$array of function current expects array\\|object, array\\|false given\\.$#" | ||
count: 1 | ||
path: src/Key/RsaKey.php | ||
|
||
- | ||
message: "#^Cannot cast mixed to int\\.$#" | ||
count: 1 | ||
path: src/Key/SymmetricKey.php | ||
|
||
- | ||
message: "#^Method Cose\\\\Key\\\\SymmetricKey\\:\\:k\\(\\) should return string but returns mixed\\.$#" | ||
count: 1 | ||
path: src/Key/SymmetricKey.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
parameters: | ||
level: max | ||
paths: | ||
- src | ||
level: max | ||
paths: | ||
- src | ||
|
||
includes: | ||
- vendor/phpstan/phpstan/conf/bleedingEdge.neon | ||
- phpstan-baseline.neon | ||
- vendor/phpstan/phpstan/conf/bleedingEdge.neon | ||
- phpstan-baseline.neon |