From d44a24690f16b8c1808bf13b1bd54ae4c63ea048 Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Fri, 24 Mar 2023 11:16:10 -0400 Subject: [PATCH] Fix md style --- docs/2.4/upgrading.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/2.4/upgrading.md b/docs/2.4/upgrading.md index 60e8d3cd8a..1518ada1ac 100644 --- a/docs/2.4/upgrading.md +++ b/docs/2.4/upgrading.md @@ -15,12 +15,11 @@ other exceptions like `LogicException` or `InvalidArgumentException` could be th This inconsistent behavior and inaccurate documentation has been fixed in 2.4.0 by: - - Adding a new `CommonMarkException` interface implemented by all exceptions thrown by this library - - Adding several new exception types that implement that interface while also extending from the same base exception - type as that would have been previously thrown. - - Fixing incorrect docblocks about the exception types being thrown +- Adding a new `CommonMarkException` interface implemented by all exceptions thrown by this library +- Adding several new exception types that implement that interface while also extending from the same base exception + type as that would have been previously thrown. +- Fixing incorrect docblocks about the exception types being thrown If you were previously catching exceptions thrown by this library in your code, you should consider changing your `catch` blocks to either catch `CommonMarkException` (for all exceptions) or one of the exception types under the `League\CommonMark\Exception` namespace. -