@@ -3,31 +3,31 @@ help: ## Display help information
33
44build : # # Build an image from a docker-compose file. Params: {{ v=5.6 }}. Default latest PHP 5.6
55 @cp -n .env.example .env
6- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose up -d --build
6+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose up -d --build
77
88test : # # Run tests. Params: {{ v=5.6 }}. Default latest PHP 5.6
9- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose build --pull yii2-queue-php
10- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose run yii2-queue-php vendor/bin/phpunit --colors=always -v --debug
9+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose build --pull yii2-queue-php
10+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose run yii2-queue-php vendor/bin/phpunit --colors=always -v --debug
1111 make down
1212
1313down : # # Stop and remove containers, networks
1414 docker-compose down
1515
1616benchmark : # # Run benchmark. Params: {{ v=5.6 }}. Default latest PHP 5.6
17- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose build --pull yii2-queue-php
18- PHP_VERSION=$(filter-out $@ ,$(v ) ) docker- compose run yii2-queue-php tests/yii benchmark/waiting
17+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose build --pull yii2-queue-php
18+ PHP_VERSION=$(filter-out $@ ,$(v ) ) docker compose run yii2-queue-php tests/yii benchmark/waiting
1919 make down
2020
2121sh : # # Enter the container with the application
2222 docker exec -it yii2-queue-php bash
2323
2424check-cs :
25- docker- compose build php72
26- docker- compose run php72 php-cs-fixer fix --diff --dry-run
27- docker- compose down
25+ docker compose build php72
26+ docker compose run php72 php-cs-fixer fix --diff --dry-run
27+ docker compose down
2828
2929clean :
30- docker- compose down
30+ docker compose down
3131 rm -rf tests/runtime/*
3232 rm -f .php_cs.cache
3333 rm -rf composer.lock
0 commit comments