From c2c0725f7de8fcd4e1c4b6f7662f9515b6cfe2a0 Mon Sep 17 00:00:00 2001 From: Jaapio Date: Fri, 19 Jan 2024 17:57:41 +0100 Subject: [PATCH] [!!!TASK] Make all classes final This library has a very large number of extension points via interfaces and abstract classes. All other classes should not be extended by users and shall theirfor be marked as final. There are a few classes left that should also be marked as final but those require some extra attention. --- src/Markdown/DependencyInjection/MarkdownExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Markdown/DependencyInjection/MarkdownExtension.php b/src/Markdown/DependencyInjection/MarkdownExtension.php index 7e06019..1ef2942 100644 --- a/src/Markdown/DependencyInjection/MarkdownExtension.php +++ b/src/Markdown/DependencyInjection/MarkdownExtension.php @@ -22,7 +22,7 @@ use function dirname; -class MarkdownExtension extends Extension implements PrependExtensionInterface, CompilerPassInterface +final class MarkdownExtension extends Extension implements PrependExtensionInterface, CompilerPassInterface { /** @param mixed[] $configs */ public function load(array $configs, ContainerBuilder $container): void