-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Declaring strict types. Adding return types to all functions. Adding …
…code coverage make target. Updating travis config to report code coverage to coveralls.io.
- Loading branch information
1 parent
6a79048
commit 83b06dc
Showing
13 changed files
with
696 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
vendor/ | ||
debug/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
language: php | ||
php: | ||
- '7.2' | ||
install: composer install | ||
|
||
install: | ||
- composer install | ||
|
||
script: | ||
- make coverage | ||
|
||
after_success: | ||
- travis_retry php vendor/bin/php-coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
.PHONY: release | ||
|
||
analyze: | ||
vendor/bin/psalm --show-info=false | ||
|
||
report: | ||
vendor/bin/psalm --report=debug/psalm.xml | ||
sensible-browser debug/psalm.xml | ||
vendor/bin/psalm | ||
|
||
test: | ||
vendor/bin/phpunit | ||
|
||
coverage: | ||
vendor/bin/phpunit --coverage-clover=build/logs/clover.xml | ||
|
||
release: | ||
/usr/bin/env php release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.