Skip to content

Commit 9ff7d07

Browse files
committed
normalize
1 parent 0b078b7 commit 9ff7d07

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.PHONY: it
2-
it: stan test
2+
it: stan test normalize
33

44
.PHONY: help
55
help: ## Displays this list of targets with descriptions
@@ -24,5 +24,9 @@ stan: ## Run static analysis
2424
test: ## Run PHPUnit tests
2525
docker-compose run php vendor/bin/phpunit
2626

27+
.PHONY: normalize
28+
normalize: ## Normalize composer.json
29+
docker-compose run php composer normalize
30+
2731
vendor: composer.json ## Install dependencies through composer
2832
docker-compose run php composer install

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
},
2323
"require-dev": {
2424
"ext-json": "*",
25-
"phpstan/phpstan": "^0.12.31",
25+
"ergebnis/composer-normalize": "^2.5",
26+
"phpstan/phpstan": "~0.12.31",
2627
"phpunit/phpunit": "^8.5.3",
2728
"thecodingmachine/phpstan-safe-rule": "^1.0.0"
2829
},

0 commit comments

Comments
 (0)