.PHONY: all all: ./vendor .PHONY: test test: ./vendor ./vendor/bin/phpunit tests .PHONY: lint lint: ./vendor ./vendor/bin/psalm --show-info=true docs/coverage: ./vendor $(wildcard src/**.php) $(wildcard tests/**.php) XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-html docs/coverage tests @touch $@ ./vendor: composer.json composer.lock composer install @touch $@