File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33All notable changes are documented in this file using the [ Keep a CHANGELOG] ( http://keepachangelog.com/ ) principles.
44
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+
511## [ 12.1.1] - 2025-04-03
612
713### Fixed
@@ -14,5 +20,6 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
1420
1521* ` CacheWarmer::warmCache() ` now returns the number of cache hits and cache misses
1622
23+ [ 12.1.2 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/12.1.1...main
1724[ 12.1.1 ] : https://github.com/sebastianbergmann/php-code-coverage/compare/12.1.0...12.1.1
1825[ 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
513513
514514 $ unintentionallyCoveredUnits = $ this ->processUnintentionallyCoveredUnits ($ unintentionallyCoveredUnits );
515515
516- if ($ unintentionallyCoveredUnits = == []) {
516+ if ($ unintentionallyCoveredUnits ! == []) {
517517 throw new UnintentionallyCoveredCodeException (
518518 $ unintentionallyCoveredUnits ,
519519 );
You can’t perform that action at this time.
0 commit comments