Skip to content

Commit

Permalink
Deprecate methods used for PHPUnit functionality that has been deprec…
Browse files Browse the repository at this point in the history
…ated
  • Loading branch information
sebastianbergmann committed Sep 19, 2024
1 parent 7eebfaf commit 8032a53
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog-11.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
* [#1037](https://github.com/sebastianbergmann/php-code-coverage/pull/1037): Upgrade Bootstrap to version 5.3.3 for HTML report
* [#1046](https://github.com/sebastianbergmann/php-code-coverage/pull/1046): CSS fixes for HTML report

### Deprecated

* The `SebastianBergmann\CodeCoverage\Filter::includeUncoveredFiles()`, `SebastianBergmann\CodeCoverage\Filter::excludeUncoveredFiles()`, and `SebastianBergmann\CodeCoverage\Filter::excludeFile()` methods have been deprecated

## [11.0.6] - 2024-08-22

### Changed
Expand Down
6 changes: 6 additions & 0 deletions src/CodeCoverage.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,17 @@ public function disableCheckForUnintentionallyCoveredCode(): void
$this->checkForUnintentionallyCoveredCode = false;
}

/**
* @deprecated
*/
public function includeUncoveredFiles(): void
{
$this->includeUncoveredFiles = true;
}

/**
* @deprecated
*/
public function excludeUncoveredFiles(): void
{
$this->includeUncoveredFiles = false;
Expand Down

0 comments on commit 8032a53

Please sign in to comment.