diff --git a/ChangeLog-12.2.md b/ChangeLog-12.2.md
index b2b2cb68f049b51ccddb4375f00681a69d2e4003..30ba8a58382c1ffdefc54a2d94fc14e17dc588e5 100644
--- a/ChangeLog-12.2.md
+++ b/ChangeLog-12.2.md
@@ -2,6 +2,12 @@
All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
+## [12.2.1] - 2025-05-04
+
+### Changed
+
+* Safeguard `file_get_contents()` call with `is_file()` call to avoid problems with error handlers that act on suppressed warnings
+
## [12.2.0] - 2025-05-03
### Changed
@@ -11,4 +17,5 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
* Reduced number of I/O and hashing operations when using the static analysis cache
* Use SHA-256 instead of MD5 to generate cache keys for static analysis cache (as SHA-256 is significantly faster than MD5 with PHP >= 8.4 on modern CPUs)
+[12.2.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/12.2.0...12.2.1
[12.2.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/12.1.2...12.2.0
diff --git a/src/Version.php b/src/Version.php
index faab1436bb7e5909f18b28c389bb1500d9ed341f..90adc2e8879be2ff5f6e6ca509c3a33a7006bc68 100644
--- a/src/Version.php
+++ b/src/Version.php
@@ -19,7 +19,7 @@ final class Version
public static function id(): string
{
if (self::$version === '') {
- self::$version = (new VersionId('12.2.0', dirname(__DIR__)))->asString();
+ self::$version = (new VersionId('12.2.1', dirname(__DIR__)))->asString();
}
return self::$version;