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 9a2264d commit 5ab9a7f
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 @@ -29,7 +29,9 @@
"require-dev": {
"phplrt/source": "^3.6",
"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 5ab9a7f

Please sign in to comment.