File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes are documented in this file using the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
4
4
5
+ ## [ 12.1.2] - 2025-MM-DD
6
+
7
+ ### Fixed
8
+
9
+ * [ #1069 ] ( https://github.com/sebastianbergmann/php-code-coverage/issues/1069 ) : Check for unintentionally covered code is wrong
10
+
5
11
## [ 12.1.1] - 2025-04-03
6
12
7
13
### Fixed
@@ -14,5 +20,6 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
14
20
15
21
* ` CacheWarmer::warmCache() ` now returns the number of cache hits and cache misses
16
22
23
+ [ 12.1.2 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/12.1.1...main
17
24
[ 12.1.1 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/12.1.0...12.1.1
18
25
[ 12.1.0 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/12.0.5...12.1.0
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ private function performUnintentionallyCoveredCodeCheck(RawCodeCoverageData $dat
513
513
514
514
$ unintentionallyCoveredUnits = $ this ->processUnintentionallyCoveredUnits ($ unintentionallyCoveredUnits );
515
515
516
- if ($ unintentionallyCoveredUnits = == []) {
516
+ if ($ unintentionallyCoveredUnits ! == []) {
517
517
throw new UnintentionallyCoveredCodeException (
518
518
$ unintentionallyCoveredUnits ,
519
519
);
You can’t perform that action at this time.
0 commit comments