Skip to content

Commit b0217c6

Browse files
nicolas-grekasfabpot
authored andcommitted
Bump minimum version of PHP to 8.1
1 parent 8b23089 commit b0217c6

File tree

418 files changed

+516
-1256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

418 files changed

+516
-1256
lines changed

.appveyor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ init:
1717

1818
install:
1919
- mkdir c:\php && cd c:\php
20-
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.0.2-Win32-vs16-x86.zip
21-
- 7z x php-8.0.2-Win32-vs16-x86.zip -y >nul
20+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.1.0-Win32-vs16-x86.zip
21+
- 7z x php-8.1.0-Win32-vs16-x86.zip -y >nul
2222
- cd ext
23-
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.21-8.0-ts-vs16-x86.zip
24-
- 7z x php_apcu-5.1.21-8.0-ts-vs16-x86.zip -y >nul
25-
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_redis-5.3.5-8.0-ts-vs16-x86.zip
26-
- 7z x php_redis-5.3.5-8.0-ts-vs16-x86.zip -y >nul
23+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.21-8.1-ts-vs16-x86.zip
24+
- 7z x php_apcu-5.1.21-8.1-ts-vs16-x86.zip -y >nul
25+
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_redis-5.3.7rc1-8.1-ts-vs16-x86.zip
26+
- 7z x php_redis-5.3.7rc1-8.1-ts-vs16-x86.zip -y >nul
2727
- cd ..
2828
- copy /Y php.ini-development php.ini-min
2929
- echo memory_limit=-1 >> php.ini-min

.github/expected-missing-return-types.diff

Lines changed: 38 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
# Run these steps to update this file:
22
sed -i 's/ *"\*\*\/Tests\/"//' composer.json
33
composer u -o
4-
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.0' php .github/patch-types.php
4+
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php
55
head=$(sed '/^diff /Q' .github/expected-missing-return-types.diff)
6-
(echo "$head" && echo && git diff -U2 composer.json src/) > .github/expected-missing-return-types.diff
6+
(echo "$head" && echo && git diff -U2 src/) > .github/expected-missing-return-types.diff
77
git checkout composer.json src/
88

9-
diff --git a/composer.json b/composer.json
10-
index c7b7eac4c7..2b60fb6a19 100644
11-
--- a/composer.json
12-
+++ b/composer.json
13-
@@ -180,5 +180,5 @@
14-
],
15-
"exclude-from-classmap": [
16-
- "**/Tests/"
17-
+
18-
]
19-
},
209
diff --git a/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php b/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
2110
index d68ae4c8b3..8e980a9e70 100644
2211
--- a/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
@@ -60,6 +49,17 @@ index 697e34cb77..9a1e4c5618 100644
6049
+ protected function filterResponse(object $response): Response
6150
{
6251
return $response;
52+
diff --git a/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php b/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php
53+
index 89d6adb70e..c569992efc 100644
54+
--- a/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php
55+
+++ b/src/Symfony/Component/Config/Definition/Builder/NodeBuilder.php
56+
@@ -108,5 +108,5 @@ class NodeBuilder implements NodeParentInterface
57+
* @return NodeDefinition&ParentNodeDefinitionInterface
58+
*/
59+
- public function end()
60+
+ public function end(): NodeDefinition&ParentNodeDefinitionInterface
61+
{
62+
return $this->parent;
6363
diff --git a/src/Symfony/Component/Config/Definition/ConfigurationInterface.php b/src/Symfony/Component/Config/Definition/ConfigurationInterface.php
6464
index 7b5d443fe6..d64ae0d024 100644
6565
--- a/src/Symfony/Component/Config/Definition/ConfigurationInterface.php
@@ -156,7 +156,7 @@ index 6b1c6c5fbe..bb80ed461e 100644
156156
+ public function isFresh(ResourceInterface $resource, int $timestamp): bool;
157157
}
158158
diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php
159-
index 0ed5649b8a..6c814bf82c 100644
159+
index c654b93790..ce744f5c6d 100644
160160
--- a/src/Symfony/Component/Console/Application.php
161161
+++ b/src/Symfony/Component/Console/Application.php
162162
@@ -218,5 +218,5 @@ class Application implements ResetInterface
@@ -209,17 +209,17 @@ index 0ed5649b8a..6c814bf82c 100644
209209
{
210210
foreach ($command->getHelperSet() as $helper) {
211211
diff --git a/src/Symfony/Component/Console/Command/Command.php b/src/Symfony/Component/Console/Command/Command.php
212-
index 0bd3426c07..b38caf989e 100644
212+
index e84307207a..bc503462c1 100644
213213
--- a/src/Symfony/Component/Console/Command/Command.php
214214
+++ b/src/Symfony/Component/Console/Command/Command.php
215-
@@ -171,5 +171,5 @@ class Command
215+
@@ -187,5 +187,5 @@ class Command
216216
* @return bool
217217
*/
218218
- public function isEnabled()
219219
+ public function isEnabled(): bool
220220
{
221221
return true;
222-
@@ -197,5 +197,5 @@ class Command
222+
@@ -213,5 +213,5 @@ class Command
223223
* @see setCode()
224224
*/
225225
- protected function execute(InputInterface $input, OutputInterface $output)
@@ -297,7 +297,7 @@ index c2824f4578..032f5c2318 100644
297297
{
298298
if (\is_array($value)) {
299299
diff --git a/src/Symfony/Component/DependencyInjection/Container.php b/src/Symfony/Component/DependencyInjection/Container.php
300-
index b9dd838898..3a8cb63eac 100644
300+
index f9820f5ede..d28a418429 100644
301301
--- a/src/Symfony/Component/DependencyInjection/Container.php
302302
+++ b/src/Symfony/Component/DependencyInjection/Container.php
303303
@@ -108,5 +108,5 @@ class Container implements ContainerInterface, ResetInterface
@@ -308,7 +308,7 @@ index b9dd838898..3a8cb63eac 100644
308308
{
309309
return $this->parameterBag->get($name);
310310
diff --git a/src/Symfony/Component/DependencyInjection/ContainerInterface.php b/src/Symfony/Component/DependencyInjection/ContainerInterface.php
311-
index aa5d6b317e..31ffbca4ef 100644
311+
index cad44026c0..14cd192e07 100644
312312
--- a/src/Symfony/Component/DependencyInjection/ContainerInterface.php
313313
+++ b/src/Symfony/Component/DependencyInjection/ContainerInterface.php
314314
@@ -53,5 +53,5 @@ interface ContainerInterface extends PsrContainerInterface
@@ -635,6 +635,17 @@ index 125b6eae50..ac327e8981 100644
635635
+ public function createLockFromKey(Key $key, ?float $ttl = 300.0, bool $autoRelease = true): SharedLockInterface
636636
{
637637
$lock = new Lock($key, $this->store, $ttl, $autoRelease);
638+
diff --git a/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/AmazonSqsTransport.php b/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/AmazonSqsTransport.php
639+
index 297fccbd3f..4c47d95b38 100644
640+
--- a/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/AmazonSqsTransport.php
641+
+++ b/src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/AmazonSqsTransport.php
642+
@@ -109,5 +109,5 @@ class AmazonSqsTransport implements TransportInterface, SetupableTransportInterf
643+
* @return MessageCountAwareInterface&ReceiverInterface
644+
*/
645+
- private function getReceiver(): ReceiverInterface
646+
+ private function getReceiver(): MessageCountAwareInterface&ReceiverInterface
647+
{
648+
return $this->receiver ??= new AmazonSqsReceiver($this->connection, $this->serializer);
638649
diff --git a/src/Symfony/Component/OptionsResolver/OptionsResolver.php b/src/Symfony/Component/OptionsResolver/OptionsResolver.php
639650
index 205c15b4cd..e93e460ed1 100644
640651
--- a/src/Symfony/Component/OptionsResolver/OptionsResolver.php
@@ -720,10 +731,10 @@ index fbb37d9f94..522e0487a9 100644
720731
+ public function isIndex(int $index): bool;
721732
}
722733
diff --git a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
723-
index cfffdb2f71..3e2261898a 100644
734+
index 972d169caa..0b6dae1abe 100644
724735
--- a/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
725736
+++ b/src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
726-
@@ -725,5 +725,5 @@ class PropertyAccessorTest extends TestCase
737+
@@ -743,5 +743,5 @@ class PropertyAccessorTest extends TestCase
727738
* @return mixed
728739
*/
729740
- public function getFoo()
@@ -923,7 +934,7 @@ index 7f86ed8d78..cf084423ec 100644
923934
{
924935
if (null !== $object = $this->extractObjectToPopulate($class, $context, self::OBJECT_TO_POPULATE)) {
925936
diff --git a/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php b/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
926-
index a8943113c4..2983dabd0f 100644
937+
index 1abdb634ce..d2e7f41562 100644
927938
--- a/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
928939
+++ b/src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
929940
@@ -138,5 +138,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
@@ -940,35 +951,35 @@ index a8943113c4..2983dabd0f 100644
940951
+ public function normalize(mixed $object, string $format = null, array $context = []): array|string|int|float|bool|\ArrayObject|null
941952
{
942953
if (!isset($context['cache_key'])) {
943-
@@ -279,5 +279,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
954+
@@ -280,5 +280,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
944955
* {@inheritdoc}
945956
*/
946957
- protected function instantiateObject(array &$data, string $class, array &$context, \ReflectionClass $reflectionClass, array|bool $allowedAttributes, string $format = null)
947958
+ protected function instantiateObject(array &$data, string $class, array &$context, \ReflectionClass $reflectionClass, array|bool $allowedAttributes, string $format = null): object
948959
{
949960
if ($this->classDiscriminatorResolver && $mapping = $this->classDiscriminatorResolver->getMappingForClass($class)) {
950-
@@ -341,5 +341,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
961+
@@ -342,5 +342,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
951962
* @return string[]
952963
*/
953964
- abstract protected function extractAttributes(object $object, string $format = null, array $context = []);
954965
+ abstract protected function extractAttributes(object $object, string $format = null, array $context = []): array;
955966

956967
/**
957-
@@ -348,5 +348,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
968+
@@ -349,5 +349,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
958969
* @return mixed
959970
*/
960971
- abstract protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []);
961972
+ abstract protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []): mixed;
962973

963974
/**
964-
@@ -355,5 +355,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
975+
@@ -356,5 +356,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
965976
* @param array $context
966977
*/
967978
- public function supportsDenormalization(mixed $data, string $type, string $format = null /*, array $context = [] */)
968979
+ public function supportsDenormalization(mixed $data, string $type, string $format = null /*, array $context = [] */): bool
969980
{
970981
return class_exists($type) || (interface_exists($type, false) && $this->classDiscriminatorResolver && null !== $this->classDiscriminatorResolver->getMappingForClass($type));
971-
@@ -363,5 +363,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
982+
@@ -364,5 +364,5 @@ abstract class AbstractObjectNormalizer extends AbstractNormalizer
972983
* {@inheritdoc}
973984
*/
974985
- public function denormalize(mixed $data, string $type, string $format = null, array $context = [])

.github/workflows/integration-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
php: ['8.0']
23+
php: ['8.1']
2424

2525
services:
2626
postgres:
@@ -129,7 +129,7 @@ jobs:
129129
uses: shivammathur/setup-php@v2
130130
with:
131131
coverage: "none"
132-
extensions: "json,couchbase,memcached,mongodb-1.10.0,redis-5.3.4,rdkafka,xsl,ldap"
132+
extensions: "json,couchbase,memcached,mongodb-1.12.0,redis-5.3.4,rdkafka,xsl,ldap"
133133
ini-values: date.timezone=Europe/Paris,memory_limit=-1,default_socket_timeout=10,session.gc_probability=0,apc.enable_cli=1,zend.assertions=1
134134
php-version: "${{ matrix.php }}"
135135
tools: pecl
@@ -153,7 +153,7 @@ jobs:
153153
echo COMPOSER_ROOT_VERSION=$COMPOSER_ROOT_VERSION >> $GITHUB_ENV
154154
155155
echo "::group::composer update"
156-
composer require --dev --no-update mongodb/mongodb:"1.9.1@dev|^1.9.1@stable"
156+
composer require --dev --no-update mongodb/mongodb:"^1.11"
157157
composer update --no-progress --ansi
158158
echo "::endgroup::"
159159
@@ -176,11 +176,11 @@ jobs:
176176
POSTGRES_HOST: localhost
177177

178178
#- name: Run HTTP push tests
179-
# if: matrix.php == '8.0'
179+
# if: matrix.php == '8.1'
180180
# run: |
181181
# [ -d .phpunit ] && mv .phpunit .phpunit.bak
182182
# wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/vulcain_0.1.3_Linux_x86_64.tar.gz -O - | tar xz && mv vulcain /usr/local/bin
183-
# docker run --rm -e COMPOSER_ROOT_VERSION -v $(pwd):/app -v $(which composer):/usr/local/bin/composer -v $(which vulcain):/usr/local/bin/vulcain -w /app php:8.0-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
183+
# docker run --rm -e COMPOSER_ROOT_VERSION -v $(pwd):/app -v $(which composer):/usr/local/bin/composer -v $(which vulcain):/usr/local/bin/vulcain -w /app php:8.1-alpine ./phpunit src/Symfony/Component/HttpClient/Tests/CurlHttpClientTest.php --filter testHttp2Push
184184
# sudo rm -rf .phpunit
185185
# [ -d .phpunit.bak ] && mv .phpunit.bak .phpunit
186186

.github/workflows/intl-data-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
coverage: "none"
4747
extensions: "zip,intl-${{env.SYMFONY_ICU_VERSION}}"
4848
ini-values: "memory_limit=-1"
49-
php-version: "8.0"
49+
php-version: "8.1"
5050

5151
- name: Install dependencies
5252
run: |

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2
2222
with:
23-
php-version: '8.0'
23+
php-version: '8.1'
2424
extensions: "json,couchbase,memcached,mongodb,redis,xsl,ldap,dom"
2525
ini-values: "memory_limit=-1"
2626
coverage: none

.github/workflows/unit-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix:
2525
include:
2626
- php: '8.1'
27-
- php: '8.0'
27+
- php: '8.1'
2828
mode: high-deps
2929
- php: '8.1'
3030
mode: low-deps
@@ -144,8 +144,8 @@ jobs:
144144
patch -sp1 < .github/expected-missing-return-types.diff
145145
git add .
146146
composer install -q --optimize-autoloader
147-
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.0' php .github/patch-types.php
148-
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.0' php .github/patch-types.php # ensure the script is idempotent
147+
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php
148+
SYMFONY_PATCH_TYPE_DECLARATIONS='force=2&php=8.1' php .github/patch-types.php # ensure the script is idempotent
149149
git diff --exit-code
150150
151151
- name: Run tests
@@ -222,12 +222,12 @@ jobs:
222222
script -e -c './phpunit --group tty' /dev/null
223223
224224
- name: Run tests with SIGCHLD enabled PHP
225-
if: "matrix.php == '8.0' && ! matrix.mode"
225+
if: "matrix.php == '8.1' && ! matrix.mode"
226226
run: |
227227
mkdir build
228228
cd build
229-
wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.0.2-pcntl-sigchild.tar.bz2
230-
tar -xjf php-8.0.2-pcntl-sigchild.tar.bz2
229+
wget -q https://github.com/symfony/binary-utils/releases/download/v0.1/php-8.1.2-pcntl-sigchild.tar.bz2
230+
tar -xjf php-8.1.2-pcntl-sigchild.tar.bz2
231231
cd ..
232232
233233
./build/php/bin/php ./phpunit --colors=always src/Symfony/Component/Process

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"symfony/translation-implementation": "2.3|3.0"
3333
},
3434
"require": {
35-
"php": ">=8.0.2",
35+
"php": ">=8.1",
3636
"composer-runtime-api": ">=2.1",
3737
"ext-xml": "*",
3838
"friendsofphp/proxy-manager-lts": "^1.0.2",
@@ -51,7 +51,6 @@
5151
"symfony/polyfill-intl-idn": "^1.10",
5252
"symfony/polyfill-intl-normalizer": "~1.0",
5353
"symfony/polyfill-mbstring": "~1.0",
54-
"symfony/polyfill-php81": "^1.23",
5554
"symfony/polyfill-uuid": "^1.15"
5655
},
5756
"replace": {

src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function configureOptions(OptionsResolver $resolver)
156156
$choiceValue = function (Options $options) {
157157
// If the entity has a single-column ID, use that ID as value
158158
if ($options['id_reader'] instanceof IdReader && $options['id_reader']->isSingleId()) {
159-
return ChoiceList::value($this, [$options['id_reader'], 'getIdValue'], $options['id_reader']);
159+
return ChoiceList::value($this, $options['id_reader']->getIdValue(...), $options['id_reader']);
160160
}
161161

162162
// Otherwise, an incrementing integer is used as value automatically

src/Symfony/Bridge/Doctrine/Form/Type/EntityType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getQueryBuilderPartsForCachingHash(object $queryBuilder): ?array
8282

8383
return [
8484
$queryBuilder->getQuery()->getSQL(),
85-
array_map([$this, 'parameterToArray'], $queryBuilder->getParameters()->toArray()),
85+
array_map($this->parameterToArray(...), $queryBuilder->getParameters()->toArray()),
8686
];
8787
}
8888

src/Symfony/Bridge/Doctrine/Tests/DependencyInjection/DoctrineExtensionTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public function testFixManagersAutoMappingsWithTwoAutomappings()
7979

8080
$reflection = new \ReflectionClass(\get_class($this->extension));
8181
$method = $reflection->getMethod('fixManagersAutoMappings');
82-
$method->setAccessible(true);
8382

8483
$method->invoke($this->extension, $emConfigs, $bundles);
8584
}
@@ -168,7 +167,6 @@ public function testFixManagersAutoMappings(array $originalEm1, array $originalE
168167

169168
$reflection = new \ReflectionClass(\get_class($this->extension));
170169
$method = $reflection->getMethod('fixManagersAutoMappings');
171-
$method->setAccessible(true);
172170

173171
$newEmConfigs = $method->invoke($this->extension, $emConfigs, $bundles);
174172

@@ -186,7 +184,6 @@ public function testMappingTypeDetection()
186184

187185
$reflection = new \ReflectionClass(\get_class($this->extension));
188186
$method = $reflection->getMethod('detectMappingType');
189-
$method->setAccessible(true);
190187

191188
// The ordinary fixtures contain annotation
192189
$mappingType = $method->invoke($this->extension, __DIR__.'/../Fixtures', $container);
@@ -329,7 +326,6 @@ public function testBundleAutoMapping(string $bundle, string $expectedType, stri
329326

330327
$reflection = new \ReflectionClass(\get_class($this->extension));
331328
$method = $reflection->getMethod('getMappingDriverBundleConfigDefaults');
332-
$method->setAccessible(true);
333329

334330
$this->assertSame(
335331
[
@@ -347,8 +343,6 @@ protected function invokeLoadCacheDriver(array $objectManager, ContainerBuilder
347343
{
348344
$method = new \ReflectionMethod($this->extension, 'loadObjectManagerCacheDriver');
349345

350-
$method->setAccessible(true);
351-
352346
$method->invokeArgs($this->extension, [$objectManager, $container, $cacheName]);
353347
}
354348

0 commit comments

Comments
 (0)