Skip to content

Commit 38c0866

Browse files
committed
Add lint-all target to Makefile for sequential linting tasks
Signed-off-by: mesilov <[email protected]>
1 parent 94977d1 commit 38c0866

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ help:
4141
@echo "ngrok-up - start ngrok"
4242
@echo "ngrok-down - stop ngrok"
4343
@echo ""
44+
@echo "lint-all - lint codebase with all linters step by step"
4445
@echo "lint-allowed-licenses - lint dependencies for valid licenses"
4546
@echo "lint-cs-fixer - lint source code with php-cs-fixer"
4647
@echo "lint-cs-fixer-fix - fix source code with php-cs-fixer"
@@ -133,6 +134,9 @@ lint-rector:
133134
lint-rector-fix:
134135
docker-compose run --rm php-cli vendor/bin/rector process
135136

137+
.PHONY: lint-all
138+
lint-all: lint-allowed-licenses lint-cs-fixer lint-phpstan lint-rector
139+
136140
# unit tests
137141
.PHONY: test-unit
138142
test-unit:

0 commit comments

Comments
 (0)