Skip to content

Commit 21836af

Browse files
committed
Replace Psalm with PHPStan
1 parent 89962d6 commit 21836af

File tree

4 files changed

+15
-39
lines changed

4 files changed

+15
-39
lines changed

.github/workflows/php.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,12 @@ jobs:
188188
continue-on-error: true
189189
run: php vendor/bin/phpcs src/
190190

191-
- name: Psalm
191+
- name: PHPStan
192192
continue-on-error: true
193-
run: php vendor/bin/psalm --show-info=true
193+
run: |
194+
vendor/bin/phpstan analyze -c phpstan.neon
194195
195-
- name: Psalter
196-
run: php vendor/bin/psalter --issues=UnnecessaryVarAnnotation --dry-run
196+
- name: PHPStan (testsuite)
197+
continue-on-error: true
198+
run: |
199+
vendor/bin/phpstan analyze -c phpstan-dev.neon

phpstan-dev.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
level: 9
3+
paths:
4+
- tests

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
parameters:
2+
level: 6
3+
paths:
4+
- src

psalm.xml

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)