Skip to content

Commit 84549d2

Browse files
committed
Stop using pepakriz/phpstan-exception-rules. The exception rules in PHPStan are sufficient.
1 parent 42de42f commit 84549d2

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
},
3535
"require-dev": {
3636
"guzzlehttp/psr7": "^2.4",
37-
"pepakriz/phpstan-exception-rules": "^0.11.7",
3837
"php-parallel-lint/php-parallel-lint": "^1.3",
3938
"phpstan/phpstan": "^0.12.92",
4039
"phpstan/phpstan-deprecation-rules": "^0.12.6",

phpstan.neon.dist

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@ parameters:
99
tooWideThrowType: true
1010
uncheckedExceptionClasses:
1111
- LogicException
12-
exceptionRules:
13-
reportUnusedCatchesOfUncheckedExceptions: true
14-
uncheckedExceptions:
15-
- LogicException
16-
methodThrowTypeDeclarations:
17-
Psr\Http\Server\RequestHandlerInterface:
18-
handle:
19-
- Exception
2012

2113
includes:
2214
- vendor/phpstan/phpstan-strict-rules/rules.neon
2315
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
24-
- vendor/pepakriz/phpstan-exception-rules/extension.neon

0 commit comments

Comments
 (0)