Skip to content

Commit

Permalink
Apply PER2.0 phpcs (part 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Aug 1, 2024
1 parent f14b223 commit bfbb852
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
},
"require-dev": {
"phpunit/phpunit": "^9.6|^10.0",
"vimeo/psalm": "^5.22"
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-strict-rules": "^1.6"
},
"autoload-dev": {
"psr-4": {
Expand Down
12 changes: 12 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon
parameters:
level: 1
strictRules:
allRules: true
fileExtensions:
- php
paths:
- src
tmpDir: vendor/.cache.phpstan
reportUnmatchedIgnoredErrors: false
16 changes: 0 additions & 16 deletions psalm.xml

This file was deleted.

0 comments on commit bfbb852

Please sign in to comment.