-
Notifications
You must be signed in to change notification settings - Fork 8
/
makefile
37 lines (27 loc) · 873 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.PHONY: tests
.PHONY: tests-local
.PHONY: phpstan
.PHONY: cs
.PHONY: cbf
.PHONY: cs-local
.PHONY: coverage
.PHONY: composer
.PHONY: composer-lowest
composer:
composer update --no-interaction --no-suggest --no-progress --prefer-dist --prefer-stable
composer-lowest:
composer update --no-interaction --no-suggest --no-progress --prefer-dist --prefer-stable --prefer-lowest
tests:
vendor/bin/tester -s -c ./tests/php.ini-unix ./tests
tests-local:
vendor/bin/tester -j 1 -c ./tests/SpameriTests/php.ini tests
phpstan:
vendor/bin/phpstan analyse -l 6 -c phpstan.neon src tests
phpstan-lowest:
vendor/bin/phpstan analyse -l 6 -c phpstan-low.neon src tests
cs:
vendor/bin/phpcs --standard=ruleset.xml --cache=.phpcs-cache src tests
csf:
vendor/bin/phpcbf --standard=ruleset.xml src tests
coverage:
vendor/bin/tester $COVERAGE -s -c ./tests/php.ini-unix ./tests