@@ -69,7 +69,7 @@ diff --git a/src/Symfony/Bridge/Doctrine/DataCollector/DoctrineDataCollector.php
69
69
diff --git a/src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php b/src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php
70
70
--- a/src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php
71
71
+++ b/src/Symfony/Bridge/Doctrine/DataFixtures/ContainerAwareLoader.php
72
- @@ -40 ,5 +40 ,5 @@ class ContainerAwareLoader extends Loader
72
+ @@ -38 ,5 +38 ,5 @@ class ContainerAwareLoader extends Loader
73
73
* @return void
74
74
*/
75
75
- public function addFixture(FixtureInterface $fixture)
@@ -124,7 +124,7 @@ diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/AbstractDoctrineExt
124
124
diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php
125
125
--- a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php
126
126
+++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/DoctrineValidationPass.php
127
- @@ -32 ,5 +32 ,5 @@ class DoctrineValidationPass implements CompilerPassInterface
127
+ @@ -30 ,5 +30 ,5 @@ class DoctrineValidationPass implements CompilerPassInterface
128
128
* @return void
129
129
*/
130
130
- public function process(ContainerBuilder $container)
@@ -134,7 +134,7 @@ diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/Doctri
134
134
diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php
135
135
--- a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php
136
136
+++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterEventListenersAndSubscribersPass.php
137
- @@ -57 ,5 +57 ,5 @@ class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface
137
+ @@ -53 ,5 +53 ,5 @@ class RegisterEventListenersAndSubscribersPass implements CompilerPassInterface
138
138
* @return void
139
139
*/
140
140
- public function process(ContainerBuilder $container)
@@ -144,7 +144,7 @@ diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/Regist
144
144
diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php
145
145
--- a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php
146
146
+++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/RegisterMappingsPass.php
147
- @@ -134 ,5 +134 ,5 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
147
+ @@ -123 ,5 +123 ,5 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
148
148
* @return void
149
149
*/
150
150
- public function process(ContainerBuilder $container)
@@ -154,21 +154,21 @@ diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/CompilerPass/Regist
154
154
diff --git a/src/Symfony/Bridge/Doctrine/DependencyInjection/Security/UserProvider/EntityFactory.php b/src/Symfony/Bridge/Doctrine/DependencyInjection/Security/UserProvider/EntityFactory.php
155
155
--- a/src/Symfony/Bridge/Doctrine/DependencyInjection/Security/UserProvider/EntityFactory.php
156
156
+++ b/src/Symfony/Bridge/Doctrine/DependencyInjection/Security/UserProvider/EntityFactory.php
157
- @@ -37 ,5 +37 ,5 @@ class EntityFactory implements UserProviderFactoryInterface
157
+ @@ -34 ,5 +34 ,5 @@ class EntityFactory implements UserProviderFactoryInterface
158
158
* @return void
159
159
*/
160
160
- public function create(ContainerBuilder $container, string $id, array $config)
161
161
+ public function create(ContainerBuilder $container, string $id, array $config): void
162
162
{
163
163
$container
164
- @@ -50 ,5 +50 ,5 @@ class EntityFactory implements UserProviderFactoryInterface
164
+ @@ -47 ,5 +47 ,5 @@ class EntityFactory implements UserProviderFactoryInterface
165
165
* @return string
166
166
*/
167
167
- public function getKey()
168
168
+ public function getKey(): string
169
169
{
170
170
return $this->key;
171
- @@ -58 ,5 +58 ,5 @@ class EntityFactory implements UserProviderFactoryInterface
171
+ @@ -55 ,5 +55 ,5 @@ class EntityFactory implements UserProviderFactoryInterface
172
172
* @return void
173
173
*/
174
174
- public function addConfiguration(NodeDefinition $node)
@@ -242,14 +242,14 @@ diff --git a/src/Symfony/Bridge/Doctrine/Logger/DbalLogger.php b/src/Symfony/Bri
242
242
diff --git a/src/Symfony/Bridge/Doctrine/Messenger/DoctrineClearEntityManagerWorkerSubscriber.php b/src/Symfony/Bridge/Doctrine/Messenger/DoctrineClearEntityManagerWorkerSubscriber.php
243
243
--- a/src/Symfony/Bridge/Doctrine/Messenger/DoctrineClearEntityManagerWorkerSubscriber.php
244
244
+++ b/src/Symfony/Bridge/Doctrine/Messenger/DoctrineClearEntityManagerWorkerSubscriber.php
245
- @@ -34 ,5 +34 ,5 @@ class DoctrineClearEntityManagerWorkerSubscriber implements EventSubscriberInter
245
+ @@ -32 ,5 +32 ,5 @@ class DoctrineClearEntityManagerWorkerSubscriber implements EventSubscriberInter
246
246
* @return void
247
247
*/
248
248
- public function onWorkerMessageHandled()
249
249
+ public function onWorkerMessageHandled(): void
250
250
{
251
251
$this->clearEntityManagers();
252
- @@ -42 ,5 +42 ,5 @@ class DoctrineClearEntityManagerWorkerSubscriber implements EventSubscriberInter
252
+ @@ -40 ,5 +40 ,5 @@ class DoctrineClearEntityManagerWorkerSubscriber implements EventSubscriberInter
253
253
* @return void
254
254
*/
255
255
- public function onWorkerMessageFailed()
@@ -259,21 +259,21 @@ diff --git a/src/Symfony/Bridge/Doctrine/Messenger/DoctrineClearEntityManagerWor
259
259
diff --git a/src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php b/src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php
260
260
--- a/src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php
261
261
+++ b/src/Symfony/Bridge/Doctrine/Security/RememberMe/DoctrineTokenProvider.php
262
- @@ -72 ,5 +72 ,5 @@ class DoctrineTokenProvider implements TokenProviderInterface, TokenVerifierInte
262
+ @@ -70 ,5 +70 ,5 @@ class DoctrineTokenProvider implements TokenProviderInterface, TokenVerifierInte
263
263
* @return void
264
264
*/
265
265
- public function deleteTokenBySeries(string $series)
266
266
+ public function deleteTokenBySeries(string $series): void
267
267
{
268
268
$sql = 'DELETE FROM rememberme_token WHERE series=:series';
269
- @@ -85 ,5 +85 ,5 @@ class DoctrineTokenProvider implements TokenProviderInterface, TokenVerifierInte
269
+ @@ -83 ,5 +83 ,5 @@ class DoctrineTokenProvider implements TokenProviderInterface, TokenVerifierInte
270
270
* @return void
271
271
*/
272
272
- public function updateToken(string $series, #[\SensitiveParameter] string $tokenValue, \DateTime $lastUsed)
273
273
+ public function updateToken(string $series, #[\SensitiveParameter] string $tokenValue, \DateTime $lastUsed): void
274
274
{
275
275
$sql = 'UPDATE rememberme_token SET value=:value, lastUsed=:lastUsed WHERE series=:series';
276
- @@ -107 ,5 +107 ,5 @@ class DoctrineTokenProvider implements TokenProviderInterface, TokenVerifierInte
276
+ @@ -105 ,5 +105 ,5 @@ class DoctrineTokenProvider implements TokenProviderInterface, TokenVerifierInte
277
277
* @return void
278
278
*/
279
279
- public function createNewToken(PersistentTokenInterface $token)
@@ -300,7 +300,7 @@ diff --git a/src/Symfony/Bridge/Doctrine/Tests/Fixtures/LegacyQueryMock.php b/sr
300
300
diff --git a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php
301
301
--- a/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php
302
302
+++ b/src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php
303
- @@ -43 ,5 +43 ,5 @@ class UniqueEntityValidator extends ConstraintValidator
303
+ @@ -41 ,5 +41 ,5 @@ class UniqueEntityValidator extends ConstraintValidator
304
304
* @throws ConstraintDefinitionException
305
305
*/
306
306
- public function validate(mixed $entity, Constraint $constraint)
@@ -704,14 +704,14 @@ diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/Wor
704
704
diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
705
705
--- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
706
706
+++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
707
- @@ -211 ,5 +211 ,5 @@ class FrameworkExtension extends Extension
707
+ @@ -210 ,5 +210 ,5 @@ class FrameworkExtension extends Extension
708
708
* @throws LogicException
709
709
*/
710
710
- public function load(array $configs, ContainerBuilder $container)
711
711
+ public function load(array $configs, ContainerBuilder $container): void
712
712
{
713
713
$loader = new PhpFileLoader($container, new FileLocator(\dirname(__DIR__).'/Resources/config'));
714
- @@ -2954 ,5 +2954 ,5 @@ class FrameworkExtension extends Extension
714
+ @@ -2953 ,5 +2953 ,5 @@ class FrameworkExtension extends Extension
715
715
* @return void
716
716
*/
717
717
- public static function registerRateLimiter(ContainerBuilder $container, string $name, array $limiterConfig)
@@ -999,14 +999,14 @@ diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/User
999
999
diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
1000
1000
--- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
1001
1001
+++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php
1002
- @@ -82 ,5 +82 ,5 @@ class SecurityExtension extends Extension implements PrependExtensionInterface
1002
+ @@ -83 ,5 +83 ,5 @@ class SecurityExtension extends Extension implements PrependExtensionInterface
1003
1003
* @return void
1004
1004
*/
1005
1005
- public function prepend(ContainerBuilder $container)
1006
1006
+ public function prepend(ContainerBuilder $container): void
1007
1007
{
1008
1008
foreach ($this->getSortedFactories() as $factory) {
1009
- @@ -94 ,5 +94 ,5 @@ class SecurityExtension extends Extension implements PrependExtensionInterface
1009
+ @@ -95 ,5 +95 ,5 @@ class SecurityExtension extends Extension implements PrependExtensionInterface
1010
1010
* @return void
1011
1011
*/
1012
1012
- public function load(array $configs, ContainerBuilder $container)
@@ -4822,6 +4822,16 @@ diff --git a/src/Symfony/Component/ErrorHandler/BufferingLogger.php b/src/Symfon
4822
4822
+ public function __wakeup(): void
4823
4823
{
4824
4824
throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
4825
+ diff --git a/src/Symfony/Component/ErrorHandler/ErrorRenderer/FileLinkFormatter.php b/src/Symfony/Component/ErrorHandler/ErrorRenderer/FileLinkFormatter.php
4826
+ --- a/src/Symfony/Component/ErrorHandler/ErrorRenderer/FileLinkFormatter.php
4827
+ +++ b/src/Symfony/Component/ErrorHandler/ErrorRenderer/FileLinkFormatter.php
4828
+ @@ -52,5 +52,5 @@ class FileLinkFormatter
4829
+ * @return string|false
4830
+ */
4831
+ - public function format(string $file, int $line): string|bool
4832
+ + public function format(string $file, int $line): string|false
4833
+ {
4834
+ if ($fmt = $this->getFileLinkFormat()) {
4825
4835
diff --git a/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php b/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
4826
4836
--- a/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
4827
4837
+++ b/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
@@ -5654,7 +5664,7 @@ diff --git a/src/Symfony/Component/Form/ChoiceList/Factory/CachingFactoryDecorat
5654
5664
diff --git a/src/Symfony/Component/Form/Command/DebugCommand.php b/src/Symfony/Component/Form/Command/DebugCommand.php
5655
5665
--- a/src/Symfony/Component/Form/Command/DebugCommand.php
5656
5666
+++ b/src/Symfony/Component/Form/Command/DebugCommand.php
5657
- @@ -58 ,5 +58 ,5 @@ class DebugCommand extends Command
5667
+ @@ -59 ,5 +59 ,5 @@ class DebugCommand extends Command
5658
5668
* @return void
5659
5669
*/
5660
5670
- protected function configure()
@@ -7285,98 +7295,98 @@ diff --git a/src/Symfony/Component/HttpFoundation/ParameterBag.php b/src/Symfony
7285
7295
diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php
7286
7296
--- a/src/Symfony/Component/HttpFoundation/Request.php
7287
7297
+++ b/src/Symfony/Component/HttpFoundation/Request.php
7288
- @@ -272 ,5 +272 ,5 @@ class Request
7298
+ @@ -274 ,5 +274 ,5 @@ class Request
7289
7299
* @return void
7290
7300
*/
7291
7301
- public function initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null)
7292
7302
+ public function initialize(array $query = [], array $request = [], array $attributes = [], array $cookies = [], array $files = [], array $server = [], $content = null): void
7293
7303
{
7294
7304
$this->request = new InputBag($request);
7295
- @@ -432 ,5 +432 ,5 @@ class Request
7305
+ @@ -434 ,5 +434 ,5 @@ class Request
7296
7306
* @return void
7297
7307
*/
7298
7308
- public static function setFactory(?callable $callable)
7299
7309
+ public static function setFactory(?callable $callable): void
7300
7310
{
7301
7311
self::$requestFactory = $callable;
7302
- @@ -538 ,5 +538 ,5 @@ class Request
7312
+ @@ -540 ,5 +540 ,5 @@ class Request
7303
7313
* @return void
7304
7314
*/
7305
7315
- public function overrideGlobals()
7306
7316
+ public function overrideGlobals(): void
7307
7317
{
7308
7318
$this->server->set('QUERY_STRING', static::normalizeQueryString(http_build_query($this->query->all(), '', '&')));
7309
- @@ -580 ,5 +580 ,5 @@ class Request
7319
+ @@ -582 ,5 +582 ,5 @@ class Request
7310
7320
* @return void
7311
7321
*/
7312
7322
- public static function setTrustedProxies(array $proxies, int $trustedHeaderSet)
7313
7323
+ public static function setTrustedProxies(array $proxies, int $trustedHeaderSet): void
7314
7324
{
7315
7325
self::$trustedProxies = array_reduce($proxies, function ($proxies, $proxy) {
7316
- @@ -623 ,5 +623 ,5 @@ class Request
7326
+ @@ -625 ,5 +625 ,5 @@ class Request
7317
7327
* @return void
7318
7328
*/
7319
7329
- public static function setTrustedHosts(array $hostPatterns)
7320
7330
+ public static function setTrustedHosts(array $hostPatterns): void
7321
7331
{
7322
7332
self::$trustedHostPatterns = array_map(fn ($hostPattern) => sprintf('{%s}i', $hostPattern), $hostPatterns);
7323
- @@ -671 ,5 +671 ,5 @@ class Request
7333
+ @@ -673 ,5 +673 ,5 @@ class Request
7324
7334
* @return void
7325
7335
*/
7326
7336
- public static function enableHttpMethodParameterOverride()
7327
7337
+ public static function enableHttpMethodParameterOverride(): void
7328
7338
{
7329
7339
self::$httpMethodParameterOverride = true;
7330
- @@ -758 ,5 +758 ,5 @@ class Request
7340
+ @@ -760 ,5 +760 ,5 @@ class Request
7331
7341
* @return void
7332
7342
*/
7333
7343
- public function setSession(SessionInterface $session)
7334
7344
+ public function setSession(SessionInterface $session): void
7335
7345
{
7336
7346
$this->session = $session;
7337
- @@ -1181 ,5 +1181 ,5 @@ class Request
7347
+ @@ -1183 ,5 +1183 ,5 @@ class Request
7338
7348
* @return void
7339
7349
*/
7340
7350
- public function setMethod(string $method)
7341
7351
+ public function setMethod(string $method): void
7342
7352
{
7343
7353
$this->method = null;
7344
- @@ -1304 ,5 +1304 ,5 @@ class Request
7354
+ @@ -1306 ,5 +1306 ,5 @@ class Request
7345
7355
* @return void
7346
7356
*/
7347
7357
- public function setFormat(?string $format, string|array $mimeTypes)
7348
7358
+ public function setFormat(?string $format, string|array $mimeTypes): void
7349
7359
{
7350
7360
if (null === static::$formats) {
7351
- @@ -1336 ,5 +1336 ,5 @@ class Request
7361
+ @@ -1338 ,5 +1338 ,5 @@ class Request
7352
7362
* @return void
7353
7363
*/
7354
7364
- public function setRequestFormat(?string $format)
7355
7365
+ public function setRequestFormat(?string $format): void
7356
7366
{
7357
7367
$this->format = $format;
7358
- @@ -1368 ,5 +1368 ,5 @@ class Request
7368
+ @@ -1370 ,5 +1370 ,5 @@ class Request
7359
7369
* @return void
7360
7370
*/
7361
7371
- public function setDefaultLocale(string $locale)
7362
7372
+ public function setDefaultLocale(string $locale): void
7363
7373
{
7364
7374
$this->defaultLocale = $locale;
7365
- @@ -1390 ,5 +1390 ,5 @@ class Request
7375
+ @@ -1392 ,5 +1392 ,5 @@ class Request
7366
7376
* @return void
7367
7377
*/
7368
7378
- public function setLocale(string $locale)
7369
7379
+ public function setLocale(string $locale): void
7370
7380
{
7371
7381
$this->setPhpDefaultLocale($this->locale = $locale);
7372
- @@ -1747 ,5 +1747 ,5 @@ class Request
7382
+ @@ -1749 ,5 +1749 ,5 @@ class Request
7373
7383
* @return string
7374
7384
*/
7375
7385
- protected function prepareRequestUri()
7376
7386
+ protected function prepareRequestUri(): string
7377
7387
{
7378
7388
$requestUri = '';
7379
- @@ -1917 ,5 +1917 ,5 @@ class Request
7389
+ @@ -1919 ,5 +1919 ,5 @@ class Request
7380
7390
* @return void
7381
7391
*/
7382
7392
- protected static function initializeFormats()
@@ -8275,16 +8285,6 @@ diff --git a/src/Symfony/Component/HttpKernel/DataCollector/RouterDataCollector.
8275
8285
+ public function onKernelController(ControllerEvent $event): void
8276
8286
{
8277
8287
$this->controllers[$event->getRequest()] = $event->getController();
8278
- diff --git a/src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php b/src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php
8279
- --- a/src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php
8280
- +++ b/src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php
8281
- @@ -53,5 +53,5 @@ class FileLinkFormatter
8282
- * @return string|false
8283
- */
8284
- - public function format(string $file, int $line): string|bool
8285
- + public function format(string $file, int $line): string|false
8286
- {
8287
- if ($fmt = $this->getFileLinkFormat()) {
8288
8288
diff --git a/src/Symfony/Component/HttpKernel/DependencyInjection/AddAnnotatedClassesToCachePass.php b/src/Symfony/Component/HttpKernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
8289
8289
--- a/src/Symfony/Component/HttpKernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
8290
8290
+++ b/src/Symfony/Component/HttpKernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
@@ -10001,7 +10001,7 @@ diff --git a/src/Symfony/Component/Mime/Part/TextPart.php b/src/Symfony/Componen
10001
10001
diff --git a/src/Symfony/Component/Mime/RawMessage.php b/src/Symfony/Component/Mime/RawMessage.php
10002
10002
--- a/src/Symfony/Component/Mime/RawMessage.php
10003
10003
+++ b/src/Symfony/Component/Mime/RawMessage.php
10004
- @@ -58 ,5 +58 ,5 @@ class RawMessage
10004
+ @@ -76 ,5 +76 ,5 @@ class RawMessage
10005
10005
* @throws LogicException if the message is not valid
10006
10006
*/
10007
10007
- public function ensureValidity()
0 commit comments