Skip to content

Commit

Permalink
dev: replaced PHPStan with Psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
lapaliv committed May 21, 2024
1 parent c4d43a6 commit 23a0727
Show file tree
Hide file tree
Showing 31 changed files with 1,010 additions and 106 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: PHPUnit
run: ./vendor/bin/phpunit

phpstan:
psalm:
runs-on: ubuntu-latest

steps:
Expand All @@ -71,5 +71,5 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: PHPStan
run: ./vendor/bin/phpstan analyze --xdebug --memory-limit 512M
- name: Psalm
run: ./vendor/bin/psalm --no-progress --no-cache --no-suggestions --report=report.json --memory-limit 512M
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"fakerphp/faker": "^1.9",
"friendsofphp/php-cs-fixer": "^3.13",
"orchestra/testbench": "^7.19",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "9.*",
"vimeo/psalm": "^5.13",
"vlucas/phpdotenv": "5.5.x-dev"
},
"extra": {
Expand Down
Loading

0 comments on commit 23a0727

Please sign in to comment.