-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (25 loc) · 894 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (25 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
up:
docker compose -f .docker/compose.yaml up -d --build
docker compose -f .docker/compose.yaml run --rm --remove-orphans php-dev composer install
run-coverage:
docker compose -f .docker/compose.yaml run --rm php-dev-coverage make test-coverage
down:
docker compose -f .docker/compose.yaml down
shell:
docker exec -it php-code-sniffs-dev /bin/sh
check-dockerfile:
docker run --rm -i ghcr.io/hadolint/hadolint < .docker/Dockerfile
lint:
php ./vendor/bin/phpcs -v -s
php ./vendor/bin/phpstan analyze
php ./vendor/bin/phpcs-check-feature-completeness
fix-lint:
php ./vendor/bin/phpcbf
test-cs:
cd ../cs-test/ && php ./vendor/bin/phpunit --no-coverage --filter AntipinCS
test-coverage:
cd ../cs-test/ && XDEBUG_MODE=coverage php ./vendor/bin/phpunit --filter AntipinCS
check-build:
composer validate --strict
php ./vendor/bin/export-ignore
test-all: lint test-cs check-build