diff --git a/.github/expected-missing-return-types.diff b/.github/expected-missing-return-types.diff index 8147714717550..2f04b85fcaf69 100644 --- a/.github/expected-missing-return-types.diff +++ b/.github/expected-missing-return-types.diff @@ -108,7 +108,7 @@ index 83bfffaf27..acbd7e4bc7 100644 { $this->updateValidatorMappingFiles($container, 'xml', 'xml'); diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php -index 16a37b524a..24c2100206 100644 +index b6946cc4de..5b3ba9f915 100644 --- a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php +++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php @@ -54,5 +54,5 @@ class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface @@ -256,7 +256,7 @@ index 9d61be61bd..e89985de26 100644 { $sql = 'INSERT INTO rememberme_token (class, username, series, value, lastUsed) VALUES (:class, :username, :series, :value, :lastUsed)'; diff --git a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php -index 67575134b6..09a3926120 100644 +index a69bcad8ef..fba98b3cfb 100644 --- a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php +++ b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php @@ -43,5 +43,5 @@ class UniqueEntityValidator extends ConstraintValidator @@ -455,7 +455,7 @@ index 2b44c5ef8d..05b4428490 100644 { $visitor = $this->twig->getExtension(TranslationExtension::class)->getTranslationNodeVisitor(); diff --git a/src/Symfony/Bundle/DebugBundle/DebugBundle.php b/src/Symfony/Bundle/DebugBundle/DebugBundle.php -index a24321e229..1e9e893142 100644 +index 9782bf8e39..83090e6ed5 100644 --- a/src/Symfony/Bundle/DebugBundle/DebugBundle.php +++ b/src/Symfony/Bundle/DebugBundle/DebugBundle.php @@ -26,5 +26,5 @@ class DebugBundle extends Bundle @@ -465,14 +465,14 @@ index a24321e229..1e9e893142 100644 + public function boot(): void { if ($this->container->getParameter('kernel.debug')) { -@@ -51,5 +51,5 @@ class DebugBundle extends Bundle +@@ -56,5 +56,5 @@ class DebugBundle extends Bundle * @return void */ - public function build(ContainerBuilder $container) + public function build(ContainerBuilder $container): void { parent::build($container); -@@ -61,5 +61,5 @@ class DebugBundle extends Bundle +@@ -66,5 +66,5 @@ class DebugBundle extends Bundle * @return void */ - public function registerCommands(Application $application) @@ -648,10 +648,10 @@ index 6e7669a710..27517d34ae 100644 { if (!$container->hasDefinition('test.private_services_locator')) { diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php -index 9da5b91bb3..d7acf8040b 100644 +index a76b84ad83..7e71517edb 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/UnusedTagsPass.php -@@ -108,5 +108,5 @@ class UnusedTagsPass implements CompilerPassInterface +@@ -109,5 +109,5 @@ class UnusedTagsPass implements CompilerPassInterface * @return void */ - public function process(ContainerBuilder $container) @@ -670,17 +670,17 @@ index bda9ca9515..c0d1f91339 100644 { if (!$container->hasParameter('workflow.has_guard_listeners')) { diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php -index 36622ee23d..cd6a609053 100644 +index d209d9902b..92b9f508c4 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php -@@ -206,5 +206,5 @@ class FrameworkExtension extends Extension +@@ -211,5 +211,5 @@ class FrameworkExtension extends Extension * @throws LogicException */ - public function load(array $configs, ContainerBuilder $container) + public function load(array $configs, ContainerBuilder $container): void { $loader = new PhpFileLoader($container, new FileLocator(\dirname(__DIR__).'/Resources/config')); -@@ -2795,5 +2795,5 @@ class FrameworkExtension extends Extension +@@ -2890,5 +2890,5 @@ class FrameworkExtension extends Extension * @return void */ - public static function registerRateLimiter(ContainerBuilder $container, string $name, array $limiterConfig) @@ -822,7 +822,7 @@ index 08d7fd9213..8bacecce11 100644 { if ($container->has('security.expression_language')) { diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/AddSecurityVotersPass.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/AddSecurityVotersPass.php -index ccf474087a..f9e4b0622f 100644 +index 8a2bad79a1..324fd00970 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/AddSecurityVotersPass.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Compiler/AddSecurityVotersPass.php @@ -33,5 +33,5 @@ class AddSecurityVotersPass implements CompilerPassInterface @@ -1071,7 +1071,7 @@ index 2cbca705f9..42cfdb0ff0 100644 { parent::build($container); diff --git a/src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php b/src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php -index 5c3cff66fc..6c867b1e76 100644 +index 63dd68e91b..48889647a1 100644 --- a/src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php +++ b/src/Symfony/Bundle/TwigBundle/DependencyInjection/Compiler/ExtensionPass.php @@ -29,5 +29,5 @@ class ExtensionPass implements CompilerPassInterface @@ -1126,10 +1126,10 @@ index b3eec9ff60..742be71a64 100644 { $environment->getExtension(CoreExtension::class)->setDateFormat($this->dateFormat, $this->intervalFormat); diff --git a/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php b/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php -index 101dbf699a..81f5a7fc4c 100644 +index f257f60298..b76392370a 100644 --- a/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php +++ b/src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php -@@ -39,5 +39,5 @@ class TwigExtension extends Extension +@@ -40,5 +40,5 @@ class TwigExtension extends Extension * @return void */ - public function load(array $configs, ContainerBuilder $container) @@ -2702,7 +2702,7 @@ index 84dbef950c..5a38c8c28a 100644 { self::$formatters ??= self::initPlaceholderFormatters(); diff --git a/src/Symfony/Component/Console/Helper/QuestionHelper.php b/src/Symfony/Component/Console/Helper/QuestionHelper.php -index 40c6a65663..8a65738606 100644 +index d83bee17ef..548be8f3ce 100644 --- a/src/Symfony/Component/Console/Helper/QuestionHelper.php +++ b/src/Symfony/Component/Console/Helper/QuestionHelper.php @@ -93,5 +93,5 @@ class QuestionHelper extends Helper @@ -4250,7 +4250,7 @@ index 44df682ebc..e5957c6f57 100644 { $this->expressionLanguageProviders[] = $provider; diff --git a/src/Symfony/Component/DependencyInjection/ContainerInterface.php b/src/Symfony/Component/DependencyInjection/ContainerInterface.php -index d2f4c343a1..92771c9628 100644 +index f70a8a9a66..1bf83ae21f 100644 --- a/src/Symfony/Component/DependencyInjection/ContainerInterface.php +++ b/src/Symfony/Component/DependencyInjection/ContainerInterface.php @@ -34,5 +34,5 @@ interface ContainerInterface extends PsrContainerInterface @@ -4260,14 +4260,14 @@ index d2f4c343a1..92771c9628 100644 + public function set(string $id, ?object $service): void; /** -@@ -56,5 +56,5 @@ interface ContainerInterface extends PsrContainerInterface +@@ -62,5 +62,5 @@ interface ContainerInterface extends PsrContainerInterface * @throws ParameterNotFoundException if the parameter is not defined */ - public function getParameter(string $name); + public function getParameter(string $name): array|bool|string|int|float|\UnitEnum|null; public function hasParameter(string $name): bool; -@@ -63,4 +63,4 @@ interface ContainerInterface extends PsrContainerInterface +@@ -69,4 +69,4 @@ interface ContainerInterface extends PsrContainerInterface * @return void */ - public function setParameter(string $name, array|bool|string|int|float|\UnitEnum|null $value); @@ -4471,7 +4471,7 @@ index f4c6b29258..1402331f9e 100644 + public function instantiateProxy(ContainerInterface $container, Definition $definition, string $id, callable $realInstantiator): object; } diff --git a/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php b/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php -index c817f16422..0605b0a773 100644 +index 86543c1e85..4772c08c3d 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php +++ b/src/Symfony/Component/DependencyInjection/Loader/FileLoader.php @@ -99,5 +99,5 @@ abstract class FileLoader extends BaseFileLoader @@ -7319,10 +7319,10 @@ index 472437e465..1dfe39146b 100644 { if ($this->client instanceof ResetInterface) { diff --git a/src/Symfony/Component/HttpClient/HttpClientTrait.php b/src/Symfony/Component/HttpClient/HttpClientTrait.php -index c767ca81aa..51313be49f 100644 +index 48782153b4..f2bbcf288d 100644 --- a/src/Symfony/Component/HttpClient/HttpClientTrait.php +++ b/src/Symfony/Component/HttpClient/HttpClientTrait.php -@@ -669,5 +669,5 @@ trait HttpClientTrait +@@ -679,5 +679,5 @@ trait HttpClientTrait * @return string */ - private static function removeDotSegments(string $path) @@ -7352,7 +7352,7 @@ index a87171d2ca..cec8a6f027 100644 { if ($this->client instanceof ResetInterface) { diff --git a/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php b/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php -index d29b1a34e7..1779a080d0 100644 +index cd716e590e..68a0479ef4 100644 --- a/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php +++ b/src/Symfony/Component/HttpFoundation/BinaryFileResponse.php @@ -362,5 +362,5 @@ class BinaryFileResponse extends Response @@ -7399,7 +7399,7 @@ index b74a02e2e1..51b4f7f1c3 100644 { foreach ($files as $key => $file) { diff --git a/src/Symfony/Component/HttpFoundation/HeaderBag.php b/src/Symfony/Component/HttpFoundation/HeaderBag.php -index 081f26a2d0..7ed43e2c07 100644 +index c49a239726..440f3297de 100644 --- a/src/Symfony/Component/HttpFoundation/HeaderBag.php +++ b/src/Symfony/Component/HttpFoundation/HeaderBag.php @@ -90,5 +90,5 @@ class HeaderBag implements \IteratorAggregate, \Countable @@ -8539,7 +8539,7 @@ index 12d468cf04..2ca89c128e 100644 + abstract protected function loadInternal(array $mergedConfig, ContainerBuilder $container): void; } diff --git a/src/Symfony/Component/HttpKernel/DependencyInjection/ControllerArgumentValueResolverPass.php b/src/Symfony/Component/HttpKernel/DependencyInjection/ControllerArgumentValueResolverPass.php -index dff3e248ae..381db9aa8f 100644 +index d3b157418e..8bddae02da 100644 --- a/src/Symfony/Component/HttpKernel/DependencyInjection/ControllerArgumentValueResolverPass.php +++ b/src/Symfony/Component/HttpKernel/DependencyInjection/ControllerArgumentValueResolverPass.php @@ -34,5 +34,5 @@ class ControllerArgumentValueResolverPass implements CompilerPassInterface @@ -8667,7 +8667,7 @@ index 723e758cd0..f3a5618e3d 100644 { $request = $event->getRequest(); diff --git a/src/Symfony/Component/HttpKernel/EventListener/DumpListener.php b/src/Symfony/Component/HttpKernel/EventListener/DumpListener.php -index 4a40909157..61edeb266c 100644 +index b10bd37f43..e3a50b3852 100644 --- a/src/Symfony/Component/HttpKernel/EventListener/DumpListener.php +++ b/src/Symfony/Component/HttpKernel/EventListener/DumpListener.php @@ -40,5 +40,5 @@ class DumpListener implements EventSubscriberInterface @@ -8725,7 +8725,7 @@ index 62b21e6d4e..67984f7e75 100644 { $this->renderers[$renderer->getName()] = $renderer; diff --git a/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php b/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php -index 3650d1700d..055b57fc77 100644 +index d563182f96..2a041ab414 100644 --- a/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php +++ b/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php @@ -107,5 +107,5 @@ class InlineFragmentRenderer extends RoutableFragmentRenderer @@ -8747,7 +8747,7 @@ index 47027233a7..2be5cfc7de 100644 { $this->fragmentPath = $path; diff --git a/src/Symfony/Component/HttpKernel/HttpCache/AbstractSurrogate.php b/src/Symfony/Component/HttpKernel/HttpCache/AbstractSurrogate.php -index ce34979bbd..27d49f6a8c 100644 +index 95518bed2b..2f7d5ee3b5 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/AbstractSurrogate.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/AbstractSurrogate.php @@ -63,5 +63,5 @@ abstract class AbstractSurrogate implements SurrogateInterface @@ -8765,7 +8765,7 @@ index ce34979bbd..27d49f6a8c 100644 { if (!$response->headers->has('Surrogate-Control')) { diff --git a/src/Symfony/Component/HttpKernel/HttpCache/Esi.php b/src/Symfony/Component/HttpKernel/HttpCache/Esi.php -index d1761ccaae..dfdf0f4e7c 100644 +index 5db840a802..c16398a8ea 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/Esi.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/Esi.php @@ -36,5 +36,5 @@ class Esi extends AbstractSurrogate @@ -8776,31 +8776,31 @@ index d1761ccaae..dfdf0f4e7c 100644 { if (str_contains($response->getContent(), 'surrogate?->addSurrogateCapability($request); -@@ -598,5 +598,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface +@@ -600,5 +600,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface * @throws \Exception */ - protected function store(Request $request, Response $response) + protected function store(Request $request, Response $response): void { try { -@@ -680,5 +680,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface +@@ -678,5 +678,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface * @return void */ - protected function processResponseBody(Request $request, Response $response) @@ -8808,7 +8808,7 @@ index 374fba8af5..6ce316addd 100644 { if ($this->surrogate?->needsParsing($response)) { diff --git a/src/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategy.php b/src/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategy.php -index 1bdaab148a..7976d00605 100644 +index 57b5d21961..6ec129beb9 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategy.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/ResponseCacheStrategy.php @@ -58,5 +58,5 @@ class ResponseCacheStrategy implements ResponseCacheStrategyInterface @@ -8843,7 +8843,7 @@ index 33c8bd9412..8fe6df2512 100644 + public function update(Response $response): void; } diff --git a/src/Symfony/Component/HttpKernel/HttpCache/Ssi.php b/src/Symfony/Component/HttpKernel/HttpCache/Ssi.php -index 45a9555264..f969a3684a 100644 +index b17c90ac60..86008d6933 100644 --- a/src/Symfony/Component/HttpKernel/HttpCache/Ssi.php +++ b/src/Symfony/Component/HttpKernel/HttpCache/Ssi.php @@ -30,5 +30,5 @@ class Ssi extends AbstractSurrogate @@ -8854,7 +8854,7 @@ index 45a9555264..f969a3684a 100644 { if (str_contains($response->getContent(), '
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: