File tree 3 files changed +6
-12
lines changed
3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 1
- /.build /
2
1
/vendor /
3
2
/.phpunit.result.cache
4
3
/.php-cs-fixer.cache
Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ it: fix stan test ## Runs all common targets
3
3
4
4
.PHONY : coverage
5
5
coverage : vendor # # Collects coverage from running unit tests with phpunit
6
- mkdir -p .build/phpunit
7
- vendor/bin/phpunit --dump-xdebug-filter=.build/phpunit/xdebug-filter.php
8
- vendor/bin/phpunit --coverage-text --prepend=.build/phpunit/xdebug-filter.php
6
+ vendor/bin/phpunit --coverage-text
9
7
10
8
.PHONY : fix
11
9
fix : vendor # # Fix the codestyle
@@ -18,12 +16,10 @@ help: ## Displays this list of targets with descriptions
18
16
19
17
.PHONY : stan
20
18
stan : vendor # # Runs a static analysis with phpstan
21
- mkdir -p .build/phpstan
22
- vendor/bin/phpstan analyse --configuration=phpstan.neon
19
+ vendor/bin/phpstan analyse
23
20
24
21
.PHONY : test
25
22
test : vendor # # Runs auto-review, unit, and integration tests with phpunit
26
- mkdir -p .build/phpunit
27
23
vendor/bin/phpunit
28
24
29
25
vendor : composer.json
Original file line number Diff line number Diff line change @@ -5,12 +5,11 @@ parameters:
5
5
paths :
6
6
- src
7
7
- tests
8
- tmpDir : %currentWorkingDirectory%/.build/phpstan
9
8
exceptions :
10
- checkedExceptionRegexes :
11
- - ' #.* #'
12
- check :
13
- missingCheckedExceptionInThrows : true
9
+ checkedExceptionRegexes :
10
+ - ' #.* #'
11
+ check :
12
+ missingCheckedExceptionInThrows : true
14
13
ignoreErrors :
15
14
- message : " #Method .* throws checked exception .* but it's missing from the PHPDoc @throws tag.#"
16
15
paths :
You can’t perform that action at this time.
0 commit comments