@@ -6,10 +6,10 @@ head=$(sed '/^diff /Q' .github/expected-missing-return-types.diff)
6
6
(echo "$head" && echo && git diff -U2 composer.json src/) > .github/expected-missing-return-types.diff
7
7
8
8
diff --git a/composer.json b/composer.json
9
- index 1750d55ee2..c18494167a 100644
9
+ index 978743d34d..1f185f682c 100644
10
10
--- a/composer.json
11
11
+++ b/composer.json
12
- @@ -175 ,5 +175 ,5 @@
12
+ @@ -180 ,5 +180 ,5 @@
13
13
],
14
14
"exclude-from-classmap": [
15
15
- "**/Tests/"
@@ -155,7 +155,7 @@ index 6b1c6c5fbe..bb80ed461e 100644
155
155
+ public function isFresh(ResourceInterface $resource, int $timestamp): bool;
156
156
}
157
157
diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php
158
- index 0ed5649b8a..6c814bf82c 100644
158
+ index 09234f5eb5..24d995ad6d 100644
159
159
--- a/src/Symfony/Component/Console/Application.php
160
160
+++ b/src/Symfony/Component/Console/Application.php
161
161
@@ -218,5 +218,5 @@ class Application implements ResetInterface
@@ -208,7 +208,7 @@ index 0ed5649b8a..6c814bf82c 100644
208
208
{
209
209
foreach ($command->getHelperSet() as $helper) {
210
210
diff --git a/src/Symfony/Component/Console/Command/Command.php b/src/Symfony/Component/Console/Command/Command.php
211
- index 0bd3426c07..b38caf989e 100644
211
+ index e69bae0982..3390628d0d 100644
212
212
--- a/src/Symfony/Component/Console/Command/Command.php
213
213
+++ b/src/Symfony/Component/Console/Command/Command.php
214
214
@@ -171,5 +171,5 @@ class Command
@@ -261,7 +261,7 @@ index 024da1884e..943790e875 100644
261
261
262
262
/**
263
263
diff --git a/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php b/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php
264
- index 326d8d4f5f..e62124c7af 100644
264
+ index e9fa5a6808..016e9d893a 100644
265
265
--- a/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php
266
266
+++ b/src/Symfony/Component/DependencyInjection/Compiler/AbstractRecursivePass.php
267
267
@@ -71,5 +71,5 @@ abstract class AbstractRecursivePass implements CompilerPassInterface
@@ -383,7 +383,7 @@ index 479aeef880..272954c082 100644
383
383
+ public function getFunctions(): array;
384
384
}
385
385
diff --git a/src/Symfony/Component/Form/AbstractExtension.php b/src/Symfony/Component/Form/AbstractExtension.php
386
- index 79d61e8bc0..7f34d95d84 100644
386
+ index 5a077a42a6..62a234b116 100644
387
387
--- a/src/Symfony/Component/Form/AbstractExtension.php
388
388
+++ b/src/Symfony/Component/Form/AbstractExtension.php
389
389
@@ -114,5 +114,5 @@ abstract class AbstractExtension implements FormExtensionInterface
@@ -525,10 +525,10 @@ index 2f442cb536..d98909cfae 100644
525
525
+ public function warmUp(string $cacheDir): array;
526
526
}
527
527
diff --git a/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php b/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php
528
- index 3a3be3af49..971560c07b 100644
528
+ index 1289cf0ea9..dabeec97ee 100644
529
529
--- a/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php
530
530
+++ b/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php
531
- @@ -59 ,5 +59 ,5 @@ abstract class DataCollector implements DataCollectorInterface
531
+ @@ -58 ,5 +58 ,5 @@ abstract class DataCollector implements DataCollectorInterface
532
532
* @return callable[] The casters to add to the cloner
533
533
*/
534
534
- protected function getCasters()
@@ -546,7 +546,7 @@ index 1cb865fd66..f6f4efe7a7 100644
546
546
+ public function getName(): string;
547
547
}
548
548
diff --git a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
549
- index cf0e243c6b..292b907ea8 100644
549
+ index eeec55593f..c12df944fc 100644
550
550
--- a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
551
551
+++ b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
552
552
@@ -448,5 +448,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface
@@ -557,7 +557,7 @@ index cf0e243c6b..292b907ea8 100644
557
557
{
558
558
$this->surrogate?->addSurrogateCapability($request);
559
559
diff --git a/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php b/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php
560
- index 3ecc2c739c..d50834b6d9 100644
560
+ index fc70d8970d..9dde6d1f93 100644
561
561
--- a/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php
562
562
+++ b/src/Symfony/Component/HttpKernel/HttpKernelBrowser.php
563
563
@@ -61,5 +61,5 @@ class HttpKernelBrowser extends AbstractBrowser
@@ -711,6 +711,17 @@ index fbb37d9f94..522e0487a9 100644
711
711
- public function isIndex(int $index);
712
712
+ public function isIndex(int $index): bool;
713
713
}
714
+ diff --git a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
715
+ index cfffdb2f71..3e2261898a 100644
716
+ --- a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
717
+ +++ b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
718
+ @@ -725,5 +725,5 @@ class PropertyAccessorTest extends TestCase
719
+ * @return mixed
720
+ */
721
+ - public function getFoo()
722
+ + public function getFoo(): mixed
723
+ {
724
+ return $this->foo;
714
725
diff --git a/src/Symfony/Component/PropertyInfo/PropertyAccessExtractorInterface.php b/src/Symfony/Component/PropertyInfo/PropertyAccessExtractorInterface.php
715
726
index f9ee787130..61f8b6d5be 100644
716
727
--- a/src/Symfony/Component/PropertyInfo/PropertyAccessExtractorInterface.php
@@ -760,7 +771,7 @@ index 2dd0e5efbf..95e01d8955 100644
760
771
{
761
772
$name = str_replace('\\', '_', $class->name).'_'.$method->name;
762
773
diff --git a/src/Symfony/Component/Routing/Router.php b/src/Symfony/Component/Routing/Router.php
763
- index 83c10427a1..e113d4a194 100644
774
+ index be653e4f00..e46300d474 100644
764
775
--- a/src/Symfony/Component/Routing/Router.php
765
776
+++ b/src/Symfony/Component/Routing/Router.php
766
777
@@ -178,5 +178,5 @@ class Router implements RouterInterface, RequestMatcherInterface
@@ -802,7 +813,7 @@ index 7e401c3ff3..6b446ff376 100644
802
813
+ public function vote(TokenInterface $token, mixed $subject, array $attributes): int;
803
814
}
804
815
diff --git a/src/Symfony/Component/Security/Core/Exception/AuthenticationException.php b/src/Symfony/Component/Security/Core/Exception/AuthenticationException.php
805
- index 298bc78cd9..3ef4176dd8 100644
816
+ index 9e2b02b603..c6a753f1f7 100644
806
817
--- a/src/Symfony/Component/Security/Core/Exception/AuthenticationException.php
807
818
+++ b/src/Symfony/Component/Security/Core/Exception/AuthenticationException.php
808
819
@@ -89,5 +89,5 @@ class AuthenticationException extends RuntimeException
@@ -841,7 +852,7 @@ index 91271d14a3..100c2fb549 100644
841
852
+ public function start(Request $request, AuthenticationException $authException = null): Response;
842
853
}
843
854
diff --git a/src/Symfony/Component/Security/Http/Firewall.php b/src/Symfony/Component/Security/Http/Firewall.php
844
- index 0c313f8f09..acfc9f4b88 100644
855
+ index 546b77d22f..24038d4b94 100644
845
856
--- a/src/Symfony/Component/Security/Http/Firewall.php
846
857
+++ b/src/Symfony/Component/Security/Http/Firewall.php
847
858
@@ -106,5 +106,5 @@ class Firewall implements EventSubscriberInterface
@@ -879,7 +890,7 @@ index 84a84ad1f3..6f66b6d32a 100644
879
890
+ public function supportsDecoding(string $format): bool;
880
891
}
881
892
diff --git a/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php b/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php
882
- index b0a1f3218b..893fe59e2f 100644
893
+ index 7f86ed8d78..cf084423ec 100644
883
894
--- a/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php
884
895
+++ b/src/Symfony/Component/Serializer/Normalizer/AbstractNormalizer.php
885
896
@@ -223,5 +223,5 @@ abstract class AbstractNormalizer implements NormalizerInterface, DenormalizerIn
@@ -1017,31 +1028,31 @@ index 4c088b94f9..86107a636d 100644
1017
1028
+ abstract protected function extractFromDirectory(string|array $resource): iterable;
1018
1029
}
1019
1030
diff --git a/src/Symfony/Component/Validator/Constraint.php b/src/Symfony/Component/Validator/Constraint.php
1020
- index d6dcdf178f..0ab8d9c10e 100644
1031
+ index 46432f2f4c..47ac39d5e3 100644
1021
1032
--- a/src/Symfony/Component/Validator/Constraint.php
1022
1033
+++ b/src/Symfony/Component/Validator/Constraint.php
1023
- @@ -239 ,5 +239 ,5 @@ abstract class Constraint
1034
+ @@ -243 ,5 +243 ,5 @@ abstract class Constraint
1024
1035
* @see __construct()
1025
1036
*/
1026
1037
- public function getDefaultOption()
1027
1038
+ public function getDefaultOption(): ?string
1028
1039
{
1029
1040
return null;
1030
- @@ -253 ,5 +253 ,5 @@ abstract class Constraint
1041
+ @@ -257 ,5 +257 ,5 @@ abstract class Constraint
1031
1042
* @see __construct()
1032
1043
*/
1033
1044
- public function getRequiredOptions()
1034
1045
+ public function getRequiredOptions(): array
1035
1046
{
1036
1047
return [];
1037
- @@ -267 ,5 +267 ,5 @@ abstract class Constraint
1048
+ @@ -271 ,5 +271 ,5 @@ abstract class Constraint
1038
1049
* @return string
1039
1050
*/
1040
1051
- public function validatedBy()
1041
1052
+ public function validatedBy(): string
1042
1053
{
1043
1054
return static::class.'Validator';
1044
- @@ -281 ,5 +281 ,5 @@ abstract class Constraint
1055
+ @@ -285 ,5 +285 ,5 @@ abstract class Constraint
1045
1056
* @return string|string[] One or more constant values
1046
1057
*/
1047
1058
- public function getTargets()
0 commit comments