@@ -46,9 +46,6 @@ cs: ## Check the code for code style issues
46
46
stan : # # Run static analysis (PHPStan)
47
47
$(DOCKER_RUN ) vendor/bin/phpstan analyse src tests --ansi -c ./etc/qa/phpstan.neon
48
48
49
- psalm : # # Run static analysis (Psalm)
50
- $(DOCKER_RUN ) vendor/bin/psalm --threads=$(THREADS ) --shepherd --stats --config=./etc/qa/psalm.xml
51
-
52
49
unit-testing : # # Run tests
53
50
$(DOCKER_RUN ) vendor/bin/phpunit --colors=always -c ./etc/qa/phpunit.xml --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml
54
51
$(DOCKER_RUN ) test -n " $( COVERALLS_REPO_TOKEN) " && test -n " $( COVERALLS_RUN_LOCALLY) " && test -f ./var/tests-unit-clover-coverage.xml && vendor/bin/php-coveralls -v --coverage_clover ./build/logs/clover.xml --json_path ./var/tests-unit-clover-coverage-upload.json || true
@@ -78,12 +75,21 @@ backward-compatibility-check: ## Check code for backwards incompatible changes
78
75
backward-compatibility-check-raw : # # Check code for backwards incompatible changes, doesn't ignore the failure ###
79
76
$(DOCKER_RUN ) vendor/bin/roave-backward-compatibility-check
80
77
81
- shell : # # Provides Shell access in the expected environment ###
82
- $(DOCKER_RUN ) ash
78
+ shell : # # Provides Shell access in the expected environment ####
79
+ $(DOCKER_RUN ) bash
80
+
81
+ install : # # Install dependencies ####
82
+ $(DOCKER_RUN ) composer install
83
+
84
+ update : # # Update dependencies ####
85
+ $(DOCKER_RUN ) composer update -W
86
+
87
+ outdated : # # Show outdated dependencies ####
88
+ $(DOCKER_RUN ) composer outdated
83
89
84
90
task-list-ci : # # CI: Generate a JSON array of jobs to run, matches the commands run when running `make (|all)` ###
85
91
@grep -E ' ^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | grep -v " ###" | sort | awk ' BEGIN {FS = ":.*?## "}; {printf "%s\n", $$1}' | jq --raw-input --slurp -c ' split("\n")| .[0:-1]'
86
92
87
- help : # # Show this help ###
93
+ help : # # Show this help ####
88
94
@printf " \033[33mUsage:\033[0m\n make [target]\n\n\033[33mTargets:\033[0m\n"
89
95
@grep -E ' ^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "}; {printf " \033[32m%-32s\033[0m %s\n", $$1, $$2}' | tr -d ' #'
0 commit comments