forked from misd-service-development/phone-number-bundle
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from odolbeau/prepare-310
Prepare v3.1.0
- Loading branch information
Showing
4 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.PHONY: ${TARGETS} | ||
.DEFAULT_GOAL := help | ||
|
||
DIR := ${CURDIR} | ||
SYMFONY = php bin/console | ||
QA_IMAGE := jakzal/phpqa:latest | ||
|
||
help: | ||
@echo "\033[33mUsage:\033[0m" | ||
@echo " make [command]" | ||
@echo "" | ||
@echo "\033[33mAvailable commands:\033[0m" | ||
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort \ | ||
| awk 'BEGIN {FS = ":.*?## "}; {printf " \033[32m%s\033[0m___%s\n", $$1, $$2}' | column -ts___ | ||
|
||
cs-lint: ## Verify check styles | ||
@docker run --rm -v $(DIR):/project -w /project $(QA_IMAGE) php-cs-fixer fix --diff-format udiff --allow-risky=yes --dry-run -vvv | ||
|
||
cs-fix: ## Apply Check styles | ||
@docker run --rm -v $(DIR):/project -w /project $(QA_IMAGE) php-cs-fixer fix --diff-format udiff --allow-risky=yes -vvv | ||
|
||
phpstan: ## Run PHPStan | ||
@docker run --rm -v $(DIR):/project -w /project $(QA_IMAGE) phpstan analyse | ||
|
||
phpunit: ## Run phpunit | ||
-./vendor/bin/phpunit | ||
|
||
test: phpunit cs-lint phpstan ## Run tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ | |
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "4.0.x-dev" | ||
"dev-master": "3.1.x-dev" | ||
} | ||
} | ||
} |