File tree 2 files changed +16
-7
lines changed
2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes are documented in this file using the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
4
4
5
+ ## [ 8.0.1] - 2020-MM-DD
6
+
7
+ ### Fixed
8
+
9
+ * Fixed [ #731 ] ( https://github.com/sebastianbergmann/php-code-coverage/pull/731 ) : Confusing footer in the HTML report
10
+
5
11
## [ 8.0.0] - 2020-02-07
6
12
7
13
### Fixed
@@ -122,7 +128,8 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
122
128
* Class names are now abbreviated (unqualified name shown, fully qualified name shown on hover) in the file view of the HTML report
123
129
* Update HTML report to Bootstrap 4
124
130
125
- [ 8.0.0 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/7.0.10...master
131
+ [ 8.0.1 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/8.0.0...master
132
+ [ 8.0.0 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/7.0.10...8.0.0
126
133
[ 7.0.10 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/7.0.9...7.0.10
127
134
[ 7.0.9 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/7.0.8...7.0.9
128
135
[ 7.0.8 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/7.0.7...7.0.8
Original file line number Diff line number Diff line change @@ -259,18 +259,20 @@ private function getRuntimeString(): string
259
259
$ runtime ->getVersion ()
260
260
);
261
261
262
- if ($ runtime ->hasXdebug () && !$ runtime ->hasPHPDBGCodeCoverage ()) {
263
- $ buffer .= \sprintf (
264
- ' with <a href="https://xdebug.org/">Xdebug %s</a> ' ,
265
- \phpversion ('xdebug ' )
266
- );
262
+ if ($ runtime ->hasPHPDBGCodeCoverage ()) {
263
+ return $ buffer ;
267
264
}
268
265
269
- if ($ runtime ->hasPCOV () && ! $ runtime -> hasPHPDBGCodeCoverage () ) {
266
+ if ($ runtime ->hasPCOV ()) {
270
267
$ buffer .= \sprintf (
271
268
' with <a href="https://github.com/krakjoe/pcov">PCOV %s</a> ' ,
272
269
\phpversion ('pcov ' )
273
270
);
271
+ } elseif ($ runtime ->hasXdebug ()) {
272
+ $ buffer .= \sprintf (
273
+ ' with <a href="https://xdebug.org/">Xdebug %s</a> ' ,
274
+ \phpversion ('xdebug ' )
275
+ );
274
276
}
275
277
276
278
return $ buffer ;
You can’t perform that action at this time.
0 commit comments