From 4bd669372ec80992aa98e7bd622a8702f246df44 Mon Sep 17 00:00:00 2001 From: Hugo Casabella Date: Mon, 28 Aug 2023 09:45:09 +0200 Subject: [PATCH 1/2] Fix symfony 6.3 depreciation Add type void to return function \FormatsCompilerPass::process() --- DependencyInjection/CompilerPass/FormatsCompilerPass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/CompilerPass/FormatsCompilerPass.php b/DependencyInjection/CompilerPass/FormatsCompilerPass.php index 1a7b0da..f0dcd90 100644 --- a/DependencyInjection/CompilerPass/FormatsCompilerPass.php +++ b/DependencyInjection/CompilerPass/FormatsCompilerPass.php @@ -17,7 +17,7 @@ class FormatsCompilerPass implements CompilerPassInterface { - public function process(ContainerBuilder $container) + public function process(ContainerBuilder $container): void { $formats = $container->getDefinition('handcraftedinthealps_rest_routing.loader.yaml_collection')->getArgument(3); From 6adb895128ecbd1a5ebbcf3cee2168d66f42ba84 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Thu, 30 Nov 2023 00:42:43 +0100 Subject: [PATCH 2/2] Add @internal to FormatsCompilerPass --- DependencyInjection/CompilerPass/FormatsCompilerPass.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DependencyInjection/CompilerPass/FormatsCompilerPass.php b/DependencyInjection/CompilerPass/FormatsCompilerPass.php index f0dcd90..033ed9a 100644 --- a/DependencyInjection/CompilerPass/FormatsCompilerPass.php +++ b/DependencyInjection/CompilerPass/FormatsCompilerPass.php @@ -15,6 +15,9 @@ use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; +/** + * @internal + */ class FormatsCompilerPass implements CompilerPassInterface { public function process(ContainerBuilder $container): void