File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ All notable changes of the PHP_CodeCoverage 5.2 release series are documented in
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
1010* Fixed [ #468 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/468 ) : Global functions are not properly counted
11+ * Fixed [ #560 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/560 ) : Uncovered whitelisted files are missing from the report
1112
1213## [ 5.2.3] - 2017-11-03
1314
Original file line number Diff line number Diff line change @@ -726,14 +726,12 @@ private function addUncoveredFilesFromWhitelist()
726726 continue ;
727727 }
728728
729- if (!$ this ->processUncoveredFilesFromWhitelist ) {
730- $ data [$ uncoveredFile ] = [];
729+ $ data [$ uncoveredFile ] = [];
731730
732- $ lines = \count (\file ($ uncoveredFile ));
731+ $ lines = \count (\file ($ uncoveredFile ));
733732
734- for ($ i = 1 ; $ i <= $ lines ; $ i ++) {
735- $ data [$ uncoveredFile ][$ i ] = Driver::LINE_NOT_EXECUTED ;
736- }
733+ for ($ i = 1 ; $ i <= $ lines ; $ i ++) {
734+ $ data [$ uncoveredFile ][$ i ] = Driver::LINE_NOT_EXECUTED ;
737735 }
738736 }
739737
You can’t perform that action at this time.
0 commit comments