mirror of https://github.com/wallabag/wallabag.git
Add phpstan recipe
This commit is contained in:
parent
5c0266e818
commit
f2d5895801
|
@ -53,3 +53,5 @@ All pull requests need to pass the tests and the code needs match the style guid
|
|||
To run the tests locally run `make test`.
|
||||
|
||||
To run the PHP formatter run `make fix-cs`.
|
||||
|
||||
To run the PHPStan static analysis run `make phpstan`.
|
||||
|
|
|
@ -49,6 +49,9 @@ test: ## Launch wallabag testsuite
|
|||
fix-cs: ## Run PHP-CS-Fixer
|
||||
@$(PHP_NO_XDEBUG) bin/php-cs-fixer fix
|
||||
|
||||
phpstan: ## Run PHPStan
|
||||
@$(PHP_NO_XDEBUG) bin/phpstan analyse
|
||||
|
||||
release: ## Create a package. Need a VERSION parameter (eg: `make release VERSION=master`).
|
||||
ifndef VERSION
|
||||
$(error VERSION is not set)
|
||||
|
@ -58,6 +61,6 @@ endif
|
|||
deploy: ## Deploy wallabag
|
||||
@bundle exec cap staging deploy
|
||||
|
||||
.PHONY: help install update build test release deploy run dev fix-cs
|
||||
.PHONY: help install update build test release deploy run dev fix-cs phpstan
|
||||
|
||||
.DEFAULT_GOAL := install
|
||||
|
|
Loading…
Reference in New Issue