Skip to content

Commit 23a0727

Browse files
author
lapaliv
committed
dev: replaced PHPStan with Psalm
1 parent c4d43a6 commit 23a0727

31 files changed

+1010
-106
lines changed

.github/workflows/phpunit.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: PHPUnit
4949
run: ./vendor/bin/phpunit
5050

51-
phpstan:
51+
psalm:
5252
runs-on: ubuntu-latest
5353

5454
steps:
@@ -71,5 +71,5 @@ jobs:
7171
- name: Install dependencies
7272
run: composer install --prefer-dist --no-progress
7373

74-
- name: PHPStan
75-
run: ./vendor/bin/phpstan analyze --xdebug --memory-limit 512M
74+
- name: Psalm
75+
run: ./vendor/bin/psalm --no-progress --no-cache --no-suggestions --report=report.json --memory-limit 512M

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"fakerphp/faker": "^1.9",
4040
"friendsofphp/php-cs-fixer": "^3.13",
4141
"orchestra/testbench": "^7.19",
42-
"phpstan/phpstan": "^1.9",
4342
"phpunit/phpunit": "9.*",
43+
"vimeo/psalm": "^5.13",
4444
"vlucas/phpdotenv": "5.5.x-dev"
4545
},
4646
"extra": {

0 commit comments

Comments
 (0)