diff --git a/composer.json b/composer.json index 7b34d418..7a1bbf1e 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "require-dev": { "infection/infection": "^0.26.19", "lcobucci/clock": "^3.0", - "lcobucci/coding-standard": "^9.0", + "lcobucci/coding-standard": "^11.0", "phpbench/phpbench": "^1.2.9", "phpstan/extension-installer": "^1.2", "phpstan/phpstan": "^1.10.7", diff --git a/composer.lock b/composer.lock index 685860ad..5a405129 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f970740ee2be5fe92340d6c4f46fe2ae", + "content-hash": "88a94131fdd964dd8fadee192dc4dfee", "packages": [ { "name": "psr/clock", @@ -286,35 +286,38 @@ }, { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.2", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" + "url": "https://github.com/PHPCSStandards/composer-installer.git", + "reference": "4be43904336affa5c2f70744a348312336afd0da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", - "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da", + "reference": "4be43904336affa5c2f70744a348312336afd0da", "shasum": "" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", - "php": ">=5.3", + "php": ">=5.4", "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { "composer/composer": "*", + "ext-json": "*", + "ext-zip": "*", "php-parallel-lint/php-parallel-lint": "^1.3.1", - "phpcompatibility/php-compatibility": "^9.0" + "phpcompatibility/php-compatibility": "^9.0", + "yoast/phpunit-polyfills": "^1.0" }, "type": "composer-plugin", "extra": { - "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" + "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" }, "autoload": { "psr-4": { - "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" + "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -330,7 +333,7 @@ }, { "name": "Contributors", - "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" + "homepage": "https://github.com/PHPCSStandards/composer-installer/graphs/contributors" } ], "description": "PHP_CodeSniffer Standards Composer Installer Plugin", @@ -354,10 +357,10 @@ "tests" ], "support": { - "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", - "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" }, - "time": "2022-02-04T12:51:07+00:00" + "time": "2023-01-05T11:28:13+00:00" }, { "name": "doctrine/annotations", @@ -437,22 +440,22 @@ }, { "name": "doctrine/coding-standard", - "version": "10.0.0", + "version": "12.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/coding-standard.git", - "reference": "7903671d7d33c231c8921058b7c14b8f57cbacb7" + "reference": "1b2b7dc58c68833af481fb9325c25abd40681c79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/7903671d7d33c231c8921058b7c14b8f57cbacb7", - "reference": "7903671d7d33c231c8921058b7c14b8f57cbacb7", + "url": "https://api.github.com/repos/doctrine/coding-standard/zipball/1b2b7dc58c68833af481fb9325c25abd40681c79", + "reference": "1b2b7dc58c68833af481fb9325c25abd40681c79", "shasum": "" }, "require": { - "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", + "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0.0", "php": "^7.2 || ^8.0", - "slevomat/coding-standard": "^8.2", + "slevomat/coding-standard": "^8.11", "squizlabs/php_codesniffer": "^3.7" }, "type": "phpcodesniffer-standard", @@ -477,6 +480,7 @@ "code", "coding", "cs", + "dev", "doctrine", "rules", "sniffer", @@ -486,9 +490,9 @@ ], "support": { "issues": "https://github.com/doctrine/coding-standard/issues", - "source": "https://github.com/doctrine/coding-standard/tree/10.0.0" + "source": "https://github.com/doctrine/coding-standard/tree/12.0.0" }, - "time": "2022-08-26T10:53:05+00:00" + "time": "2023-04-24T17:43:28+00:00" }, { "name": "doctrine/lexer", @@ -1071,21 +1075,21 @@ }, { "name": "lcobucci/coding-standard", - "version": "9.0.0", + "version": "11.0.0", "source": { "type": "git", "url": "https://github.com/lcobucci/coding-standard.git", - "reference": "423695a885f24d98bc46c075b778b85e554ce6b3" + "reference": "439181c5ac83c92cbeca86324eaef992296a2efc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/coding-standard/zipball/423695a885f24d98bc46c075b778b85e554ce6b3", - "reference": "423695a885f24d98bc46c075b778b85e554ce6b3", + "url": "https://api.github.com/repos/lcobucci/coding-standard/zipball/439181c5ac83c92cbeca86324eaef992296a2efc", + "reference": "439181c5ac83c92cbeca86324eaef992296a2efc", "shasum": "" }, "require": { - "doctrine/coding-standard": "^10.0", - "php": "^8.1" + "doctrine/coding-standard": "^12.0.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" }, "require-dev": { "roave/security-advisories": "dev-latest" @@ -1104,7 +1108,7 @@ "description": "Lcobucci's Coding Standard", "support": { "issues": "https://github.com/lcobucci/coding-standard/issues", - "source": "https://github.com/lcobucci/coding-standard/tree/9.0.0" + "source": "https://github.com/lcobucci/coding-standard/tree/11.0.0" }, "funding": [ { @@ -1116,7 +1120,7 @@ "type": "patreon" } ], - "time": "2022-09-13T20:21:34+00:00" + "time": "2023-07-30T21:10:00+00:00" }, { "name": "myclabs/deep-copy", @@ -1660,16 +1664,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.22.1", + "version": "1.23.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "65c39594fbd8c67abfc68bb323f86447bab79cc0" + "reference": "a2b24135c35852b348894320d47b3902a94bc494" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/65c39594fbd8c67abfc68bb323f86447bab79cc0", - "reference": "65c39594fbd8c67abfc68bb323f86447bab79cc0", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/a2b24135c35852b348894320d47b3902a94bc494", + "reference": "a2b24135c35852b348894320d47b3902a94bc494", "shasum": "" }, "require": { @@ -1701,9 +1705,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.22.1" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.23.0" }, - "time": "2023-06-29T20:46:06+00:00" + "time": "2023-07-23T22:17:56+00:00" }, { "name": "phpstan/phpstan", @@ -3588,32 +3592,32 @@ }, { "name": "slevomat/coding-standard", - "version": "8.13.1", + "version": "8.13.4", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "a13c15e20f2d307a1ca8dec5313ec462a4466470" + "reference": "4b2af2fb17773656d02fbfb5d18024ebd19fe322" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/a13c15e20f2d307a1ca8dec5313ec462a4466470", - "reference": "a13c15e20f2d307a1ca8dec5313ec462a4466470", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/4b2af2fb17773656d02fbfb5d18024ebd19fe322", + "reference": "4b2af2fb17773656d02fbfb5d18024ebd19fe322", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7 || ^1.0", "php": "^7.2 || ^8.0", - "phpstan/phpdoc-parser": "^1.22.0", + "phpstan/phpdoc-parser": "^1.23.0", "squizlabs/php_codesniffer": "^3.7.1" }, "require-dev": { "phing/phing": "2.17.4", "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.10.21", + "phpstan/phpstan": "1.10.26", "phpstan/phpstan-deprecation-rules": "1.1.3", "phpstan/phpstan-phpunit": "1.3.13", "phpstan/phpstan-strict-rules": "1.5.1", - "phpunit/phpunit": "7.5.20|8.5.21|9.6.8|10.2.2" + "phpunit/phpunit": "7.5.20|8.5.21|9.6.8|10.2.6" }, "type": "phpcodesniffer-standard", "extra": { @@ -3637,7 +3641,7 @@ ], "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.13.1" + "source": "https://github.com/slevomat/coding-standard/tree/8.13.4" }, "funding": [ { @@ -3649,7 +3653,7 @@ "type": "tidelift" } ], - "time": "2023-06-25T12:52:34+00:00" + "time": "2023-07-25T10:28:55+00:00" }, { "name": "squizlabs/php_codesniffer", diff --git a/src/Signer/Ecdsa.php b/src/Signer/Ecdsa.php index 3eda9342..d6f8e1f4 100644 --- a/src/Signer/Ecdsa.php +++ b/src/Signer/Ecdsa.php @@ -32,7 +32,7 @@ final public function verify(string $expected, string $payload, Key $key): bool ); } - /** {@inheritdoc} */ + /** {@inheritDoc} */ final protected function guardAgainstIncompatibleKey(int $type, int $lengthInBits): void { if ($type !== OPENSSL_KEYTYPE_EC) { diff --git a/tests/Signer/Ecdsa/Sha256Test.php b/tests/Signer/Ecdsa/Sha256Test.php index e7bb4f33..bdb184c0 100644 --- a/tests/Signer/Ecdsa/Sha256Test.php +++ b/tests/Signer/Ecdsa/Sha256Test.php @@ -55,7 +55,7 @@ protected function signingKey(): Key return self::$ecdsaKeys['private']; } - /** {@inheritdoc} */ + /** {@inheritDoc} */ public static function incompatibleKeys(): iterable { yield '384 bits' => ['private_ec384', 384]; diff --git a/tests/Signer/Ecdsa/Sha384Test.php b/tests/Signer/Ecdsa/Sha384Test.php index 2a115c44..86ac534c 100644 --- a/tests/Signer/Ecdsa/Sha384Test.php +++ b/tests/Signer/Ecdsa/Sha384Test.php @@ -55,7 +55,7 @@ protected function signingKey(): Key return self::$ecdsaKeys['private_ec384']; } - /** {@inheritdoc} */ + /** {@inheritDoc} */ public static function incompatibleKeys(): iterable { yield '256 bits' => ['private', 256]; diff --git a/tests/Signer/Ecdsa/Sha512Test.php b/tests/Signer/Ecdsa/Sha512Test.php index bfd14705..19a45047 100644 --- a/tests/Signer/Ecdsa/Sha512Test.php +++ b/tests/Signer/Ecdsa/Sha512Test.php @@ -55,7 +55,7 @@ protected function signingKey(): Key return self::$ecdsaKeys['private_ec512']; } - /** {@inheritdoc} */ + /** {@inheritDoc} */ public static function incompatibleKeys(): iterable { yield '256 bits' => ['private', 256];