Skip to content

Commit bfbb852

Browse files
committed
Apply PER2.0 phpcs (part 1)
1 parent f14b223 commit bfbb852

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

composer.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
},
2828
"require-dev": {
2929
"phpunit/phpunit": "^9.6|^10.0",
30-
"vimeo/psalm": "^5.22"
30+
"phpstan/extension-installer": "^1.4",
31+
"phpstan/phpstan": "^1.11",
32+
"phpstan/phpstan-strict-rules": "^1.6"
3133
},
3234
"autoload-dev": {
3335
"psr-4": {

phpstan.neon

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
includes:
2+
- phar://phpstan.phar/conf/bleedingEdge.neon
3+
parameters:
4+
level: 1
5+
strictRules:
6+
allRules: true
7+
fileExtensions:
8+
- php
9+
paths:
10+
- src
11+
tmpDir: vendor/.cache.phpstan
12+
reportUnmatchedIgnoredErrors: false

psalm.xml

-16
This file was deleted.

0 commit comments

Comments
 (0)