forked from ovr/phpsa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 653 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 653 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
26
27
28
29
30
31
32
cs:
./vendor/bin/phpcs --report=emacs
check-src:
./bin/phpsa check -vvv ./src
# Rubric, hacking themselves (c) @Kistamushken
check-fixtures:
./bin/phpsa check -vvv ./fixtures
# For local dev
dev:
./bin/phpsa check -vvv ./sandbox
tests-local:
./vendor/bin/phpunit -v
# Alias for tests-local
tests: tests-local
tests-ci:
./vendor/bin/phpunit -v --debug --coverage-clover=coverage.clover
# For renewing config and documentation when analyzers were changed
analyzers:
./bin/phpsa config:dump-reference > .phpsa.yml
./bin/phpsa config:dump-documentation > docs/05_Analyzers.md
test: tests-local cs
ci: cs tests-ci check-fixtures check-src