Skip to content

Commit 6f213bf

Browse files
committed
chore: Nextcloud 33 is PHP 8.2+ only
| Production Changes | From | To | Compare | |------------------------|---------|---------|---------| | symfony/polyfill-php82 | v1.32.0 | REMOVED | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 96a5d7f commit 6f213bf

24 files changed

Lines changed: 14 additions & 944 deletions

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
"optimize-autoloader": true,
1010
"classmap-authoritative": true,
1111
"platform": {
12-
"php": "8.1.0"
12+
"php": "8.2.0"
1313
},
1414
"sort-packages": true,
1515
"allow-plugins": {
1616
"cweagans/composer-patches": true
1717
}
1818
},
1919
"require": {
20-
"php": "^8.1",
20+
"php": "^8.2",
2121
"ext-ctype": "*",
2222
"ext-mbstring": "*",
2323
"aws/aws-sdk-php": "^3.349",
@@ -69,6 +69,7 @@
6969
"replace": {
7070
"symfony/polyfill-php80": "*",
7171
"symfony/polyfill-php81": "*",
72+
"symfony/polyfill-php82": "*",
7273
"symfony/polyfill-ctype": "*",
7374
"symfony/polyfill-mbstring": "*"
7475
},

composer.lock

Lines changed: 3 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer/autoload_classmap.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
'AWS\\CRT\\NativeResource' => $vendorDir . '/aws/aws-crt-php/src/AWS/CRT/NativeResource.php',
3030
'AWS\\CRT\\OptionValue' => $vendorDir . '/aws/aws-crt-php/src/AWS/CRT/Options.php',
3131
'AWS\\CRT\\Options' => $vendorDir . '/aws/aws-crt-php/src/AWS/CRT/Options.php',
32-
'AllowDynamicProperties' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php',
3332
'Archive_Tar' => $vendorDir . '/pear/archive_tar/Archive/Tar.php',
3433
'Aws\\AbstractConfigurationProvider' => $vendorDir . '/aws/aws-sdk-php/src/AbstractConfigurationProvider.php',
3534
'Aws\\Api\\AbstractModel' => $vendorDir . '/aws/aws-sdk-php/src/Api/AbstractModel.php',
@@ -1550,12 +1549,6 @@
15501549
'Punic\\Script' => $vendorDir . '/punic/punic/src/Script.php',
15511550
'Punic\\Territory' => $vendorDir . '/punic/punic/src/Territory.php',
15521551
'Punic\\Unit' => $vendorDir . '/punic/punic/src/Unit.php',
1553-
'Random\\BrokenRandomEngineError' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php',
1554-
'Random\\CryptoSafeEngine' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php',
1555-
'Random\\Engine' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/Engine.php',
1556-
'Random\\Engine\\Secure' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php',
1557-
'Random\\RandomError' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php',
1558-
'Random\\RandomException' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php',
15591552
'SQLite3Exception' => $vendorDir . '/symfony/polyfill-php83/Resources/stubs/SQLite3Exception.php',
15601553
'Sabre\\CalDAV\\Backend\\AbstractBackend' => $vendorDir . '/sabre/dav/lib/CalDAV/Backend/AbstractBackend.php',
15611554
'Sabre\\CalDAV\\Backend\\BackendInterface' => $vendorDir . '/sabre/dav/lib/CalDAV/Backend/BackendInterface.php',
@@ -1933,8 +1926,6 @@
19331926
'SearchDAV\\XML\\QueryDiscoverResponse' => $vendorDir . '/icewind/searchdav/src/XML/QueryDiscoverResponse.php',
19341927
'SearchDAV\\XML\\Scope' => $vendorDir . '/icewind/searchdav/src/XML/Scope.php',
19351928
'SearchDAV\\XML\\SupportedQueryGrammar' => $vendorDir . '/icewind/searchdav/src/XML/SupportedQueryGrammar.php',
1936-
'SensitiveParameter' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php',
1937-
'SensitiveParameterValue' => $vendorDir . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php',
19381929
'SpomkyLabs\\Pki\\ASN1\\Component\\Identifier' => $vendorDir . '/spomky-labs/pki-framework/src/ASN1/Component/Identifier.php',
19391930
'SpomkyLabs\\Pki\\ASN1\\Component\\Length' => $vendorDir . '/spomky-labs/pki-framework/src/ASN1/Component/Length.php',
19401931
'SpomkyLabs\\Pki\\ASN1\\DERData' => $vendorDir . '/spomky-labs/pki-framework/src/ASN1/DERData.php',
@@ -2885,10 +2876,6 @@
28852876
'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\DisallowedRanges' => $vendorDir . '/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php',
28862877
'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\Regex' => $vendorDir . '/symfony/polyfill-intl-idn/Resources/unidata/Regex.php',
28872878
'Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php',
2888-
'Symfony\\Polyfill\\Php82\\NoDynamicProperties' => $vendorDir . '/symfony/polyfill-php82/NoDynamicProperties.php',
2889-
'Symfony\\Polyfill\\Php82\\Php82' => $vendorDir . '/symfony/polyfill-php82/Php82.php',
2890-
'Symfony\\Polyfill\\Php82\\Random\\Engine\\Secure' => $vendorDir . '/symfony/polyfill-php82/Random/Engine/Secure.php',
2891-
'Symfony\\Polyfill\\Php82\\SensitiveParameterValue' => $vendorDir . '/symfony/polyfill-php82/SensitiveParameterValue.php',
28922879
'Symfony\\Polyfill\\Php83\\Php83' => $vendorDir . '/symfony/polyfill-php83/Php83.php',
28932880
'Symfony\\Polyfill\\Php84\\Php84' => $vendorDir . '/symfony/polyfill-php84/Php84.php',
28942881
'Symfony\\Polyfill\\Uuid\\Uuid' => $vendorDir . '/symfony/polyfill-uuid/Uuid.php',

composer/autoload_files.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
'662a729f963d39afe703c9d9b7ab4a8c' => $vendorDir . '/symfony/polyfill-php83/bootstrap.php',
2626
'8a9dc1de0ca7e01f3e08231539562f61' => $vendorDir . '/aws/aws-sdk-php/src/functions.php',
2727
'decc78cc4436b1292c6c0d151b19445c' => $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
28-
'5897ea0ac4cccf14d323035e65887801' => $vendorDir . '/symfony/polyfill-php82/bootstrap.php',
2928
'9d2b9fc6db0f153a0a149fefb182415e' => $vendorDir . '/symfony/polyfill-php84/bootstrap.php',
3029
'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
3130
);

composer/autoload_psr4.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
'Symfony\\Polyfill\\Uuid\\' => array($vendorDir . '/symfony/polyfill-uuid'),
1919
'Symfony\\Polyfill\\Php84\\' => array($vendorDir . '/symfony/polyfill-php84'),
2020
'Symfony\\Polyfill\\Php83\\' => array($vendorDir . '/symfony/polyfill-php83'),
21-
'Symfony\\Polyfill\\Php82\\' => array($vendorDir . '/symfony/polyfill-php82'),
2221
'Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'),
2322
'Symfony\\Polyfill\\Intl\\Idn\\' => array($vendorDir . '/symfony/polyfill-intl-idn'),
2423
'Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'),

composer/autoload_static.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
2626
'662a729f963d39afe703c9d9b7ab4a8c' => __DIR__ . '/..' . '/symfony/polyfill-php83/bootstrap.php',
2727
'8a9dc1de0ca7e01f3e08231539562f61' => __DIR__ . '/..' . '/aws/aws-sdk-php/src/functions.php',
2828
'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
29-
'5897ea0ac4cccf14d323035e65887801' => __DIR__ . '/..' . '/symfony/polyfill-php82/bootstrap.php',
3029
'9d2b9fc6db0f153a0a149fefb182415e' => __DIR__ . '/..' . '/symfony/polyfill-php84/bootstrap.php',
3130
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
3231
);
@@ -73,7 +72,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
7372
'Symfony\\Polyfill\\Uuid\\' => 22,
7473
'Symfony\\Polyfill\\Php84\\' => 23,
7574
'Symfony\\Polyfill\\Php83\\' => 23,
76-
'Symfony\\Polyfill\\Php82\\' => 23,
7775
'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33,
7876
'Symfony\\Polyfill\\Intl\\Idn\\' => 26,
7977
'Symfony\\Polyfill\\Intl\\Grapheme\\' => 31,
@@ -237,10 +235,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
237235
array (
238236
0 => __DIR__ . '/..' . '/symfony/polyfill-php83',
239237
),
240-
'Symfony\\Polyfill\\Php82\\' =>
241-
array (
242-
0 => __DIR__ . '/..' . '/symfony/polyfill-php82',
243-
),
244238
'Symfony\\Polyfill\\Intl\\Normalizer\\' =>
245239
array (
246240
0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer',
@@ -556,7 +550,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
556550
'AWS\\CRT\\NativeResource' => __DIR__ . '/..' . '/aws/aws-crt-php/src/AWS/CRT/NativeResource.php',
557551
'AWS\\CRT\\OptionValue' => __DIR__ . '/..' . '/aws/aws-crt-php/src/AWS/CRT/Options.php',
558552
'AWS\\CRT\\Options' => __DIR__ . '/..' . '/aws/aws-crt-php/src/AWS/CRT/Options.php',
559-
'AllowDynamicProperties' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/AllowDynamicProperties.php',
560553
'Archive_Tar' => __DIR__ . '/..' . '/pear/archive_tar/Archive/Tar.php',
561554
'Aws\\AbstractConfigurationProvider' => __DIR__ . '/..' . '/aws/aws-sdk-php/src/AbstractConfigurationProvider.php',
562555
'Aws\\Api\\AbstractModel' => __DIR__ . '/..' . '/aws/aws-sdk-php/src/Api/AbstractModel.php',
@@ -2077,12 +2070,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
20772070
'Punic\\Script' => __DIR__ . '/..' . '/punic/punic/src/Script.php',
20782071
'Punic\\Territory' => __DIR__ . '/..' . '/punic/punic/src/Territory.php',
20792072
'Punic\\Unit' => __DIR__ . '/..' . '/punic/punic/src/Unit.php',
2080-
'Random\\BrokenRandomEngineError' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/BrokenRandomEngineError.php',
2081-
'Random\\CryptoSafeEngine' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/CryptoSafeEngine.php',
2082-
'Random\\Engine' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/Engine.php',
2083-
'Random\\Engine\\Secure' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/Engine/Secure.php',
2084-
'Random\\RandomError' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/RandomError.php',
2085-
'Random\\RandomException' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/Random/RandomException.php',
20862073
'SQLite3Exception' => __DIR__ . '/..' . '/symfony/polyfill-php83/Resources/stubs/SQLite3Exception.php',
20872074
'Sabre\\CalDAV\\Backend\\AbstractBackend' => __DIR__ . '/..' . '/sabre/dav/lib/CalDAV/Backend/AbstractBackend.php',
20882075
'Sabre\\CalDAV\\Backend\\BackendInterface' => __DIR__ . '/..' . '/sabre/dav/lib/CalDAV/Backend/BackendInterface.php',
@@ -2460,8 +2447,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
24602447
'SearchDAV\\XML\\QueryDiscoverResponse' => __DIR__ . '/..' . '/icewind/searchdav/src/XML/QueryDiscoverResponse.php',
24612448
'SearchDAV\\XML\\Scope' => __DIR__ . '/..' . '/icewind/searchdav/src/XML/Scope.php',
24622449
'SearchDAV\\XML\\SupportedQueryGrammar' => __DIR__ . '/..' . '/icewind/searchdav/src/XML/SupportedQueryGrammar.php',
2463-
'SensitiveParameter' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameter.php',
2464-
'SensitiveParameterValue' => __DIR__ . '/..' . '/symfony/polyfill-php82/Resources/stubs/SensitiveParameterValue.php',
24652450
'SpomkyLabs\\Pki\\ASN1\\Component\\Identifier' => __DIR__ . '/..' . '/spomky-labs/pki-framework/src/ASN1/Component/Identifier.php',
24662451
'SpomkyLabs\\Pki\\ASN1\\Component\\Length' => __DIR__ . '/..' . '/spomky-labs/pki-framework/src/ASN1/Component/Length.php',
24672452
'SpomkyLabs\\Pki\\ASN1\\DERData' => __DIR__ . '/..' . '/spomky-labs/pki-framework/src/ASN1/DERData.php',
@@ -3412,10 +3397,6 @@ class ComposerStaticInit2f23f73bc0cc116b4b1eee1521aa8652
34123397
'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\DisallowedRanges' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/Resources/unidata/DisallowedRanges.php',
34133398
'Symfony\\Polyfill\\Intl\\Idn\\Resources\\unidata\\Regex' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/Resources/unidata/Regex.php',
34143399
'Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php',
3415-
'Symfony\\Polyfill\\Php82\\NoDynamicProperties' => __DIR__ . '/..' . '/symfony/polyfill-php82/NoDynamicProperties.php',
3416-
'Symfony\\Polyfill\\Php82\\Php82' => __DIR__ . '/..' . '/symfony/polyfill-php82/Php82.php',
3417-
'Symfony\\Polyfill\\Php82\\Random\\Engine\\Secure' => __DIR__ . '/..' . '/symfony/polyfill-php82/Random/Engine/Secure.php',
3418-
'Symfony\\Polyfill\\Php82\\SensitiveParameterValue' => __DIR__ . '/..' . '/symfony/polyfill-php82/SensitiveParameterValue.php',
34193400
'Symfony\\Polyfill\\Php83\\Php83' => __DIR__ . '/..' . '/symfony/polyfill-php83/Php83.php',
34203401
'Symfony\\Polyfill\\Php84\\Php84' => __DIR__ . '/..' . '/symfony/polyfill-php84/Php84.php',
34213402
'Symfony\\Polyfill\\Uuid\\Uuid' => __DIR__ . '/..' . '/symfony/polyfill-uuid/Uuid.php',

composer/installed.json

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -5343,85 +5343,6 @@
53435343
],
53445344
"install-path": "../symfony/polyfill-intl-normalizer"
53455345
},
5346-
{
5347-
"name": "symfony/polyfill-php82",
5348-
"version": "v1.32.0",
5349-
"version_normalized": "1.32.0.0",
5350-
"source": {
5351-
"type": "git",
5352-
"url": "https://github.com/symfony/polyfill-php82.git",
5353-
"reference": "5d2ed36f7734637dacc025f179698031951b1692"
5354-
},
5355-
"dist": {
5356-
"type": "zip",
5357-
"url": "https://api.github.com/repos/symfony/polyfill-php82/zipball/5d2ed36f7734637dacc025f179698031951b1692",
5358-
"reference": "5d2ed36f7734637dacc025f179698031951b1692",
5359-
"shasum": ""
5360-
},
5361-
"require": {
5362-
"php": ">=7.2"
5363-
},
5364-
"time": "2024-09-09T11:45:10+00:00",
5365-
"type": "library",
5366-
"extra": {
5367-
"thanks": {
5368-
"url": "https://github.com/symfony/polyfill",
5369-
"name": "symfony/polyfill"
5370-
}
5371-
},
5372-
"installation-source": "dist",
5373-
"autoload": {
5374-
"files": [
5375-
"bootstrap.php"
5376-
],
5377-
"psr-4": {
5378-
"Symfony\\Polyfill\\Php82\\": ""
5379-
},
5380-
"classmap": [
5381-
"Resources/stubs"
5382-
]
5383-
},
5384-
"notification-url": "https://packagist.org/downloads/",
5385-
"license": [
5386-
"MIT"
5387-
],
5388-
"authors": [
5389-
{
5390-
"name": "Nicolas Grekas",
5391-
"email": "p@tchwork.com"
5392-
},
5393-
{
5394-
"name": "Symfony Community",
5395-
"homepage": "https://symfony.com/contributors"
5396-
}
5397-
],
5398-
"description": "Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions",
5399-
"homepage": "https://symfony.com",
5400-
"keywords": [
5401-
"compatibility",
5402-
"polyfill",
5403-
"portable",
5404-
"shim"
5405-
],
5406-
"support": {
5407-
"source": "https://github.com/symfony/polyfill-php82/tree/v1.32.0"
5408-
},
5409-
"funding": [
5410-
{
5411-
"url": "https://symfony.com/sponsor",
5412-
"type": "custom"
5413-
},
5414-
{
5415-
"url": "https://github.com/fabpot",
5416-
"type": "github"
5417-
},
5418-
{
5419-
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
5420-
"type": "tidelift"
5421-
}
5422-
],
5423-
"install-path": "../symfony/polyfill-php82"
5424-
},
54255346
{
54265347
"name": "symfony/polyfill-php83",
54275348
"version": "v1.32.0",

composer/installed.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -791,13 +791,10 @@
791791
),
792792
),
793793
'symfony/polyfill-php82' => array(
794-
'pretty_version' => 'v1.32.0',
795-
'version' => '1.32.0.0',
796-
'reference' => '5d2ed36f7734637dacc025f179698031951b1692',
797-
'type' => 'library',
798-
'install_path' => __DIR__ . '/../symfony/polyfill-php82',
799-
'aliases' => array(),
800794
'dev_requirement' => false,
795+
'replaced' => array(
796+
0 => '*',
797+
),
801798
),
802799
'symfony/polyfill-php83' => array(
803800
'pretty_version' => 'v1.32.0',

composer/platform_check.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
$issues = array();
66

7-
if (!(PHP_VERSION_ID >= 80100)) {
8-
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';
7+
if (!(PHP_VERSION_ID >= 80200)) {
8+
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.2.0". You are running ' . PHP_VERSION . '.';
99
}
1010

1111
if ($issues) {
@@ -19,7 +19,8 @@
1919
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
2020
}
2121
}
22-
throw new \RuntimeException(
23-
'Composer detected issues in your platform: ' . implode(' ', $issues)
22+
trigger_error(
23+
'Composer detected issues in your platform: ' . implode(' ', $issues),
24+
E_USER_ERROR
2425
);
2526
}

0 commit comments

Comments
 (0)