Skip to content

Commit 886f095

Browse files
committed
Changed diff to Coverage
Added temporary fix for errors being generated in php 7 from phpunit 5 html coverage.
1 parent 1f6e59c commit 886f095

File tree

2 files changed

+573
-3
lines changed

2 files changed

+573
-3
lines changed

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@
4949
"tests/models",
5050
"tests/routers",
5151
"tests/views"
52-
]
52+
],
53+
"files": ["tests/compatibility/File.php"]
5354
},
5455
"scripts": {
5556
"test": "phpunit -c . tests/",
5657
"lint": "parallel-lint --exclude vendor .",
5758
"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 .",
5859
"security": "security-checker security:check composer.lock",
59-
"diff": [
60+
"coverage": [
6061
"git diff origin/master... -- > diff.txt",
6162
"diffFilter --phpunit diff.txt build/logs/clover.xml 80"
6263
],
@@ -66,7 +67,7 @@
6667
"@sniff",
6768
"@security",
6869
"@test",
69-
"@diff"
70+
"@coverage"
7071
]
7172
},
7273
"config" : {

0 commit comments

Comments
 (0)