Skip to content

Commit

Permalink
Closes #4036
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 10, 2020
1 parent d350e3d commit e8b2d71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog-9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes of the PHPUnit 9.0 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.

## [9.0.1] - 2020-02-DD

### Fixed

* Fixed [#4036](https://github.com/sebastianbergmann/phpunit/issues/4036): Annotations for ignoring code from code coverage are unintentionally ignored by default

## [9.0.0] - 2020-02-07

### Added
Expand Down Expand Up @@ -33,5 +39,6 @@ All notable changes of the PHPUnit 9.0 release series are documented in this fil
* Implemented [#3957](https://github.com/sebastianbergmann/phpunit/issues/3957): Remove `expectExceptionMessageRegExp()`
* Implemented [#4012](https://github.com/sebastianbergmann/phpunit/issues/4012): Remove class name as CLI argument

[9.0.1]: https://github.com/sebastianbergmann/phpunit/compare/9.0.0...9.0
[9.0.0]: https://github.com/sebastianbergmann/phpunit/compare/8.5.2...master

2 changes: 1 addition & 1 deletion src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ public function run(Test $suite, array $arguments = [], bool $exit = true): Test
);
}

if (isset($arguments['disableCodeCoverageIgnore'])) {
if (isset($arguments['disableCodeCoverageIgnore']) && $arguments['disableCodeCoverageIgnore'] === true) {
$codeCoverage->setDisableIgnoredLines(true);
}

Expand Down

0 comments on commit e8b2d71

Please sign in to comment.