-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (19 loc) · 750 Bytes
/
Copy pathMakefile
File metadata and controls
24 lines (19 loc) · 750 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
# vim: set tabstop=8 softtabstop=8 noexpandtab:
.PHONY: static-code-analysis
static-code-analysis:
symfony php vendor/bin/phpstan analyse --configuration phpstan.neon.dist --no-progress --memory-limit=-1
.PHONY: static-code-analysis-baseline
static-code-analysis-baseline:
symfony php vendor/bin/phpstan analyse --configuration phpstan.neon.dist --generate-baseline=phpstan-baseline.neon --no-progress
.PHONY: cs
cs:
symfony php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --diff --verbose
.PHONY: tests
tests:
symfony php vendor/bin/phpunit
.PHONY: coverage
coverage:
symfony php vendor/bin/phpunit --coverage-html=.build/phpunit/
.PHONY: refactoring
refactoring:
symfony php vendor/bin/rector process --config rector.php