forked from sebastianbergmann/php-code-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
ChangeLog for PHP_CodeCoverage 1.2
Sebastian Bergmann edited this page Jan 31, 2014
·
1 revision
Fixed #209: {id}
in tested source replaced in HTML report
- Fixed the origin of the coordinate system for the dashboard charts
- Fixed #173: JavaScript error in the HTML report
- Fixing an issue where an anonymous function as the last "method" in a class would cause the coverage report to ignore the rest
- Fixed #151: Blacklisted PHPUnit PHAR
- Fixed sebastianbergmann/phpunit#924
- Fixed #158: Executable code on a line that has a comment is processed incorrectly
- Eliminated the coupling to
PHPUnit_Util_Printer
inPHP_CodeCoverage_Report_Text
- Improved rendering of "lines covered" numbers for functions and methods with long names or argument lists
- Fixed the title of the Y axis of the Code Coverage ./. Cyclomatic Complexity dashboard chart
- Upgraded to Highcharts 2.3.5
- Upgraded to jQuery 1.9.1
- Reduced vertical whitespace in sourcecode view
- Upgraded to Bootstrap 2.2.2
- The
html5shiv.js
is now bundled - Fixed sebastianbergmann/phpunit#702:
@coversNothing
didn't work as documented
- Fixed #126:
E_NOTICE
thrown when generating coverage report
- Fixed regression introduced in PHP_CodeCoverage 1.2.4
- Fixed #123: Incorrect code coverage for interfaces
- Implemented #116: Do not rely on autoloader class map to populate blacklist
- Added support for parentheses after method names in the
@covers
annotation - When
addUncoveredFilesFromWhitelist=FALSE
is set then files that are whitelisted but not covered by a single test are now excluded from the code coverage - Fixed #81: Non-english locales broke the coverage bars in the HTML report
- Fixed #118: Percentage for tested classes and traits displayed incorrectly
- Fixed #121: One line
@covers
annotations did not work
- Fixed #115: Backwards compatibility wrapper for
trait_exists()
does not work
- Fixed invalid markup in the HTML report
- The version number is now displayed when using PHP_CodeCoverage from a Composer install or Git checkout
- The HTML report has been redesigned
- The new
@coversDefaultClass
annotation enables short@covers
annotations when working with long class names or namespaces - The new
@coversNothing
annotation can be used so tests do not record any code coverage. Useful for integration testing - When
processUncoveredFilesFromWhitelist=FALSE
is set then files that are whitelisted but not covered by a single test are now included in the code coverage but with all lines, including those that are not executable, counted as not executed - PHP_CodeCoverage 1.2 is only supported on PHP 5.3.3 (or later) and PHP 5.4.7 (or later) is highly recommended