Skip to content

Commit

Permalink
Update to PHPStan v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Stadly committed Sep 22, 2023
1 parent 84549d2 commit 5842fc6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"require-dev": {
"guzzlehttp/psr7": "^2.4",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^0.12.92",
"phpstan/phpstan-deprecation-rules": "^0.12.6",
"phpstan/phpstan-phpunit": "^0.12.19",
"phpstan/phpstan-strict-rules": "^0.12.9",
"phpstan/phpstan": "^1.0.0",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.0.0",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.5",
"stadly/file-waiter-bytestring": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
parameters:
level: max
implicitThrows: false
paths:
- src
exceptions:
check:
missingCheckedExceptionInThrows: true
tooWideThrowType: true
implicitThrows: false
uncheckedExceptionClasses:
- LogicException

Expand Down
2 changes: 1 addition & 1 deletion phpstan.tests.neon.dist
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
parameters:
level: max
implicitThrows: false
paths:
- tests
exceptions:
check:
tooWideThrowType: true
implicitThrows: false

includes:
- vendor/phpstan/phpstan-strict-rules/rules.neon
Expand Down

0 comments on commit 5842fc6

Please sign in to comment.