diff --git a/CHANGELOG.md b/CHANGELOG.md index ec98bb8..bce54a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +- `CircularDependencyException` is now `final` (CONV-08). This is a restriction of the API for anyone who extended it: a class that is not an extension point can no longer be subclassed; compose it instead + ## [0.2.0] - 2026-11-19 ### Changed diff --git a/src/Infrastructure/Services/CircularDependencyException.php b/src/Infrastructure/Services/CircularDependencyException.php index 6eabcfe..778b32d 100644 --- a/src/Infrastructure/Services/CircularDependencyException.php +++ b/src/Infrastructure/Services/CircularDependencyException.php @@ -7,4 +7,4 @@ /** * Exception thrown when circular dependency is detected during instantiation */ -class CircularDependencyException extends \RuntimeException {} +final class CircularDependencyException extends \RuntimeException {}