Skip to content

Commit

Permalink
Added type coverage badge (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech authored Jul 18, 2020
1 parent 277f7a3 commit 17570c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# PHP Matcher

[![Type Coverage](https://shepherd.dev/github/coduo/php-matcher/coverage.svg)](https://shepherd.dev/coduo/php-matcher)

Library created for testing all kinds of JSON/XML/TXT/Scalar values against patterns.

API:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"phpunit"
],
"static:analyze": [
"tools/psalm",
"tools/psalm --shepherd --stats",
"tools/phpstan analyze -c phpstan.neon",
"tools/php-cs-fixer fix --dry-run"
]
Expand Down
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
bootstrap="vendor/autoload.php"
cacheResultFile="var/phpunit/.result.cache"
>
<logging>
<log type="coverage-html" target="var/phpunit/coverage/html" lowUpperBound="80" highLowerBound="100"/>
</logging>
<testsuites>
<testsuite name="PHP Matcher Test Suite">
<directory>./tests/</directory>
Expand Down

0 comments on commit 17570c4

Please sign in to comment.