Skip to content

Commit 527211a

Browse files
committed
Makefile fixed
1 parent 28f125b commit 527211a

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,55 @@
1+
.PHONY: mu
12
mu: vendor ## Mutation tests
23
vendor/bin/infection -s --threads=$(nproc) --min-msi=23 --min-covered-msi=45
34
vendor/bin/phpunit --coverage-text
45

6+
.PHONY: tests
57
tests: vendor ## Run all tests
68
vendor/bin/phpunit --color
79

10+
.PHONY: cc
811
cc: vendor ## Show test coverage rates (HTML)
912
vendor/bin/phpunit --coverage-html ./build
1013

14+
.PHONY: cs
1115
cs: vendor ## Fix all files using defined ECS rules
1216
vendor/bin/ecs check --fix
1317

18+
.PHONY: tu
1419
tu: vendor ## Run only unit tests
1520
vendor/bin/phpunit --color --group Unit
1621

22+
.PHONY: ti
1723
ti: vendor ## Run only integration tests
1824
vendor/bin/phpunit --color --group Integration
1925

26+
.PHONY: tf
2027
tf: vendor ## Run only functional tests
2128
vendor/bin/phpunit --color --group Functional
2229

30+
.PHONY: st
2331
st: vendor ## Run static analyse
2432
vendor/bin/phpstan analyse
2533

2634

2735
################################################
2836

37+
.PHONY: ci-mu
2938
ci-mu: vendor ## Mutation tests (for CI/CD only)
3039
vendor/bin/infection --logger-github -s --threads=$(nproc) --min-msi=23 --min-covered-msi=45
3140

41+
.PHONY: ci-cc
3242
ci-cc: vendor ## Show test coverage rates (for CI/CD only)
3343
vendor/bin/phpunit --coverage-text
3444

45+
.PHONY: ci-cs
3546
ci-cs: vendor ## Check all files using defined ECS rules (for CI/CD only)
3647
vendor/bin/ecs check
3748

3849
################################################
3950

4051

52+
.PHONY: rector
4153
rector: vendor ## Check all files using Rector
4254
vendor/bin/rector process --ansi --dry-run --xdebug
4355

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@
6262
"replace": {
6363
"web-auth/webauthn-lib": "self.version",
6464
"web-auth/metadata-service": "self.version",
65-
"web-auth/webauthn-symfony-bundle": "self.version",
66-
"web-auth/webauthn-stimulus": "self.version"
65+
"web-auth/webauthn-symfony-bundle": "self.version"
6766
},
6867
"config": {
6968
"sort-packages": true,

0 commit comments

Comments
 (0)