Skip to content

Commit 3029f92

Browse files
authored
Merge pull request #28 from samsonasik/bump-phpstan
Bump to PHPStan 2.0
2 parents a909ad0 + c45927f commit 3029f92

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
},
2828
"require-dev": {
2929
"laminas/laminas-coding-standard": "^2.4",
30-
"phpstan/phpstan": "^1.9",
31-
"phpstan/phpstan-webmozart-assert": "^1.2",
30+
"phpstan/phpstan": "^2.0",
31+
"phpstan/phpstan-webmozart-assert": "^2.0",
3232
"phpunit/phpunit": "^10.0",
3333
"rector/rector": "dev-main"
3434
},

phpstan.neon

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
includes:
2-
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
2+
- vendor/phpstan/phpstan-webmozart-assert/extension.neon
3+
4+
parameters:
5+
treatPhpDocTypesAsCertain: false

0 commit comments

Comments
 (0)