Added automattic/jetpack-constants package to make testing constants easier

This commit is contained in:
Christopher Allford 2020-01-28 16:28:40 -08:00
parent cacf5c4f91
commit 9c8a6d78d9
2 changed files with 32 additions and 1 deletions

View File

@ -9,6 +9,7 @@
"require": { "require": {
"php": ">=5.6|>=7.0", "php": ">=5.6|>=7.0",
"automattic/jetpack-autoloader": "^1.2.0", "automattic/jetpack-autoloader": "^1.2.0",
"automattic/jetpack-constants": "^1.1",
"composer/installers": "1.7.0", "composer/installers": "1.7.0",
"maxmind-db/reader": "1.6.0", "maxmind-db/reader": "1.6.0",
"woocommerce/woocommerce-blocks": "2.5.11", "woocommerce/woocommerce-blocks": "2.5.11",

32
composer.lock generated
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": "e6dfd8d640c9fc3f21795ddb41a23477", "content-hash": "41bbf9384ba5827f6d298881bcd1b86e",
"packages": [ "packages": [
{ {
"name": "automattic/jetpack-autoloader", "name": "automattic/jetpack-autoloader",
@ -42,6 +42,36 @@
"description": "Creates a custom autoloader for a plugin or theme.", "description": "Creates a custom autoloader for a plugin or theme.",
"time": "2019-09-24T06:39:29+00:00" "time": "2019-09-24T06:39:29+00:00"
}, },
{
"name": "automattic/jetpack-constants",
"version": "v1.1.3",
"source": {
"type": "git",
"url": "https://github.com/Automattic/jetpack-constants.git",
"reference": "5fdd94dec1151e7defd684a97e0b64fe6ff1bd3a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/5fdd94dec1151e7defd684a97e0b64fe6ff1bd3a",
"reference": "5fdd94dec1151e7defd684a97e0b64fe6ff1bd3a",
"shasum": ""
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.5"
},
"type": "library",
"autoload": {
"classmap": [
"src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-2.0-or-later"
],
"description": "A wrapper for defining constants in a more testable way.",
"time": "2019-11-08T21:16:05+00:00"
},
{ {
"name": "composer/installers", "name": "composer/installers",
"version": "v1.7.0", "version": "v1.7.0",