Skip to content

Commit

Permalink
Fix: Do not specify command name when running phpstan (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored Apr 8, 2021
1 parent 2e032fe commit 34e5535
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Run PHPStan
run: |
vendor/bin/phpstan analyze --no-progress
vendor/bin/phpstan --no-progress
psalm:
name: Psalm
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ test: vendor ## Runs tests with phpunit

.PHONY: static
static: vendor ## Runs static analyzers
vendor/bin/phpstan analyze
vendor/bin/phpstan
vendor/bin/psalm

.PHONY: baseline
baseline: vendor ## Generate baseline files
vendor/bin/phpstan analyze --generate-baseline
vendor/bin/phpstan --generate-baseline
vendor/bin/psalm --update-baseline

.PHONY: clean
Expand Down

0 comments on commit 34e5535

Please sign in to comment.