Skip to content

Commit 8032a53

Browse files
Deprecate methods used for PHPUnit functionality that has been deprecated
1 parent 7eebfaf commit 8032a53

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ChangeLog-11.0.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
99
* [#1037](https://github.com/sebastianbergmann/php-code-coverage/pull/1037): Upgrade Bootstrap to version 5.3.3 for HTML report
1010
* [#1046](https://github.com/sebastianbergmann/php-code-coverage/pull/1046): CSS fixes for HTML report
1111

12+
### Deprecated
13+
14+
* The `SebastianBergmann\CodeCoverage\Filter::includeUncoveredFiles()`, `SebastianBergmann\CodeCoverage\Filter::excludeUncoveredFiles()`, and `SebastianBergmann\CodeCoverage\Filter::excludeFile()` methods have been deprecated
15+
1216
## [11.0.6] - 2024-08-22
1317

1418
### Changed

src/CodeCoverage.php

+6
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,17 @@ public function disableCheckForUnintentionallyCoveredCode(): void
287287
$this->checkForUnintentionallyCoveredCode = false;
288288
}
289289

290+
/**
291+
* @deprecated
292+
*/
290293
public function includeUncoveredFiles(): void
291294
{
292295
$this->includeUncoveredFiles = true;
293296
}
294297

298+
/**
299+
* @deprecated
300+
*/
295301
public function excludeUncoveredFiles(): void
296302
{
297303
$this->includeUncoveredFiles = false;

0 commit comments

Comments
 (0)