@@ -9,41 +9,41 @@ SCHEMA_REGISTRY_IPV4 ?= 192.168.104.103
99KAFKA_BROKER_IPV4 ?= 192.168.104.102
1010ZOOKEEPER_IPV4 ?= 192.168.104.101
1111COMPOSER ?= bin/composer.phar
12- COMPOSER_VERSION ?= 2.0.4
12+ COMPOSER_VERSION ?= 2.1.9
1313PHP_STAN ?= bin/phpstan.phar
14- PHP_STAN_VERSION ?= 0.12.53
14+ PHP_STAN_VERSION ?= 0.12.99
1515PHP_CS_FIXER ?= bin/php-cs-fixer.phar
16- PHP_CS_FIXER_VERSION ?= 2.18.7
16+ PHP_CS_FIXER_VERSION ?= 3.2.1
1717PHPUNIT ?= vendor/bin/phpunit
1818PHP ?= bin/php
19- PHP_VERSION ?= 7.3
20- XDEBUG_VERSION ?= 2.9.8
21- XDEBUG_OPTIONS ?= -d xdebug.mode=off -d xdebug.coverage_enable=0
19+ PHP_VERSION ?= 7.4
20+ XDEBUG_VERSION ?= 3.1.1
21+ XDEBUG_OPTIONS ?= -d xdebug.mode=off
2222export
2323
2424docker :
25- docker build \
25+ DOCKER_BUILDKIT=1 docker build \
2626 --build-arg PHP_VERSION=$(PHP_VERSION ) \
2727 --build-arg XDEBUG_VERSION=$(XDEBUG_VERSION ) \
2828 -t php-avro-serde:$(PHP_VERSION ) \
2929 -f Dockerfile \
3030 .
3131
3232composer-install :
33- PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(COMPOSER ) install --no-interaction --no-progress --no-scripts --prefer-stable
33+ PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(COMPOSER ) install --no-interaction --no-progress --no-scripts
3434
3535composer-update :
36- PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(COMPOSER ) update --no-interaction --no-progress --no-scripts --prefer-stable
36+ PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(COMPOSER ) update --prefer-stable --no-interaction --no-progress --no-scripts
3737
3838phpstan :
3939 PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(PHP_STAN ) analyse
4040
4141cs-fixer :
42- PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(PHP_CS_FIXER ) fix --config=.php_cs .dist --diff -v --dry-run \
42+ PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(PHP_CS_FIXER ) fix --config=.php-cs-fixer .dist.php --diff -v --dry-run \
4343 --path-mode=intersection --allow-risky=yes src test
4444
4545cs-fixer-modify :
46- PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(PHP_CS_FIXER ) fix --config=.php_cs .dist --diff -v \
46+ PHP_VERSION=$(PHP_VERSION ) $(PHP ) $(XDEBUG_OPTIONS ) $(PHP_CS_FIXER ) fix --config=.php-cs-fixer .dist.php --diff -v \
4747 --path-mode=intersection --allow-risky=yes src test
4848
4949phpunit :
@@ -54,7 +54,7 @@ phpunit-integration:
5454
5555coverage :
5656 mkdir -p build
57- PHP_VERSION=$(PHP_VERSION ) $(PHP ) -d xdebug.mode=coverage -d xdebug.coverage_enable=1 vendor/bin/phpunit --exclude-group integration \
57+ PHP_VERSION=$(PHP_VERSION ) $(PHP ) -d xdebug.mode=coverage vendor/bin/phpunit --exclude-group integration \
5858 --coverage-clover=build/coverage.clover --coverage-text
5959
6060ci-local : cs-fixer phpstan phpunit
0 commit comments