Bump PHP version to 7.4 in the woocommerce/lib directory (#40098)

This commit is contained in:
Jeremy Pry 2023-09-12 17:38:04 -04:00 committed by GitHub
commit b37099ead3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 14 deletions

View File

@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Bump PHP version where it was missed in #39820.

View File

@ -4,7 +4,7 @@
"prefer-stable": true, "prefer-stable": true,
"minimum-stability": "dev", "minimum-stability": "dev",
"require": { "require": {
"php": ">=7.2" "php": ">=7.4"
}, },
"require-dev": { "require-dev": {
"league/container": "3.3.5", "league/container": "3.3.5",
@ -12,7 +12,7 @@
}, },
"config": { "config": {
"platform": { "platform": {
"php": "7.2" "php": "7.4"
} }
}, },
"scripts": { "scripts": {

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "ee5352d3dc7eff84b896ab4900209e53", "content-hash": "08afc0d13426146cf441a311818703f5",
"packages": [], "packages": [],
"packages-dev": [ "packages-dev": [
{ {
@ -88,20 +88,20 @@
}, },
{ {
"name": "psr/container", "name": "psr/container",
"version": "1.1.1", "version": "1.1.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/container.git", "url": "https://github.com/php-fig/container.git",
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
"reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.2.0" "php": ">=7.4.0"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -130,9 +130,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/php-fig/container/issues", "issues": "https://github.com/php-fig/container/issues",
"source": "https://github.com/php-fig/container/tree/1.1.1" "source": "https://github.com/php-fig/container/tree/1.1.2"
}, },
"time": "2021-03-05T17:36:06+00:00" "time": "2021-11-05T16:50:12+00:00"
} }
], ],
"aliases": [], "aliases": [],
@ -141,11 +141,11 @@
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=7.2" "php": ">=7.4"
}, },
"platform-dev": [], "platform-dev": [],
"platform-overrides": { "platform-overrides": {
"php": "7.2" "php": "7.4"
}, },
"plugin-api-version": "2.0.0" "plugin-api-version": "2.6.0"
} }

View File

@ -2,9 +2,11 @@
namespace Automattic\WooCommerce\Vendor\Psr\Container; namespace Automattic\WooCommerce\Vendor\Psr\Container;
use Throwable;
/** /**
* Base interface representing a generic exception in a container. * Base interface representing a generic exception in a container.
*/ */
interface ContainerExceptionInterface interface ContainerExceptionInterface extends Throwable
{ {
} }