File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ All notable changes of the PHP_CodeCoverage 5.2 release series are documented in
77### Fixed
88
99* Fixed [ #424 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/424 ) : Rest of a function or method is ignored after an anonymous function
10+ * Fixed [ #455 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/455 ) : Dashboard does not handle namespaced classes properly
1011* Fixed [ #468 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/468 ) : Global functions are not properly counted
1112* Fixed [ #560 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/560 ) : Uncovered whitelisted files are missing from the report
1213
Original file line number Diff line number Diff line change @@ -600,6 +600,10 @@ protected function processClasses(\PHP_Token_Stream $tokens)
600600 $ link = $ this ->getId () . '.html# ' ;
601601
602602 foreach ($ classes as $ className => $ class ) {
603+ if (!empty ($ class ['package ' ]['namespace ' ])) {
604+ $ className = $ class ['package ' ]['namespace ' ] . '\\' . $ className ;
605+ }
606+
603607 $ this ->classes [$ className ] = [
604608 'className ' => $ className ,
605609 'methods ' => [],
You can’t perform that action at this time.
0 commit comments