Skip to content

Commit

Permalink
Changed diff to Coverage
Browse files Browse the repository at this point in the history
Added temporary fix for errors being generated in php 7 from phpunit 5 html coverage.
  • Loading branch information
mcneely committed Feb 16, 2019
1 parent 1f6e59c commit 886f095
Show file tree
Hide file tree
Showing 2 changed files with 573 additions and 3 deletions.
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@
"tests/models",
"tests/routers",
"tests/views"
]
],
"files": ["tests/compatibility/File.php"]
},
"scripts": {
"test": "phpunit -c . tests/",
"lint": "parallel-lint --exclude vendor .",
"sniff": "phpcs --standard=tools/codesniffer/JoindInPSR2/ruleset.xml --ignore=**/config.php,**/database.php,vendor,tools,tests/bootstrap.php --extensions=php --report-checkstyle=build/logs/checkstyle.xml --runtime-set ignore_warnings_on_exit true -p .",
"security": "security-checker security:check composer.lock",
"diff": [
"coverage": [
"git diff origin/master... -- > diff.txt",
"diffFilter --phpunit diff.txt build/logs/clover.xml 80"
],
Expand All @@ -66,7 +67,7 @@
"@sniff",
"@security",
"@test",
"@diff"
"@coverage"
]
},
"config" : {
Expand Down
Loading

0 comments on commit 886f095

Please sign in to comment.