Skip to content

Commit 744c0b0

Browse files
authored
Add composer_normalize Makefile command (#194)
1 parent 7c28119 commit 744c0b0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Makefile

+6-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ help:
4545

4646
.PHONY: cs
4747
cs: ## Fixes CS
48-
cs: php_cs_fixer gitignore_sort
48+
cs: php_cs_fixer gitignore_sort composer_normalize
4949

5050
.PHONY: php_cs_fixer
5151
php_cs_fixer: ## Runs PHP-CS-Fixer
@@ -57,6 +57,11 @@ gitignore_sort: ## Sorts the .gitignore entries
5757
gitignore_sort:
5858
LC_ALL=C sort -u .gitignore -o .gitignore
5959

60+
.PHONY: composer_normalize
61+
composer_normalize: ## Normalizes the composer.json
62+
composer_normalize: vendor
63+
composer normalize
64+
6065
.PHONY: test
6166
test: ## Runs all the tests
6267
test: validate-package phpstan phpunit

0 commit comments

Comments
 (0)