|
1 | 1 | # Run these steps to update this file: |
2 | | -sed -i 's/ *"\*\*\/Tests\/"//' composer.json |
| 2 | +sed -i 's/ *"\*\*\/Tests\/",//' composer.json |
3 | 3 | composer u -o |
4 | 4 | SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php |
5 | 5 | head=$(sed '/^diff /Q' .github/expected-missing-return-types.diff) |
@@ -7063,7 +7063,7 @@ diff --git a/src/Symfony/Component/HttpClient/DecoratorTrait.php b/src/Symfony/C |
7063 | 7063 | diff --git a/src/Symfony/Component/HttpClient/HttpClientTrait.php b/src/Symfony/Component/HttpClient/HttpClientTrait.php |
7064 | 7064 | --- a/src/Symfony/Component/HttpClient/HttpClientTrait.php |
7065 | 7065 | +++ b/src/Symfony/Component/HttpClient/HttpClientTrait.php |
7066 | | -@@ -679,5 +679,5 @@ trait HttpClientTrait |
| 7066 | +@@ -685,5 +685,5 @@ trait HttpClientTrait |
7067 | 7067 | * @return string |
7068 | 7068 | */ |
7069 | 7069 | - private static function removeDotSegments(string $path) |
@@ -8457,28 +8457,28 @@ diff --git a/src/Symfony/Component/HttpKernel/HttpCache/Esi.php b/src/Symfony/Co |
8457 | 8457 | diff --git a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php |
8458 | 8458 | --- a/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php |
8459 | 8459 | +++ b/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php |
8460 | | -@@ -246,5 +246,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
| 8460 | +@@ -248,5 +248,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
8461 | 8461 | * @return void |
8462 | 8462 | */ |
8463 | 8463 | - public function terminate(Request $request, Response $response) |
8464 | 8464 | + public function terminate(Request $request, Response $response): void |
8465 | 8465 | { |
8466 | 8466 | // Do not call any listeners in case of a cache hit. |
8467 | | -@@ -466,5 +466,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
| 8467 | +@@ -468,5 +468,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
8468 | 8468 | * @return Response |
8469 | 8469 | */ |
8470 | 8470 | - protected function forward(Request $request, bool $catch = false, ?Response $entry = null) |
8471 | 8471 | + protected function forward(Request $request, bool $catch = false, ?Response $entry = null): Response |
8472 | 8472 | { |
8473 | 8473 | $this->surrogate?->addSurrogateCapability($request); |
8474 | | -@@ -600,5 +600,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
| 8474 | +@@ -602,5 +602,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
8475 | 8475 | * @throws \Exception |
8476 | 8476 | */ |
8477 | 8477 | - protected function store(Request $request, Response $response) |
8478 | 8478 | + protected function store(Request $request, Response $response): void |
8479 | 8479 | { |
8480 | 8480 | try { |
8481 | | -@@ -678,5 +678,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
| 8481 | +@@ -680,5 +680,5 @@ class HttpCache implements HttpKernelInterface, TerminableInterface |
8482 | 8482 | * @return void |
8483 | 8483 | */ |
8484 | 8484 | - protected function processResponseBody(Request $request, Response $response) |
@@ -9943,7 +9943,7 @@ diff --git a/src/Symfony/Component/Mime/Part/TextPart.php b/src/Symfony/Componen |
9943 | 9943 | diff --git a/src/Symfony/Component/Mime/RawMessage.php b/src/Symfony/Component/Mime/RawMessage.php |
9944 | 9944 | --- a/src/Symfony/Component/Mime/RawMessage.php |
9945 | 9945 | +++ b/src/Symfony/Component/Mime/RawMessage.php |
9946 | | -@@ -97,5 +97,5 @@ class RawMessage |
| 9946 | +@@ -100,5 +100,5 @@ class RawMessage |
9947 | 9947 | * @throws LogicException if the message is not valid |
9948 | 9948 | */ |
9949 | 9949 | - public function ensureValidity() |
@@ -10147,7 +10147,7 @@ diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php b/src/Sym |
10147 | 10147 | - public function setValue(object|array &$objectOrArray, string|PropertyPathInterface $propertyPath, mixed $value) |
10148 | 10148 | + public function setValue(object|array &$objectOrArray, string|PropertyPathInterface $propertyPath, mixed $value): void |
10149 | 10149 | { |
10150 | | - if (\is_object($objectOrArray) && false === strpbrk((string) $propertyPath, '.[')) { |
| 10150 | + if (\is_object($objectOrArray) && (false === strpbrk((string) $propertyPath, '.[') || $objectOrArray instanceof \stdClass && property_exists($objectOrArray, $propertyPath))) { |
10151 | 10151 | diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php b/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php |
10152 | 10152 | --- a/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php |
10153 | 10153 | +++ b/src/Symfony/Component/PropertyAccess/PropertyAccessorInterface.php |
@@ -12808,7 +12808,7 @@ diff --git a/src/Symfony/Component/Validator/Constraints/HostnameValidator.php b |
12808 | 12808 | diff --git a/src/Symfony/Component/Validator/Constraints/IbanValidator.php b/src/Symfony/Component/Validator/Constraints/IbanValidator.php |
12809 | 12809 | --- a/src/Symfony/Component/Validator/Constraints/IbanValidator.php |
12810 | 12810 | +++ b/src/Symfony/Component/Validator/Constraints/IbanValidator.php |
12811 | | -@@ -167,5 +167,5 @@ class IbanValidator extends ConstraintValidator |
| 12811 | +@@ -171,5 +171,5 @@ class IbanValidator extends ConstraintValidator |
12812 | 12812 | * @return void |
12813 | 12813 | */ |
12814 | 12814 | - public function validate(mixed $value, Constraint $constraint) |
|
0 commit comments