Skip to content

Commit 5842fc6

Browse files
committed
Update to PHPStan v1
1 parent 84549d2 commit 5842fc6

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
"require-dev": {
3636
"guzzlehttp/psr7": "^2.4",
3737
"php-parallel-lint/php-parallel-lint": "^1.3",
38-
"phpstan/phpstan": "^0.12.92",
39-
"phpstan/phpstan-deprecation-rules": "^0.12.6",
40-
"phpstan/phpstan-phpunit": "^0.12.19",
41-
"phpstan/phpstan-strict-rules": "^0.12.9",
38+
"phpstan/phpstan": "^1.0.0",
39+
"phpstan/phpstan-deprecation-rules": "^1.0.0",
40+
"phpstan/phpstan-phpunit": "^1.0.0",
41+
"phpstan/phpstan-strict-rules": "^1.0.0",
4242
"phpunit/phpunit": "^9.5",
4343
"squizlabs/php_codesniffer": "^3.5",
4444
"stadly/file-waiter-bytestring": "^1.0.1",

phpstan.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
parameters:
22
level: max
3-
implicitThrows: false
43
paths:
54
- src
65
exceptions:
76
check:
87
missingCheckedExceptionInThrows: true
98
tooWideThrowType: true
9+
implicitThrows: false
1010
uncheckedExceptionClasses:
1111
- LogicException
1212

phpstan.tests.neon.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
parameters:
22
level: max
3-
implicitThrows: false
43
paths:
54
- tests
65
exceptions:
76
check:
87
tooWideThrowType: true
8+
implicitThrows: false
99

1010
includes:
1111
- vendor/phpstan/phpstan-strict-rules/rules.neon

0 commit comments

Comments
 (0)