Skip to content

Commit 16c72b7

Browse files
committed
fix: phpstan wrong output format passing
1 parent 98cafbd commit 16c72b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ cs-fix: prepare ## Fixes code to follow coding standards using php-cs-fixer
7676
.PHONY: cs-fix
7777

7878
stan: ## Runs phpstan – static analysis tool
79-
$(COMPOSER_RUN) stan --error-format=$(PHPSTAN_OUTPUT_FORMAT)
79+
$(COMPOSER_RUN) stan
8080
.PHONY: stan
8181

8282
test: ## Run project php-unit and pest tests

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"cs-diff": "php vendor/bin/php-cs-fixer fix --dry-run -v --diff",
4545
"test": "php vendor/bin/pest",
4646
"test-cc": "php vendor/bin/pest --coverage",
47-
"stan": "php vendor/bin/phpstan analyse"
47+
"stan": "php vendor/bin/phpstan analyse --error-format=${PHPSTAN_OUTPUT_FORMAT}"
4848
},
4949
"config": {
5050
"sort-packages": true,

0 commit comments

Comments
 (0)