From c978bf3389a97c1578b9e4379a23a228104d9ded Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Jan 2022 11:58:30 +0100 Subject: update to 1.23.2 --- composer.json | 6 +++--- php-symfony-polyfill.spec | 11 +++++++---- src/Ctype/composer.json | 3 +++ src/Iconv/composer.json | 3 +++ src/Mbstring/composer.json | 3 +++ src/Php81/composer.json | 36 ++++++++++++++++++++++++++++++++++++ src/Uuid/composer.json | 3 +++ 7 files changed, 58 insertions(+), 7 deletions(-) create mode 100644 src/Php81/composer.json diff --git a/composer.json b/composer.json index 0fefb03..1ccc2b6 100644 --- a/composer.json +++ b/composer.json @@ -19,9 +19,9 @@ "php": ">=7.1" }, "require-dev": { - "symfony/intl": "^4.4|^5.0", - "symfony/phpunit-bridge": "^5.3", - "symfony/var-dumper": "^4.4|^5.1" + "symfony/intl": "^4.4|^5.0|^6.0", + "symfony/phpunit-bridge": "^5.3|^6.0", + "symfony/var-dumper": "^4.4|^5.1|^6.0" }, "replace": { "symfony/polyfill-apcu": "self.version", diff --git a/php-symfony-polyfill.spec b/php-symfony-polyfill.spec index 78e8810..016105c 100644 --- a/php-symfony-polyfill.spec +++ b/php-symfony-polyfill.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-symfony-polyfill # -# Copyright (c) 2015-2020 Shawn Iwinski +# Copyright (c) 2015-2022 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner symfony %global github_name polyfill -%global github_version 1.23.1 -%global github_commit 163f6bb9f9f151fa74f245077636b78e2560487e +%global github_version 1.23.2 +%global github_commit eb4b8e7ce687a74466404300dafa7e8399a9aaa7 %global composer_vendor symfony %global composer_project polyfill @@ -142,7 +142,7 @@ EOF : Upstream tests RETURN_CODE=0 -for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74 php80; do +for cmdarg in "php %{phpunit}" php74 php80 php81; do if which $cmdarg; then set $cmdarg $1 ${2:-%{_bindir}/phpunit9} --verbose \ @@ -165,6 +165,9 @@ exit $RETURN_CODE %changelog +* Tue Jan 4 2022 Remi Collet - 1.23.2-1 +- update to 1.23.2 + * Thu Jul 29 2021 Remi Collet - 1.23.1-1 - update to 1.23.1 diff --git a/src/Ctype/composer.json b/src/Ctype/composer.json index f0621a3..ccb8e57 100644 --- a/src/Ctype/composer.json +++ b/src/Ctype/composer.json @@ -18,6 +18,9 @@ "require": { "php": ">=7.1" }, + "provide": { + "ext-ctype": "*" + }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Ctype\\": "" }, "files": [ "bootstrap.php" ] diff --git a/src/Iconv/composer.json b/src/Iconv/composer.json index 17483e0..a1bd3a0 100644 --- a/src/Iconv/composer.json +++ b/src/Iconv/composer.json @@ -18,6 +18,9 @@ "require": { "php": ">=7.1" }, + "provide": { + "ext-iconv": "*" + }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Iconv\\": "" }, "files": [ "bootstrap.php" ] diff --git a/src/Mbstring/composer.json b/src/Mbstring/composer.json index 2ed7a74..1fa21ca 100644 --- a/src/Mbstring/composer.json +++ b/src/Mbstring/composer.json @@ -18,6 +18,9 @@ "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" }, "files": [ "bootstrap.php" ] diff --git a/src/Php81/composer.json b/src/Php81/composer.json new file mode 100644 index 0000000..c39ccf4 --- /dev/null +++ b/src/Php81/composer.json @@ -0,0 +1,36 @@ +{ + "name": "symfony/polyfill-php81", + "type": "library", + "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions", + "keywords": ["polyfill", "shim", "compatibility", "portable"], + "homepage": "https://symfony.com", + "license": "MIT", + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "require": { + "php": ">=7.1" + }, + "autoload": { + "psr-4": { "Symfony\\Polyfill\\Php81\\": "" }, + "files": [ "bootstrap.php" ], + "classmap": [ "Resources/stubs" ] + }, + "minimum-stability": "dev", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + } +} diff --git a/src/Uuid/composer.json b/src/Uuid/composer.json index 20eacb0..b3a91f6 100644 --- a/src/Uuid/composer.json +++ b/src/Uuid/composer.json @@ -18,6 +18,9 @@ "require": { "php": ">=7.1" }, + "provide": { + "ext-uuid": "*" + }, "autoload": { "psr-4": { "Symfony\\Polyfill\\Uuid\\": "" }, "files": [ "bootstrap.php" ] -- cgit