Skip to content

Commit

Permalink
Add phpstan deprecation rules (#258)
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Pepper <[email protected]>
  • Loading branch information
kimpepper authored Jan 23, 2025
1 parent 3fb4525 commit 5023708
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@
"friendsofphp/php-cs-fixer": "^v3.64",
"guzzlehttp/psr7": "^2.7",
"mockery/mockery": "^1.6",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^9.6",
"symfony/finder": "^6.4|^7.0",
Expand All @@ -66,7 +68,8 @@
"config": {
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
"php-http/discovery": true,
"phpstan/extension-installer": true
}
},
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
includes:
- vendor/phpstan/phpstan-mockery/extension.neon
parameters:
level: 5
paths:
Expand Down

0 comments on commit 5023708

Please sign in to comment.