Skip to content

Commit f7aa51f

Browse files
authored
Merge pull request #84 from WyriHaximus/bump-wyrihaximus-makefiles-to-0.4
Bump wyrihaximus/makefiles to 0.4
2 parents e1a302d + 256b6ce commit f7aa51f

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,17 @@ all: ## Runs everything ####
4141
syntax-php: ## Lint PHP syntax ##*LH*##
4242
$(DOCKER_RUN) vendor/bin/parallel-lint --exclude vendor .
4343

44+
rector-upgrade: ## Upgrade any automatically upgradable old code ###
45+
$(DOCKER_RUN) vendor/bin/rector -c ./etc/qa/rector.php
46+
4447
cs-fix: ## Fix any automatically fixable code style issues ###
4548
$(DOCKER_RUN) vendor/bin/phpcbf --parallel=$(THREADS) --cache=./var/.phpcs.cache.json --standard=./etc/qa/phpcs.xml || $(DOCKER_RUN) vendor/bin/phpcbf --parallel=$(THREADS) --cache=./var/.phpcs.cache.json --standard=./etc/qa/phpcs.xml || $(DOCKER_RUN) vendor/bin/phpcbf --parallel=$(THREADS) --cache=./var/.phpcs.cache.json --standard=./etc/qa/phpcs.xml -vvvv
4649

4750
cs: ## Check the code for code style issues ##*LCH*##
4851
$(DOCKER_RUN) vendor/bin/phpcs --parallel=$(THREADS) --cache=./var/.phpcs.cache.json --standard=./etc/qa/phpcs.xml
4952

5053
stan: ## Run static analysis (PHPStan) ##*LCH*##
51-
$(DOCKER_RUN) vendor/bin/phpstan analyse src tests --level max --ansi -c ./etc/qa/phpstan.neon
54+
$(DOCKER_RUN) vendor/bin/phpstan analyse etc src tests --level max --ansi -c ./etc/qa/phpstan.neon
5255

5356
unit-testing: ## Run tests ##*A*##
5457
$(DOCKER_RUN) vendor/bin/phpunit --colors=always -c ./etc/qa/phpunit.xml --coverage-text --coverage-html ./var/tests-unit-coverage-html --coverage-clover ./var/tests-unit-clover-coverage.xml

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"wyrihaximus/test-utilities": "^7.0.0"
2020
},
2121
"require-dev": {
22-
"wyrihaximus/makefiles": "^0.3.4"
22+
"wyrihaximus/makefiles": "^0.4.2"
2323
},
2424
"autoload": {
2525
"psr-4": {

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)