Skip to content

Commit

Permalink
update composer
Browse files Browse the repository at this point in the history
  • Loading branch information
Yozhef committed Jan 13, 2023
1 parent 8402dce commit 6c27a3a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"macpaw/similar-arrays": "^1.0"
},
"require-dev": {
"phpstan/phpstan": "^0.12",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.3",
"slevomat/coding-standard": "^7.0",
"squizlabs/php_codesniffer": "^3.6"
Expand All @@ -52,7 +52,7 @@
},
"scripts": {
"composer-validate": "composer validate",
"phpstan": "./vendor/bin/phpstan analyse -l max",
"phpstan": "./vendor/bin/phpstan analyse",
"code-style": "./vendor/bin/phpcs",
"code-style-fix": "./vendor/bin/phpcbf",
"phpunit": "./vendor/bin/phpunit",
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
excludes_analyse:
paths:
- src
level: 5
treatPhpDocTypesAsCertain: false
8 changes: 0 additions & 8 deletions phpstan.neon.dist

This file was deleted.

0 comments on commit 6c27a3a

Please sign in to comment.