From fe7120e21a4006cead8934cde346d94548042e5c Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 20 May 2021 08:55:55 -0400 Subject: [PATCH] Add PHP 7.4 polyfill --- composer.json | 1 + composer.lock | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 19ec8dd4..6991a3b4 100755 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "symfony/polyfill-intl-icu": "*", "symfony/polyfill-intl-idn": "*", "symfony/polyfill-mbstring": "*", + "symfony/polyfill-php74": "*", "symfony/polyfill-php80": "*", "composer/composer": "~1.0", "composer/installers": "~1.0", diff --git a/composer.lock b/composer.lock index e3e633a9..5449d354 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fa18a53e516b3fc98e56fd5dfe8a6304", + "content-hash": "882504a81fb8c4daf946022b51b73f93", "packages": [ { "name": "akaunting/money", @@ -7995,6 +7995,86 @@ ], "time": "2021-01-07T16:49:33+00:00" }, + { + "name": "symfony/polyfill-php74", + "version": "v1.22.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php74.git", + "reference": "577e147350331efeb816897e004d85e6e765daaf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php74/zipball/577e147350331efeb816897e004d85e6e765daaf", + "reference": "577e147350331efeb816897e004d85e6e765daaf", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php74\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.4+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php74/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" + }, { "name": "symfony/polyfill-php80", "version": "v1.22.1",