Skip to content

Commit c82825f

Browse files
committed
Apply phpstan level 4
1 parent 71970ae commit c82825f

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"web-token/jwt-library": "^3.4"
3333
},
3434
"require-dev": {
35+
"phpstan/phpstan": "^2.1",
3536
"phpunit/phpunit": "^10",
3637
"rector/rector": "^2.0",
3738
"simplesamlphp/simplesamlphp-test-framework": "^1",

phpstan-dev.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
parameters:
3+
level: 0
4+
paths:
5+
- tests
6+
tmpDir: build/phpstan

phpstan.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
parameters:
3+
level: 4
4+
paths:
5+
- src
6+
tmpDir: build/phpstan

src/Jwks/SignedJwks.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ public function getType(): string
6969

7070
/**
7171
* @throws \SimpleSAML\OpenID\Exceptions\JwsException
72-
* @throws \SimpleSAML\OpenID\Exceptions\SignedJwksException
7372
*/
7473
protected function validate(): void
7574
{

0 commit comments

Comments
 (0)