diff --git a/ChangeLog.md b/ChangeLog.md index 5775aca1f..f8015d9f8 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -79,6 +79,38 @@ Incoming * Deprecate `Pattern.list()` * Deprecate `PatternList` * Deprecate `Pattern.mask()` + * Deprecate exceptions unqualified for release candidate. + * Deprecate `EmptyOptionalException` + * Deprecate `ExplicitDelimiterRequiredException`, to be refactored to `DelimiterException` + * Deprecate `GroupNotMatchedException`, to be refactored to `GroupException` + * Deprecate `IntegerFormatException` + * Deprecate `IntegerOverflowException` + * Deprecate `InternalCleanRegexException` + * Deprecate `InvalidIntegerTypeException` + * Deprecate `InvalidReplacementException`, to be refactored to `\UnexpectedValueException` + * Deprecate `InvalidReturnValueException` + * Deprecate `MalformedPcreTemplateException`, to be refactored to `SyntaxException` + * Deprecate `MaskMalformedPatternException` + * Deprecate `NonexistentGroupException`, to be refactored to `GroupException` + * Deprecate `NoSuchNthElementException` + * Deprecate `NoSuchStreamElementException` + * Deprecate `PatternMalformedPatternException` + * Deprecate `PlaceholderFigureException` + * Deprecate `ReplacementExpectationFailedException` + * Deprecate `SubjectNotMatchedException`, to be refactored to `NoMatchException` + * Deprecate `UnevenCutException` + * Deprecate `MalformedPatternException`, to be refactored to `SyntaxException` + * Deprecate `PatternSyntaxException` + * Deprecate `CatastrophicBacktrackingException`, to be refactored to `BacktrackException` + * Deprecate `CompilePregException`, to be refactored to `SyntaxException` + * Deprecate `JitStackLimitException`, to be refactored to `JitException` + * Deprecate `PatternStructureException` + * Deprecate `PregException` + * Deprecate `PregMalformedPatternException`, to be refactored to `SyntaxException` + * Deprecate `RuntimePregException`, to be refactored to `MatchException` + * Deprecate `SubjectEncodingException`, to be refactored to `UnicodeException` + * Deprecate `SuspectedReturnPregException` + * Deprecate `UnicodeOffsetException`, to be refactored to `UnicodeException` Added in 0.41.5 --------------- diff --git a/src/CleanRegex/Exception/EmptyOptionalException.php b/src/CleanRegex/Exception/EmptyOptionalException.php index d8f4e7b87..b4b85aa3e 100644 --- a/src/CleanRegex/Exception/EmptyOptionalException.php +++ b/src/CleanRegex/Exception/EmptyOptionalException.php @@ -1,6 +1,9 @@