-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
36 lines (28 loc) · 823 Bytes
/
Makefile
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
36
.PHONY: qa
qa: tests phpstan rector-dry cs
.PHONY: code-coverage
code-coverage: vendor
XDEBUG_MODE=coverage vendor/bin/phpunit -c tests/phpunit.xml.dist --log-junit logs/phpunit.xml --coverage-text --coverage-clover logs/clover.xml
.PHONY: cs
cs: vendor
vendor/bin/ecs check --fix
.PHONY: mutation
mutation: vendor
XDEBUG_MODE=coverage vendor/bin/infection --min-msi=97 --threads=4 --no-ansi
.PHONY: phpstan
phpstan: vendor
vendor/bin/phpstan analyse
.PHONY: rector
rector: vendor
vendor/bin/rector
.PHONY: rector-dry
rector-dry: vendor
vendor/bin/rector --dry-run
.PHONY: tests
tests: vendor
XDEBUG_MODE=coverage vendor/bin/phpunit --configuration=tests/phpunit.xml.dist
vendor: composer.json composer.lock
composer validate
composer install
composer normalize
vendor/bin/composer-require-checker check