From 5f67e218399e39cafd98b42d118407046993e23a Mon Sep 17 00:00:00 2001 From: Trent Steel Date: Mon, 25 Nov 2024 14:12:24 +1000 Subject: [PATCH 1/2] Replace deprecated class --- DependencyInjection/TrsteelCkeditorExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/TrsteelCkeditorExtension.php b/DependencyInjection/TrsteelCkeditorExtension.php index 1c004bb..de2fb74 100755 --- a/DependencyInjection/TrsteelCkeditorExtension.php +++ b/DependencyInjection/TrsteelCkeditorExtension.php @@ -4,8 +4,8 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; -use Symfony\Component\HttpKernel\DependencyInjection\Extension; /** * This is the class that loads and manages your bundle configuration. From 95730dc337b4e63ae8b664a36d876b00dcfbd222 Mon Sep 17 00:00:00 2001 From: Trent Steel Date: Mon, 25 Nov 2024 14:16:28 +1000 Subject: [PATCH 2/2] cs --- Form/Type/CkeditorType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form/Type/CkeditorType.php b/Form/Type/CkeditorType.php index 0702e9f..6c1567c 100755 --- a/Form/Type/CkeditorType.php +++ b/Form/Type/CkeditorType.php @@ -35,7 +35,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void if (isset($this->transformers[$transformer_alias])) { $builder->addViewTransformer($this->transformers[$transformer_alias]); } else { - throw new \Exception(sprintf("'%s' is not a valid transformer.", $transformer_alias)); + throw new \Exception(\sprintf("'%s' is not a valid transformer.", $transformer_alias)); } }