summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-10-26 09:59:32 +0100
committerRemi Collet <remi@remirepo.net>2020-10-26 09:59:32 +0100
commit3f1aa9fe0621a3469b5cb2fe6e0814ee444c1483 (patch)
treed63167016bcc31747ff5ce77cf7ed01ce46d39f9
parent904725b5a81c7308a5f1f503603fb01e94ecfcad (diff)
update to 1.20.0
raise dependency on PHP 7.1 switch to phpunit9
-rw-r--r--composer.json17
-rw-r--r--php-symfony-polyfill.spec72
-rw-r--r--src/Apcu/composer.json4
-rw-r--r--src/Ctype/composer.json4
-rw-r--r--src/Iconv/composer.json4
-rw-r--r--src/Intl/Grapheme/composer.json4
-rw-r--r--src/Intl/Icu/composer.json4
-rw-r--r--src/Intl/Idn/composer.json5
-rw-r--r--src/Intl/MessageFormatter/composer.json4
-rw-r--r--src/Intl/Normalizer/composer.json4
-rw-r--r--src/Mbstring/composer.json4
-rw-r--r--src/Php54/composer.json11
-rw-r--r--src/Php55/composer.json11
-rw-r--r--src/Php56/composer.json11
-rw-r--r--src/Php70/composer.json12
-rw-r--r--src/Php71/composer.json10
-rw-r--r--src/Php72/composer.json4
-rw-r--r--src/Php73/composer.json4
-rw-r--r--src/Php74/composer.json4
-rw-r--r--src/Php80/composer.json4
-rw-r--r--src/Util/composer.json4
-rw-r--r--src/Uuid/composer.json5
-rw-r--r--src/Xml/composer.json6
23 files changed, 72 insertions, 140 deletions
diff --git a/composer.json b/composer.json
index 37f6eaf..7049f48 100644
--- a/composer.json
+++ b/composer.json
@@ -16,13 +16,11 @@
}
],
"require": {
- "php": ">=5.3.3",
- "ircmaxell/password-compat": "~1.0",
- "paragonie/random_compat": "~1.0|~2.0|~9.99",
+ "php": ">=7.1",
"symfony/intl": "~2.3|~3.0|~4.0|~5.0"
},
"require-dev": {
- "symfony/phpunit-bridge": "~3.2"
+ "symfony/phpunit-bridge": "^5"
},
"replace": {
"symfony/polyfill-apcu": "self.version",
@@ -53,11 +51,6 @@
"src/bootstrap.php",
"src/Apcu/bootstrap.php",
"src/Ctype/bootstrap.php",
- "src/Php54/bootstrap.php",
- "src/Php55/bootstrap.php",
- "src/Php56/bootstrap.php",
- "src/Php70/bootstrap.php",
- "src/Php71/bootstrap.php",
"src/Php72/bootstrap.php",
"src/Php73/bootstrap.php",
"src/Php74/bootstrap.php",
@@ -74,15 +67,13 @@
"src/Intl/MessageFormatter/Resources/stubs",
"src/Intl/Normalizer/Resources/stubs",
"src/Php80/Resources/stubs",
- "src/Php73/Resources/stubs",
- "src/Php70/Resources/stubs",
- "src/Php54/Resources/stubs"
+ "src/Php73/Resources/stubs"
]
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
}
}
}
diff --git a/php-symfony-polyfill.spec b/php-symfony-polyfill.spec
index dd741ca..d2e61d4 100644
--- a/php-symfony-polyfill.spec
+++ b/php-symfony-polyfill.spec
@@ -12,25 +12,14 @@
%global github_owner symfony
%global github_name polyfill
-%global github_version 1.19.0
-%global github_commit ac41071c7ef43e26e1231100fa9a316cebecdec7
+%global github_version 1.20.0
+%global github_commit 1601a7637ed1f2f6be3c9d906fa2b0d85a26744a
%global composer_vendor symfony
%global composer_project polyfill
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-# raise dependency on PHP 7 and ignore *_compat
-%global php_min_ver 7.0
-%else
-# "php": ">=5.3.3"
-%global php_min_ver 5.3.3
-# "ircmaxell/password-compat": "~1.0"
-%global ircmaxell_password_compat_min_ver 1.0
-%global ircmaxell_password_compat_max_ver 2.0
-# "paragonie/random_compat": "~1.0|~2.0|~9.99"
-%global paragonie_random_compat_min_ver 1.0
-%global paragonie_random_compat_max_ver 3.0
-%endif
+# "php": ">=7.1"
+%global php_min_ver 7.1
# Build using "--without tests" to disable tests
%bcond_without tests
@@ -51,15 +40,14 @@ BuildArch: noarch
BuildRequires: php-fedora-autoloader-devel
# Tests
%if %{with tests}
-BuildRequires: php-composer(phpunit/phpunit)
+%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9
+%global phpunit %{_bindir}/phpunit9
+%else
+%global phpunit %{_bindir}/phpunit8
+%endif
+BuildRequires: %{phpunit}
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
-%if 0%{?fedora} < 27 && 0%{?rhel} < 8
-BuildRequires: php-composer(ircmaxell/password-compat) < %{ircmaxell_password_compat_max_ver}
-BuildRequires: php-composer(ircmaxell/password-compat) >= %{ircmaxell_password_compat_min_ver}
-BuildRequires: php-composer(paragonie/random_compat) < %{paragonie_random_compat_max_ver}
-BuildRequires: php-composer(paragonie/random_compat) >= %{paragonie_random_compat_min_ver}
-%endif
## phpcompatinfo (computed from version 1.8.0)
BuildRequires: php-hash
BuildRequires: php-iconv
@@ -73,12 +61,6 @@ BuildRequires: php-spl
# composer.json
Requires: php(language) >= %{php_min_ver}
-%if 0%{?fedora} < 27 && 0%{?rhel} < 8
-Requires: php-composer(ircmaxell/password-compat) < %{ircmaxell_password_compat_max_ver}
-Requires: php-composer(ircmaxell/password-compat) >= %{ircmaxell_password_compat_min_ver}
-Requires: php-composer(paragonie/random_compat) < %{paragonie_random_compat_max_ver}
-Requires: php-composer(paragonie/random_compat) >= %{paragonie_random_compat_min_ver}
-%endif
# phpcompatinfo (computed from version 1.8.0)
Requires: php-hash
Requires: php-iconv
@@ -94,11 +76,6 @@ Requires: php-composer(fedora/autoloader)
Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-mbstring) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-util) = %{version}
-Provides: php-composer(%{composer_vendor}/%{composer_project}-php54) = %{version}
-Provides: php-composer(%{composer_vendor}/%{composer_project}-php55) = %{version}
-Provides: php-composer(%{composer_vendor}/%{composer_project}-php56) = %{version}
-Provides: php-composer(%{composer_vendor}/%{composer_project}-php70) = %{version}
-Provides: php-composer(%{composer_vendor}/%{composer_project}-php71) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-php72) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-php73) = %{version}
Provides: php-composer(%{composer_vendor}/%{composer_project}-php74) = %{version}
@@ -114,14 +91,9 @@ Autoloader: %{phpdir}/Symfony/Polyfill/autoload.php
%setup -qn %{github_name}-%{github_commit}
: Docs
-mkdir -p docs/{Mbstring,Php54,Php55,Php56,Php70,Php71,Php72,Php73,Php74,Php80,Util}
+mkdir -p docs/{Mbstring,Php72,Php73,Php74,Php80,Util}
mv *.md composer.json docs/
mv src/Mbstring/{*.md,composer.json} docs/Mbstring/
-mv src/Php54/{*.md,composer.json} docs/Php54/
-mv src/Php55/{*.md,composer.json} docs/Php55/
-mv src/Php56/{*.md,composer.json} docs/Php56/
-mv src/Php70/{*.md,composer.json} docs/Php70/
-mv src/Php71/{*.md,composer.json} docs/Php71/
mv src/Php72/{*.md,composer.json} docs/Php72/
mv src/Php73/{*.md,composer.json} docs/Php73/
mv src/Php74/{*.md,composer.json} docs/Php74/
@@ -143,19 +115,10 @@ cat <<'AUTOLOAD' | tee -a src/autoload.php
\Fedora\Autoloader\Dependencies::required(array(
__DIR__ . '/bootstrap.php',
__DIR__ . '/Mbstring/bootstrap.php',
- __DIR__ . '/Php54/bootstrap.php',
- __DIR__ . '/Php55/bootstrap.php',
- __DIR__ . '/Php56/bootstrap.php',
- __DIR__ . '/Php70/bootstrap.php',
- __DIR__ . '/Php71/bootstrap.php',
__DIR__ . '/Php72/bootstrap.php',
__DIR__ . '/Php73/bootstrap.php',
__DIR__ . '/Php74/bootstrap.php',
));
-\Fedora\Autoloader\Dependencies::optional(array(
- '%{phpdir}/password_compat/password.php',
- '%{phpdir}/random_compat/autoload.php',
-));
AUTOLOAD
@@ -170,11 +133,11 @@ cp -rp src/* %{buildroot}%{phpdir}/Symfony/Polyfill/
%if %{with tests}
: Upstream tests
RETURN_CODE=0
-PHPUNIT=$(which phpunit)
# TODO php80
-for PHP_EXEC in "" %{?rhel:php54 php55 php56 php70 php71} php72 php73 php74; do
- if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then
- $PHP_EXEC $PHPUNIT --verbose \
+for cmdarg in "php %{phpunit}" "php72 %{_bindir}/phpunit8" php73 php74; do
+ if which $cmdarg; then
+ set $cmdarg
+ $1 ${2:-%{_bindir}/phpunit9} --verbose \
--bootstrap %{buildroot}%{phpdir}/Symfony/Polyfill/autoload.php \
|| RETURN_CODE=1
fi
@@ -195,6 +158,11 @@ exit $RETURN_CODE
%changelog
+* Mon Oct 26 2020 Remi Collet <remi@remirepo.net> - 1.20.0-1
+- update to 1.20.0
+- raise dependency on PHP 7.1
+- switch to phpunit9
+
* Fri Oct 23 2020 Remi Collet <remi@remirepo.net> - 1.19.0-1
- update to 1.19.0
diff --git a/src/Apcu/composer.json b/src/Apcu/composer.json
index ba737e9..52779b9 100644
--- a/src/Apcu/composer.json
+++ b/src/Apcu/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Apcu\\": "" },
@@ -25,7 +25,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Ctype/composer.json b/src/Ctype/composer.json
index 90108c6..2088bb9 100644
--- a/src/Ctype/composer.json
+++ b/src/Ctype/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Ctype\\": "" },
@@ -28,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Iconv/composer.json b/src/Iconv/composer.json
index 4184b44..26f1e59 100644
--- a/src/Iconv/composer.json
+++ b/src/Iconv/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Iconv\\": "" },
@@ -28,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Intl/Grapheme/composer.json b/src/Intl/Grapheme/composer.json
index 47e5ff9..4d0bcb7 100644
--- a/src/Intl/Grapheme/composer.json
+++ b/src/Intl/Grapheme/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Intl\\Grapheme\\": "" },
@@ -28,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Intl/Icu/composer.json b/src/Intl/Icu/composer.json
index da89a7f..da274a3 100644
--- a/src/Intl/Icu/composer.json
+++ b/src/Intl/Icu/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3",
+ "php": ">=7.1",
"symfony/intl": "~2.3|~3.0|~4.0|~5.0"
},
"autoload": {
@@ -28,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Intl/Idn/composer.json b/src/Intl/Idn/composer.json
index af34193..a3bd0d7 100644
--- a/src/Intl/Idn/composer.json
+++ b/src/Intl/Idn/composer.json
@@ -20,9 +20,8 @@
}
],
"require": {
- "php": ">=5.3.3",
+ "php": ">=7.1",
"symfony/polyfill-intl-normalizer": "^1.10",
- "symfony/polyfill-php70": "^1.10",
"symfony/polyfill-php72": "^1.10"
},
"autoload": {
@@ -35,7 +34,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Intl/MessageFormatter/composer.json b/src/Intl/MessageFormatter/composer.json
index abe7d67..72a0991 100644
--- a/src/Intl/MessageFormatter/composer.json
+++ b/src/Intl/MessageFormatter/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Intl\\MessageFormatter\\": "" },
@@ -29,7 +29,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Intl/Normalizer/composer.json b/src/Intl/Normalizer/composer.json
index b0986a8..873abd3 100644
--- a/src/Intl/Normalizer/composer.json
+++ b/src/Intl/Normalizer/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Intl\\Normalizer\\": "" },
@@ -29,7 +29,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Mbstring/composer.json b/src/Mbstring/composer.json
index 06e6b31..ca4a839 100644
--- a/src/Mbstring/composer.json
+++ b/src/Mbstring/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" },
@@ -28,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php54/composer.json b/src/Php54/composer.json
index 5235f48..3cc0757 100644
--- a/src/Php54/composer.json
+++ b/src/Php54/composer.json
@@ -1,6 +1,6 @@
{
"name": "symfony/polyfill-php54",
- "type": "library",
+ "type": "metapackage",
"description": "Symfony polyfill backporting some PHP 5.4+ features to lower PHP versions",
"keywords": ["polyfill", "shim", "compatibility", "portable"],
"homepage": "https://symfony.com",
@@ -16,17 +16,12 @@
}
],
"require": {
- "php": ">=5.3.3"
- },
- "autoload": {
- "psr-4": { "Symfony\\Polyfill\\Php54\\": "" },
- "files": [ "bootstrap.php" ],
- "classmap": [ "Resources/stubs" ]
+ "php": ">=7.1"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php55/composer.json b/src/Php55/composer.json
index 05e8a0b..63cb1a2 100644
--- a/src/Php55/composer.json
+++ b/src/Php55/composer.json
@@ -1,6 +1,6 @@
{
"name": "symfony/polyfill-php55",
- "type": "library",
+ "type": "metapackage",
"description": "Symfony polyfill backporting some PHP 5.5+ features to lower PHP versions",
"keywords": ["polyfill", "shim", "compatibility", "portable"],
"homepage": "https://symfony.com",
@@ -16,17 +16,12 @@
}
],
"require": {
- "php": ">=5.3.3",
- "ircmaxell/password-compat": "~1.0"
- },
- "autoload": {
- "psr-4": { "Symfony\\Polyfill\\Php55\\": "" },
- "files": [ "bootstrap.php" ]
+ "php": ">=7.1"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php56/composer.json b/src/Php56/composer.json
index a60e567..b0b450f 100644
--- a/src/Php56/composer.json
+++ b/src/Php56/composer.json
@@ -1,6 +1,6 @@
{
"name": "symfony/polyfill-php56",
- "type": "library",
+ "type": "metapackage",
"description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions",
"keywords": ["polyfill", "shim", "compatibility", "portable"],
"homepage": "https://symfony.com",
@@ -16,17 +16,12 @@
}
],
"require": {
- "php": ">=5.3.3",
- "symfony/polyfill-util": "~1.0"
- },
- "autoload": {
- "psr-4": { "Symfony\\Polyfill\\Php56\\": "" },
- "files": [ "bootstrap.php" ]
+ "php": ">=7.1"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php70/composer.json b/src/Php70/composer.json
index 771a6f6..13c4154 100644
--- a/src/Php70/composer.json
+++ b/src/Php70/composer.json
@@ -1,6 +1,6 @@
{
"name": "symfony/polyfill-php70",
- "type": "library",
+ "type": "metapackage",
"description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions",
"keywords": ["polyfill", "shim", "compatibility", "portable"],
"homepage": "https://symfony.com",
@@ -16,18 +16,12 @@
}
],
"require": {
- "php": ">=5.3.3",
- "paragonie/random_compat": "~1.0|~2.0|~9.99"
- },
- "autoload": {
- "psr-4": { "Symfony\\Polyfill\\Php70\\": "" },
- "files": [ "bootstrap.php" ],
- "classmap": [ "Resources/stubs" ]
+ "php": ">=7.1"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php71/composer.json b/src/Php71/composer.json
index 535e843..e92a9d8 100644
--- a/src/Php71/composer.json
+++ b/src/Php71/composer.json
@@ -1,6 +1,6 @@
{
"name": "symfony/polyfill-php71",
- "type": "library",
+ "type": "metapackage",
"description": "Symfony polyfill backporting some PHP 7.1+ features to lower PHP versions",
"keywords": ["polyfill", "shim", "compatibility", "portable"],
"homepage": "https://symfony.com",
@@ -16,16 +16,12 @@
}
],
"require": {
- "php": ">=5.3.3"
- },
- "autoload": {
- "psr-4": { "Symfony\\Polyfill\\Php71\\": "" },
- "files": [ "bootstrap.php" ]
+ "php": ">=7.1"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php72/composer.json b/src/Php72/composer.json
index e295cab..994443a 100644
--- a/src/Php72/composer.json
+++ b/src/Php72/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Php72\\": "" },
@@ -25,7 +25,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php73/composer.json b/src/Php73/composer.json
index 5eaa9cf..6c9660d 100644
--- a/src/Php73/composer.json
+++ b/src/Php73/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Php73\\": "" },
@@ -26,7 +26,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php74/composer.json b/src/Php74/composer.json
index 2c188a4..32682a4 100644
--- a/src/Php74/composer.json
+++ b/src/Php74/composer.json
@@ -20,7 +20,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Php74\\": "" },
@@ -29,7 +29,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Php80/composer.json b/src/Php80/composer.json
index 51086cc..8ad4c31 100644
--- a/src/Php80/composer.json
+++ b/src/Php80/composer.json
@@ -20,7 +20,7 @@
}
],
"require": {
- "php": ">=7.0.8"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Php80\\": "" },
@@ -30,7 +30,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Util/composer.json b/src/Util/composer.json
index 3343c66..d06dab2 100644
--- a/src/Util/composer.json
+++ b/src/Util/composer.json
@@ -16,7 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Util\\": "" }
@@ -24,7 +24,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Uuid/composer.json b/src/Uuid/composer.json
index c037546..4c9c17e 100644
--- a/src/Uuid/composer.json
+++ b/src/Uuid/composer.json
@@ -16,8 +16,7 @@
}
],
"require": {
- "php": ">=5.3.3",
- "paragonie/random_compat": "~1.0|~2.0|~9.99"
+ "php": ">=7.1"
},
"autoload": {
"psr-4": { "Symfony\\Polyfill\\Uuid\\": "" },
@@ -29,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",
diff --git a/src/Xml/composer.json b/src/Xml/composer.json
index 4320462..43958ae 100644
--- a/src/Xml/composer.json
+++ b/src/Xml/composer.json
@@ -17,13 +17,13 @@
],
"abandoned": "symfony/polyfill-php72",
"require": {
- "php": ">=5.3.3",
- "symfony/polyfill-php72": "~1.4"
+ "php": ">=7.1",
+ "symfony/polyfill-php72": "^1.20"
},
"minimum-stability": "dev",
"extra": {
"branch-alias": {
- "dev-master": "1.18-dev"
+ "dev-main": "1.20-dev"
},
"thanks": {
"name": "symfony/polyfill",