Skip to content

Commit

Permalink
Can run PHPStan analysis with composer test and in CI
Browse files Browse the repository at this point in the history
In CI on all supported versions
  • Loading branch information
spaze committed Jan 24, 2025
1 parent 46bfedd commit ac1f3de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ jobs:
uses: "ramsey/composer-install@v3"

- name: PHPUnit tests
run: vendor/bin/phpunit
run: vendor/bin/phpunit

- name: PHPStan analysis
run: vendor/bin/phpstan
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"vimeo/psalm": "^4"
},
"scripts": {
"test": "phpunit && psalm"
"test": "phpunit && phpstan && psalm"
},
"support": {
"docs": "https://github.com/paragonie/halite/tree/master/doc"
Expand Down

0 comments on commit ac1f3de

Please sign in to comment.