Skip to content

Commit 8c0aad8

Browse files
chore: update packages and update phpcs config (#28)
* chore: update packages and update phpcs config * chore: remove phpcs:disable
1 parent 091398c commit 8c0aad8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"require": {
3333
"php": ">=8.1",
34-
"jumbojett/openid-connect-php": "dev-master#c146b71",
34+
"jumbojett/openid-connect-php": "^1.0.0",
3535
"guzzlehttp/guzzle": "^7.5",
3636
"web-token/jwt-encryption": "^3.1",
3737
"web-token/jwt-key-mgmt": "^3.1",
@@ -43,8 +43,8 @@
4343
"phpunit/phpunit": "^9.6",
4444
"vimeo/psalm": "^5.8",
4545
"phpstan/phpstan": "^1.10",
46-
"squizlabs/php_codesniffer": "^3.7",
47-
"slevomat/coding-standard": "^8.8",
46+
"squizlabs/php_codesniffer": "^3.8",
47+
"slevomat/coding-standard": "^8.14",
4848
"ext-openssl": "*"
4949
},
5050
"scripts": {

phpcs.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<rule ref="PSR12" />
99

10+
<config name="installed_paths" value="vendor/slevomat/coding-standard"/>
1011
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
1112
<properties>
1213
<property name="searchAnnotations" type="boolean" value="true"/>
@@ -15,7 +16,7 @@
1516

1617
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
1718
<properties>
18-
<property name="newlinesCountBetweenOpenTagAndDeclare" type="int" value="2" />
19+
<property name="linesCountBeforeDeclare" type="int" value="1"/>
1920
<property name="spacesCountAroundEqualsSign" type="int" value="0" />
2021
</properties>
2122
</rule>

src/Services/JWE/JweDecryptService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class JweDecryptService implements JweDecryptInterface
2020
* @param JWKSet $decryptionKeySet
2121
* @param JWESerializerManager $serializerManager
2222
* @param JWEDecrypter $jweDecrypter
23-
* phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.Indent -- waiting for phpcs 3.8.0
2423
*/
2524
public function __construct(
2625
protected JWKSet $decryptionKeySet,

0 commit comments

Comments
 (0)