-
-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (17 loc) · 594 Bytes
/
Makefile
File metadata and controls
25 lines (17 loc) · 594 Bytes
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
.PHONY: ci test cs phpunit phpcs stan stan-baseline psalm psalm-baseline baseline
ci: test cs
test: phpunit stan
cs: phpcs
phpunit:
php ../../tests/phpunit/phpunit.php -c phpunit.xml.dist
phpcs:
vendor/bin/phpcs -p -s
stan:
../../vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=2G
stan-baseline:
../../vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=2G --generate-baseline
psalm:
../../vendor/bin/psalm --config=psalm.xml
psalm-baseline:
../../vendor/bin/psalm --set-baseline=psalm-baseline.xml
baseline: stan-baseline psalm-baseline