File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050
5151 -
5252 name : ' Check the code style'
53- run : ' make cs-full '
53+ run : ' make cs'
5454
5555 phpstan :
5656 name : ' PhpStan'
Original file line number Diff line number Diff line change 1- QA_DOCKER_IMAGE =jakzal/phpqa:1.92.1-php8.2-alpine
2- QA_DOCKER_COMMAND =docker run --init -t --rm --user "$(shell id -u) :$(shell id -g) " --volume /tmp/tmp-phpqa-$(shell id -u) :/tmp --volume "$(shell pwd) :/project" --workdir /project ${QA_DOCKER_IMAGE}
1+ include vendor/rollerscapes/standards/Makefile
32
4- dist : install cs-full phpstan test-full
5- lint : install cs-full phpstan
3+ QA_DOCKER_IMAGE =jakzal/phpqa:1.115.0-php8.4-alpine
64
7- install :
8- composer install --no-progress --no-interaction --no-suggest --optimize-autoloader --prefer-dist --ansi
5+ phpunit :
6+ ./vendor/bin/phpunit
97
10- test :
11- vendor/bin/phpunit
12-
13- # Linting tools
14- phpstan : ensure
15- vendor/bin/phpstan analyse
16-
17- cs : ensure
18- sh -c " ${QA_DOCKER_COMMAND} php-cs-fixer fix -vvv --diff"
19-
20- cs-full : ensure
21- sh -c " ${QA_DOCKER_COMMAND} php-cs-fixer fix -vvv --using-cache=no --diff"
22-
23- cs-full-check : ensure
24- sh -c " ${QA_DOCKER_COMMAND} php-cs-fixer fix -vvv --using-cache=no --diff --dry-run"
25-
26- ensure :
27- mkdir -p ${HOME} /.composer /tmp/tmp-phpqa-$(shell id -u)
28-
29- .PHONY : install test phpstan cs cs-full cs-full-check
You can’t perform that action at this time.
0 commit comments