diff --git a/ChangeLog-11.0.md b/ChangeLog-11.0.md index d6d147c3..c75745c9 100644 --- a/ChangeLog-11.0.md +++ b/ChangeLog-11.0.md @@ -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 diff --git a/src/CodeCoverage.php b/src/CodeCoverage.php index 9c885302..736380f0 100644 --- a/src/CodeCoverage.php +++ b/src/CodeCoverage.php @@ -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;