diff --git a/composer.lock b/composer.lock
index 5fa65d93..c59f9a34 100644
--- a/composer.lock
+++ b/composer.lock
@@ -571,16 +571,16 @@
},
{
"name": "codeception/lib-innerbrowser",
- "version": "1.4.2",
+ "version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/Codeception/lib-innerbrowser.git",
- "reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449"
+ "reference": "4b0d89b37fe454e060a610a85280a87ab4f534f1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4ffb91c18e4cacd073ff2914c07e5ccaf5efe449",
- "reference": "4ffb91c18e4cacd073ff2914c07e5ccaf5efe449",
+ "url": "https://api.github.com/repos/Codeception/lib-innerbrowser/zipball/4b0d89b37fe454e060a610a85280a87ab4f534f1",
+ "reference": "4b0d89b37fe454e060a610a85280a87ab4f534f1",
"shasum": ""
},
"require": {
@@ -625,9 +625,9 @@
],
"support": {
"issues": "https://github.com/Codeception/lib-innerbrowser/issues",
- "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.4.2"
+ "source": "https://github.com/Codeception/lib-innerbrowser/tree/1.5.0"
},
- "time": "2021-04-06T05:26:49+00:00"
+ "time": "2021-04-23T06:18:29+00:00"
},
{
"name": "codeception/module-asserts",
@@ -920,16 +920,16 @@
},
{
"name": "composer/xdebug-handler",
- "version": "1.4.6",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/composer/xdebug-handler.git",
- "reference": "f27e06cd9675801df441b3656569b328e04aa37c"
+ "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f27e06cd9675801df441b3656569b328e04aa37c",
- "reference": "f27e06cd9675801df441b3656569b328e04aa37c",
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496",
+ "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496",
"shasum": ""
},
"require": {
@@ -964,7 +964,7 @@
"support": {
"irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/xdebug-handler/issues",
- "source": "https://github.com/composer/xdebug-handler/tree/1.4.6"
+ "source": "https://github.com/composer/xdebug-handler/tree/2.0.1"
},
"funding": [
{
@@ -980,7 +980,7 @@
"type": "tidelift"
}
],
- "time": "2021-03-25T17:01:18+00:00"
+ "time": "2021-05-05T19:37:51+00:00"
},
{
"name": "consolidation/annotated-command",
@@ -1880,16 +1880,16 @@
},
{
"name": "guzzlehttp/psr7",
- "version": "1.8.1",
+ "version": "1.8.2",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
- "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1"
+ "reference": "dc960a912984efb74d0a90222870c72c87f10c91"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/psr7/zipball/35ea11d335fd638b5882ff1725228b3d35496ab1",
- "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1",
+ "url": "https://api.github.com/repos/guzzle/psr7/zipball/dc960a912984efb74d0a90222870c72c87f10c91",
+ "reference": "dc960a912984efb74d0a90222870c72c87f10c91",
"shasum": ""
},
"require": {
@@ -1949,9 +1949,9 @@
],
"support": {
"issues": "https://github.com/guzzle/psr7/issues",
- "source": "https://github.com/guzzle/psr7/tree/1.8.1"
+ "source": "https://github.com/guzzle/psr7/tree/1.8.2"
},
- "time": "2021-03-21T16:25:00+00:00"
+ "time": "2021-04-26T09:17:50+00:00"
},
{
"name": "hautelook/phpass",
@@ -2003,16 +2003,16 @@
},
{
"name": "illuminate/collections",
- "version": "v8.36.2",
+ "version": "v8.44.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/collections.git",
- "reference": "591e31015a8b0731708c54411cb52d50a00b2bc3"
+ "reference": "deccb956d38710f3f8baf36dd876c3fa1585ec22"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/collections/zipball/591e31015a8b0731708c54411cb52d50a00b2bc3",
- "reference": "591e31015a8b0731708c54411cb52d50a00b2bc3",
+ "url": "https://api.github.com/repos/illuminate/collections/zipball/deccb956d38710f3f8baf36dd876c3fa1585ec22",
+ "reference": "deccb956d38710f3f8baf36dd876c3fa1585ec22",
"shasum": ""
},
"require": {
@@ -2053,20 +2053,20 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-04-01T13:26:52+00:00"
+ "time": "2021-04-22T21:08:09+00:00"
},
{
"name": "illuminate/contracts",
- "version": "v8.36.2",
+ "version": "v8.44.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/contracts.git",
- "reference": "5764f703ea8f74ced163125d810951cd5ef2b7e1"
+ "reference": "b9a7cf6acf1d05d863b6ef67c00cdb0e4ccea097"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/contracts/zipball/5764f703ea8f74ced163125d810951cd5ef2b7e1",
- "reference": "5764f703ea8f74ced163125d810951cd5ef2b7e1",
+ "url": "https://api.github.com/repos/illuminate/contracts/zipball/b9a7cf6acf1d05d863b6ef67c00cdb0e4ccea097",
+ "reference": "b9a7cf6acf1d05d863b6ef67c00cdb0e4ccea097",
"shasum": ""
},
"require": {
@@ -2101,11 +2101,11 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-04-01T13:09:31+00:00"
+ "time": "2021-05-21T19:16:29+00:00"
},
{
"name": "illuminate/macroable",
- "version": "v8.36.2",
+ "version": "v8.44.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/macroable.git",
@@ -2151,16 +2151,16 @@
},
{
"name": "illuminate/support",
- "version": "v8.36.2",
+ "version": "v8.44.0",
"source": {
"type": "git",
"url": "https://github.com/illuminate/support.git",
- "reference": "26aa01648f348df7b7988ee911cdf98bcaae8ea1"
+ "reference": "8a2db3cb7e76fdbd28c6172492a79ab540a9b8e5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/support/zipball/26aa01648f348df7b7988ee911cdf98bcaae8ea1",
- "reference": "26aa01648f348df7b7988ee911cdf98bcaae8ea1",
+ "url": "https://api.github.com/repos/illuminate/support/zipball/8a2db3cb7e76fdbd28c6172492a79ab540a9b8e5",
+ "reference": "8a2db3cb7e76fdbd28c6172492a79ab540a9b8e5",
"shasum": ""
},
"require": {
@@ -2215,7 +2215,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
- "time": "2021-04-06T13:05:53+00:00"
+ "time": "2021-05-20T18:46:23+00:00"
},
{
"name": "league/container",
@@ -2721,16 +2721,16 @@
},
{
"name": "nesbot/carbon",
- "version": "2.46.0",
+ "version": "2.48.1",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
- "reference": "2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4"
+ "reference": "8d1f50f1436fb4b05e7127360483dd9c6e73da16"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4",
- "reference": "2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4",
+ "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/8d1f50f1436fb4b05e7127360483dd9c6e73da16",
+ "reference": "8d1f50f1436fb4b05e7127360483dd9c6e73da16",
"shasum": ""
},
"require": {
@@ -2810,7 +2810,7 @@
"type": "tidelift"
}
],
- "time": "2021-02-24T17:30:44+00:00"
+ "time": "2021-05-26T22:08:38+00:00"
},
{
"name": "overtrue/phplint",
@@ -2934,16 +2934,16 @@
},
{
"name": "pdepend/pdepend",
- "version": "2.9.0",
+ "version": "2.9.1",
"source": {
"type": "git",
"url": "https://github.com/pdepend/pdepend.git",
- "reference": "b6452ce4b570f540be3a4f46276dd8d8f4fa5ead"
+ "reference": "1632f0cee84512ffd6dde71e58536b3b06528c41"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/pdepend/pdepend/zipball/b6452ce4b570f540be3a4f46276dd8d8f4fa5ead",
- "reference": "b6452ce4b570f540be3a4f46276dd8d8f4fa5ead",
+ "url": "https://api.github.com/repos/pdepend/pdepend/zipball/1632f0cee84512ffd6dde71e58536b3b06528c41",
+ "reference": "1632f0cee84512ffd6dde71e58536b3b06528c41",
"shasum": ""
},
"require": {
@@ -2979,7 +2979,7 @@
"description": "Official version of pdepend to be handled with Composer",
"support": {
"issues": "https://github.com/pdepend/pdepend/issues",
- "source": "https://github.com/pdepend/pdepend/tree/2.9.0"
+ "source": "https://github.com/pdepend/pdepend/tree/2.9.1"
},
"funding": [
{
@@ -2987,7 +2987,7 @@
"type": "tidelift"
}
],
- "time": "2021-03-11T09:20:40+00:00"
+ "time": "2021-04-15T21:36:28+00:00"
},
{
"name": "phar-io/manifest",
@@ -3259,22 +3259,22 @@
},
{
"name": "phpmd/phpmd",
- "version": "2.9.1",
+ "version": "2.10.1",
"source": {
"type": "git",
"url": "https://github.com/phpmd/phpmd.git",
- "reference": "ce10831d4ddc2686c1348a98069771dd314534a8"
+ "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpmd/phpmd/zipball/ce10831d4ddc2686c1348a98069771dd314534a8",
- "reference": "ce10831d4ddc2686c1348a98069771dd314534a8",
+ "url": "https://api.github.com/repos/phpmd/phpmd/zipball/bd5ef43d1dcaf7272605027c959c1c5ff3761f7a",
+ "reference": "bd5ef43d1dcaf7272605027c959c1c5ff3761f7a",
"shasum": ""
},
"require": {
- "composer/xdebug-handler": "^1.0",
+ "composer/xdebug-handler": "^1.0 || ^2.0",
"ext-xml": "*",
- "pdepend/pdepend": "^2.7.1",
+ "pdepend/pdepend": "^2.9.1",
"php": ">=5.3.9"
},
"require-dev": {
@@ -3282,7 +3282,7 @@
"ext-json": "*",
"ext-simplexml": "*",
"gregwar/rst": "^1.0",
- "mikey179/vfsstream": "^1.6.4",
+ "mikey179/vfsstream": "^1.6.8",
"phpunit/phpunit": "^4.8.36 || ^5.7.27",
"squizlabs/php_codesniffer": "^2.0"
},
@@ -3330,7 +3330,7 @@
"support": {
"irc": "irc://irc.freenode.org/phpmd",
"issues": "https://github.com/phpmd/phpmd/issues",
- "source": "https://github.com/phpmd/phpmd/tree/2.9.1"
+ "source": "https://github.com/phpmd/phpmd/tree/2.10.1"
},
"funding": [
{
@@ -3338,7 +3338,7 @@
"type": "tidelift"
}
],
- "time": "2020-09-23T22:06:32+00:00"
+ "time": "2021-05-11T17:16:16+00:00"
},
{
"name": "phpspec/prophecy",
@@ -4041,16 +4041,16 @@
},
{
"name": "psr/log",
- "version": "1.1.3",
+ "version": "1.1.4",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc"
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc",
- "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc",
+ "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11",
+ "reference": "d49695b909c3b7628b6289db5479a1c204601f11",
"shasum": ""
},
"require": {
@@ -4074,7 +4074,7 @@
"authors": [
{
"name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
@@ -4085,9 +4085,9 @@
"psr-3"
],
"support": {
- "source": "https://github.com/php-fig/log/tree/1.1.3"
+ "source": "https://github.com/php-fig/log/tree/1.1.4"
},
- "time": "2020-03-23T09:12:05+00:00"
+ "time": "2021-05-03T11:20:27+00:00"
},
{
"name": "psr/simple-cache",
@@ -4225,23 +4225,30 @@
},
{
"name": "rmccue/requests",
- "version": "v1.7.0",
+ "version": "v1.8.0",
"source": {
"type": "git",
- "url": "https://github.com/rmccue/Requests.git",
- "reference": "87932f52ffad70504d93f04f15690cf16a089546"
+ "url": "https://github.com/WordPress/Requests.git",
+ "reference": "afbe4790e4def03581c4a0963a1e8aa01f6030f1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/rmccue/Requests/zipball/87932f52ffad70504d93f04f15690cf16a089546",
- "reference": "87932f52ffad70504d93f04f15690cf16a089546",
+ "url": "https://api.github.com/repos/WordPress/Requests/zipball/afbe4790e4def03581c4a0963a1e8aa01f6030f1",
+ "reference": "afbe4790e4def03581c4a0963a1e8aa01f6030f1",
"shasum": ""
},
"require": {
"php": ">=5.2"
},
"require-dev": {
- "requests/test-server": "dev-master"
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
+ "php-parallel-lint/php-console-highlighter": "^0.5.0",
+ "php-parallel-lint/php-parallel-lint": "^1.3",
+ "phpcompatibility/php-compatibility": "^9.0",
+ "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5",
+ "requests/test-server": "dev-master",
+ "squizlabs/php_codesniffer": "^3.5",
+ "wp-coding-standards/wpcs": "^2.0"
},
"type": "library",
"autoload": {
@@ -4260,7 +4267,7 @@
}
],
"description": "A HTTP library written in PHP, for human beings.",
- "homepage": "http://github.com/rmccue/Requests",
+ "homepage": "http://github.com/WordPress/Requests",
"keywords": [
"curl",
"fsockopen",
@@ -4271,10 +4278,10 @@
"sockets"
],
"support": {
- "issues": "https://github.com/rmccue/Requests/issues",
- "source": "https://github.com/rmccue/Requests/tree/master"
+ "issues": "https://github.com/WordPress/Requests/issues",
+ "source": "https://github.com/WordPress/Requests/tree/v1.8.0"
},
- "time": "2016-10-13T00:11:37+00:00"
+ "time": "2021-04-27T11:05:25+00:00"
},
{
"name": "sebastian/code-unit",
@@ -5172,16 +5179,16 @@
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.5.8",
+ "version": "3.6.0",
"source": {
"type": "git",
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "9d583721a7157ee997f235f327de038e7ea6dac4"
+ "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4",
- "reference": "9d583721a7157ee997f235f327de038e7ea6dac4",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
+ "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625",
"shasum": ""
},
"require": {
@@ -5224,20 +5231,20 @@
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
},
- "time": "2020-10-23T02:01:07+00:00"
+ "time": "2021-04-09T00:54:41+00:00"
},
{
"name": "symfony/browser-kit",
- "version": "v5.2.4",
+ "version": "v5.2.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/browser-kit.git",
- "reference": "3ca3a57ce9860318b20a924fec5daf5c6db44d93"
+ "reference": "38e16b426f1a4cd663b2583111f213e0c9d9d4fe"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/browser-kit/zipball/3ca3a57ce9860318b20a924fec5daf5c6db44d93",
- "reference": "3ca3a57ce9860318b20a924fec5daf5c6db44d93",
+ "url": "https://api.github.com/repos/symfony/browser-kit/zipball/38e16b426f1a4cd663b2583111f213e0c9d9d4fe",
+ "reference": "38e16b426f1a4cd663b2583111f213e0c9d9d4fe",
"shasum": ""
},
"require": {
@@ -5279,7 +5286,7 @@
"description": "Simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/browser-kit/tree/v5.2.4"
+ "source": "https://github.com/symfony/browser-kit/tree/v5.2.9"
},
"funding": [
{
@@ -5295,20 +5302,20 @@
"type": "tidelift"
}
],
- "time": "2021-02-22T06:48:33+00:00"
+ "time": "2021-05-16T13:07:46+00:00"
},
{
"name": "symfony/config",
- "version": "v5.2.4",
+ "version": "v5.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
- "reference": "212d54675bf203ff8aef7d8cee8eecfb72f4a263"
+ "reference": "8dfa5f8adea9cd5155920069224beb04f11d6b7e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/212d54675bf203ff8aef7d8cee8eecfb72f4a263",
- "reference": "212d54675bf203ff8aef7d8cee8eecfb72f4a263",
+ "url": "https://api.github.com/repos/symfony/config/zipball/8dfa5f8adea9cd5155920069224beb04f11d6b7e",
+ "reference": "8dfa5f8adea9cd5155920069224beb04f11d6b7e",
"shasum": ""
},
"require": {
@@ -5357,7 +5364,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/config/tree/v5.2.4"
+ "source": "https://github.com/symfony/config/tree/v5.2.8"
},
"funding": [
{
@@ -5373,7 +5380,7 @@
"type": "tidelift"
}
],
- "time": "2021-02-23T23:58:19+00:00"
+ "time": "2021-05-07T13:41:16+00:00"
},
{
"name": "symfony/console",
@@ -5468,16 +5475,16 @@
},
{
"name": "symfony/css-selector",
- "version": "v5.2.4",
+ "version": "v5.2.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/css-selector.git",
- "reference": "f65f217b3314504a1ec99c2d6ef69016bb13490f"
+ "reference": "5d5f97809015102116208b976eb2edb44b689560"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/css-selector/zipball/f65f217b3314504a1ec99c2d6ef69016bb13490f",
- "reference": "f65f217b3314504a1ec99c2d6ef69016bb13490f",
+ "url": "https://api.github.com/repos/symfony/css-selector/zipball/5d5f97809015102116208b976eb2edb44b689560",
+ "reference": "5d5f97809015102116208b976eb2edb44b689560",
"shasum": ""
},
"require": {
@@ -5513,7 +5520,7 @@
"description": "Converts CSS selectors to XPath expressions",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/css-selector/tree/v5.2.4"
+ "source": "https://github.com/symfony/css-selector/tree/v5.2.9"
},
"funding": [
{
@@ -5529,20 +5536,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-27T10:01:46+00:00"
+ "time": "2021-05-16T13:07:46+00:00"
},
{
"name": "symfony/dependency-injection",
- "version": "v5.2.6",
+ "version": "v5.2.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
- "reference": "1e66194bed2a69fa395d26bf1067e5e34483afac"
+ "reference": "2761ca2f7e2f41af3a45951e1ce8c01f121245eb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/1e66194bed2a69fa395d26bf1067e5e34483afac",
- "reference": "1e66194bed2a69fa395d26bf1067e5e34483afac",
+ "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/2761ca2f7e2f41af3a45951e1ce8c01f121245eb",
+ "reference": "2761ca2f7e2f41af3a45951e1ce8c01f121245eb",
"shasum": ""
},
"require": {
@@ -5600,7 +5607,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/dependency-injection/tree/v5.2.6"
+ "source": "https://github.com/symfony/dependency-injection/tree/v5.2.9"
},
"funding": [
{
@@ -5616,20 +5623,20 @@
"type": "tidelift"
}
],
- "time": "2021-03-22T11:10:24+00:00"
+ "time": "2021-05-16T13:07:46+00:00"
},
{
"name": "symfony/deprecation-contracts",
- "version": "v2.2.0",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665"
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5fa56b4074d1ae755beb55617ddafe6f5d78f665",
- "reference": "5fa56b4074d1ae755beb55617ddafe6f5d78f665",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627",
+ "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627",
"shasum": ""
},
"require": {
@@ -5638,7 +5645,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -5667,7 +5674,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/master"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0"
},
"funding": [
{
@@ -5683,20 +5690,20 @@
"type": "tidelift"
}
],
- "time": "2020-09-07T11:33:47+00:00"
+ "time": "2021-03-23T23:28:01+00:00"
},
{
"name": "symfony/dom-crawler",
- "version": "v5.2.4",
+ "version": "v5.2.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/dom-crawler.git",
- "reference": "400e265163f65aceee7e904ef532e15228de674b"
+ "reference": "8d5201206ded6f37de475b041a11bfaf3ac73d5e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/400e265163f65aceee7e904ef532e15228de674b",
- "reference": "400e265163f65aceee7e904ef532e15228de674b",
+ "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/8d5201206ded6f37de475b041a11bfaf3ac73d5e",
+ "reference": "8d5201206ded6f37de475b041a11bfaf3ac73d5e",
"shasum": ""
},
"require": {
@@ -5741,7 +5748,7 @@
"description": "Eases DOM navigation for HTML and XML documents",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/dom-crawler/tree/v5.2.4"
+ "source": "https://github.com/symfony/dom-crawler/tree/v5.2.9"
},
"funding": [
{
@@ -5757,7 +5764,7 @@
"type": "tidelift"
}
],
- "time": "2021-02-15T18:55:04+00:00"
+ "time": "2021-05-16T13:07:46+00:00"
},
{
"name": "symfony/event-dispatcher",
@@ -5846,16 +5853,16 @@
},
{
"name": "symfony/event-dispatcher-contracts",
- "version": "v2.2.0",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
- "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2"
+ "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ba7d54483095a198fa51781bc608d17e84dffa2",
- "reference": "0ba7d54483095a198fa51781bc608d17e84dffa2",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/69fee1ad2332a7cbab3aca13591953da9cdb7a11",
+ "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11",
"shasum": ""
},
"require": {
@@ -5868,7 +5875,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.2-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -5905,7 +5912,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.2.0"
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.4.0"
},
"funding": [
{
@@ -5921,20 +5928,20 @@
"type": "tidelift"
}
],
- "time": "2020-09-07T11:33:47+00:00"
+ "time": "2021-03-23T23:28:01+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v5.2.6",
+ "version": "v5.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "8c86a82f51658188119e62cff0a050a12d09836f"
+ "reference": "056e92acc21d977c37e6ea8e97374b2a6c8551b0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/8c86a82f51658188119e62cff0a050a12d09836f",
- "reference": "8c86a82f51658188119e62cff0a050a12d09836f",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/056e92acc21d977c37e6ea8e97374b2a6c8551b0",
+ "reference": "056e92acc21d977c37e6ea8e97374b2a6c8551b0",
"shasum": ""
},
"require": {
@@ -5967,7 +5974,7 @@
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/filesystem/tree/v5.2.6"
+ "source": "https://github.com/symfony/filesystem/tree/v5.2.7"
},
"funding": [
{
@@ -5983,20 +5990,20 @@
"type": "tidelift"
}
],
- "time": "2021-03-28T14:30:26+00:00"
+ "time": "2021-04-01T10:42:13+00:00"
},
{
"name": "symfony/finder",
- "version": "v5.2.4",
+ "version": "v5.2.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "0d639a0943822626290d169965804f79400e6a04"
+ "reference": "ccccb9d48ca42757dd12f2ca4bf857a4e217d90d"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/0d639a0943822626290d169965804f79400e6a04",
- "reference": "0d639a0943822626290d169965804f79400e6a04",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/ccccb9d48ca42757dd12f2ca4bf857a4e217d90d",
+ "reference": "ccccb9d48ca42757dd12f2ca4bf857a4e217d90d",
"shasum": ""
},
"require": {
@@ -6028,7 +6035,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/finder/tree/v5.2.4"
+ "source": "https://github.com/symfony/finder/tree/v5.2.9"
},
"funding": [
{
@@ -6044,20 +6051,20 @@
"type": "tidelift"
}
],
- "time": "2021-02-15T18:55:04+00:00"
+ "time": "2021-05-16T13:07:46+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
- "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170"
+ "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5601e09b69f26c1828b13b6bb87cb07cddba3170",
- "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/24b72c6baa32c746a4d0840147c9715e42bb68ab",
+ "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab",
"shasum": ""
},
"require": {
@@ -6069,7 +6076,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6109,7 +6116,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.0"
},
"funding": [
{
@@ -6125,20 +6132,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-05-27T09:17:38+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
- "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248"
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/43a0283138253ed1d48d352ab6d0bdb3f809f248",
- "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248",
+ "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8590a5f561694770bdcd3f9b5c69dde6945028e8",
+ "reference": "8590a5f561694770bdcd3f9b5c69dde6945028e8",
"shasum": ""
},
"require": {
@@ -6150,7 +6157,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6193,7 +6200,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0"
},
"funding": [
{
@@ -6209,20 +6216,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "5232de97ee3b75b0360528dae24e73db49566ab1"
+ "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1",
- "reference": "5232de97ee3b75b0360528dae24e73db49566ab1",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1",
+ "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1",
"shasum": ""
},
"require": {
@@ -6234,7 +6241,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6273,7 +6280,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0"
},
"funding": [
{
@@ -6289,20 +6296,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-22T09:19:47+00:00"
+ "time": "2021-05-27T09:27:20+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2"
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
- "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010",
+ "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010",
"shasum": ""
},
"require": {
@@ -6311,7 +6318,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6352,7 +6359,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0"
},
"funding": [
{
@@ -6368,20 +6375,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-07T16:49:33+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.22.1",
+ "version": "v1.23.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91"
+ "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91",
- "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0",
+ "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0",
"shasum": ""
},
"require": {
@@ -6390,7 +6397,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.22-dev"
+ "dev-main": "1.23-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -6435,7 +6442,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1"
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0"
},
"funding": [
{
@@ -6451,20 +6458,20 @@
"type": "tidelift"
}
],
- "time": "2021-01-07T16:49:33+00:00"
+ "time": "2021-02-19T12:13:01+00:00"
},
{
"name": "symfony/process",
- "version": "v5.2.4",
+ "version": "v5.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "313a38f09c77fbcdc1d223e57d368cea76a2fd2f"
+ "reference": "98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/313a38f09c77fbcdc1d223e57d368cea76a2fd2f",
- "reference": "313a38f09c77fbcdc1d223e57d368cea76a2fd2f",
+ "url": "https://api.github.com/repos/symfony/process/zipball/98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e",
+ "reference": "98cb8eeb72e55d4196dd1e36f1f16e7b3a9a088e",
"shasum": ""
},
"require": {
@@ -6497,7 +6504,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/process/tree/v5.2.4"
+ "source": "https://github.com/symfony/process/tree/v5.3.0-BETA1"
},
"funding": [
{
@@ -6513,7 +6520,7 @@
"type": "tidelift"
}
],
- "time": "2021-01-27T10:15:41+00:00"
+ "time": "2021-04-08T10:27:02+00:00"
},
{
"name": "symfony/service-contracts",
@@ -6596,16 +6603,16 @@
},
{
"name": "symfony/string",
- "version": "v5.2.6",
+ "version": "v5.2.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
- "reference": "ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572"
+ "reference": "01b35eb64cac8467c3f94cd0ce2d0d376bb7d1db"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/string/zipball/ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572",
- "reference": "ad0bd91bce2054103f5eaa18ebeba8d3bc2a0572",
+ "url": "https://api.github.com/repos/symfony/string/zipball/01b35eb64cac8467c3f94cd0ce2d0d376bb7d1db",
+ "reference": "01b35eb64cac8467c3f94cd0ce2d0d376bb7d1db",
"shasum": ""
},
"require": {
@@ -6659,7 +6666,7 @@
"utf8"
],
"support": {
- "source": "https://github.com/symfony/string/tree/v5.2.6"
+ "source": "https://github.com/symfony/string/tree/v5.2.8"
},
"funding": [
{
@@ -6675,20 +6682,20 @@
"type": "tidelift"
}
],
- "time": "2021-03-17T17:12:15+00:00"
+ "time": "2021-05-10T14:56:10+00:00"
},
{
"name": "symfony/translation",
- "version": "v5.2.6",
+ "version": "v5.2.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
- "reference": "2cc7f45d96db9adfcf89adf4401d9dfed509f4e1"
+ "reference": "61af68dba333e2d376a325a29c2a3f2a605b4876"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation/zipball/2cc7f45d96db9adfcf89adf4401d9dfed509f4e1",
- "reference": "2cc7f45d96db9adfcf89adf4401d9dfed509f4e1",
+ "url": "https://api.github.com/repos/symfony/translation/zipball/61af68dba333e2d376a325a29c2a3f2a605b4876",
+ "reference": "61af68dba333e2d376a325a29c2a3f2a605b4876",
"shasum": ""
},
"require": {
@@ -6752,7 +6759,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/translation/tree/v5.2.6"
+ "source": "https://github.com/symfony/translation/tree/v5.2.9"
},
"funding": [
{
@@ -6768,20 +6775,20 @@
"type": "tidelift"
}
],
- "time": "2021-03-23T19:33:48+00:00"
+ "time": "2021-05-16T13:07:46+00:00"
},
{
"name": "symfony/translation-contracts",
- "version": "v2.3.0",
+ "version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation-contracts.git",
- "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105"
+ "reference": "95c812666f3e91db75385749fe219c5e494c7f95"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/e2eaa60b558f26a4b0354e1bbb25636efaaad105",
- "reference": "e2eaa60b558f26a4b0354e1bbb25636efaaad105",
+ "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95",
+ "reference": "95c812666f3e91db75385749fe219c5e494c7f95",
"shasum": ""
},
"require": {
@@ -6793,7 +6800,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.3-dev"
+ "dev-main": "2.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -6830,7 +6837,7 @@
"standards"
],
"support": {
- "source": "https://github.com/symfony/translation-contracts/tree/v2.3.0"
+ "source": "https://github.com/symfony/translation-contracts/tree/v2.4.0"
},
"funding": [
{
@@ -6846,20 +6853,20 @@
"type": "tidelift"
}
],
- "time": "2020-09-28T13:05:58+00:00"
+ "time": "2021-03-23T23:28:01+00:00"
},
{
"name": "symfony/yaml",
- "version": "v4.4.21",
+ "version": "v4.4.24",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
- "reference": "3871c720871029f008928244e56cf43497da7e9d"
+ "reference": "8b6d1b97521e2f125039b3fcb4747584c6dfa0ef"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/3871c720871029f008928244e56cf43497da7e9d",
- "reference": "3871c720871029f008928244e56cf43497da7e9d",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/8b6d1b97521e2f125039b3fcb4747584c6dfa0ef",
+ "reference": "8b6d1b97521e2f125039b3fcb4747584c6dfa0ef",
"shasum": ""
},
"require": {
@@ -6901,7 +6908,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/yaml/tree/v4.4.21"
+ "source": "https://github.com/symfony/yaml/tree/v4.4.24"
},
"funding": [
{
@@ -6917,7 +6924,7 @@
"type": "tidelift"
}
],
- "time": "2021-03-05T17:58:50+00:00"
+ "time": "2021-05-16T09:52:47+00:00"
},
{
"name": "theseer/fdomdocument",
@@ -7305,23 +7312,23 @@
},
{
"name": "wp-cli/wp-cli",
- "version": "v2.4.1",
+ "version": "v2.5.0",
"source": {
"type": "git",
"url": "https://github.com/wp-cli/wp-cli.git",
- "reference": "ceb18598e79befa9b2a37a51efbb34910628988b"
+ "reference": "0bcf0c54f4d35685211d435e25219cc7acbe6d48"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/ceb18598e79befa9b2a37a51efbb34910628988b",
- "reference": "ceb18598e79befa9b2a37a51efbb34910628988b",
+ "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/0bcf0c54f4d35685211d435e25219cc7acbe6d48",
+ "reference": "0bcf0c54f4d35685211d435e25219cc7acbe6d48",
"shasum": ""
},
"require": {
"ext-curl": "*",
"mustache/mustache": "~2.13",
- "php": "^5.4 || ^7.0",
- "rmccue/requests": "~1.6",
+ "php": "^5.6 || ^7.0 || ^8.0",
+ "rmccue/requests": "^1.8",
"symfony/finder": ">2.7",
"wp-cli/mustangostang-spyc": "^0.6.3",
"wp-cli/php-cli-tools": "~0.11.2"
@@ -7332,7 +7339,7 @@
"wp-cli/entity-command": "^1.2 || ^2",
"wp-cli/extension-command": "^1.1 || ^2",
"wp-cli/package-command": "^1 || ^2",
- "wp-cli/wp-cli-tests": "^2.1"
+ "wp-cli/wp-cli-tests": "^3.0.7"
},
"suggest": {
"ext-readline": "Include for a better --prompt implementation",
@@ -7345,13 +7352,17 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "2.4.x-dev"
+ "dev-master": "2.5.x-dev"
}
},
"autoload": {
"psr-0": {
- "WP_CLI": "php"
- }
+ "WP_CLI\\": "php/"
+ },
+ "classmap": [
+ "php/class-wp-cli.php",
+ "php/class-wp-cli-command.php"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -7368,7 +7379,7 @@
"issues": "https://github.com/wp-cli/wp-cli/issues",
"source": "https://github.com/wp-cli/wp-cli"
},
- "time": "2020-02-18T08:15:37+00:00"
+ "time": "2021-05-14T13:44:51+00:00"
},
{
"name": "zordius/lightncandy",
diff --git a/defines.php b/defines.php
index 9b2de447..aed1fc35 100644
--- a/defines.php
+++ b/defines.php
@@ -12,7 +12,7 @@
defined('ABSPATH') or die('No direct script access allowed.');
if (!defined('PP_AUTHORS_VERSION')) {
- define('PP_AUTHORS_VERSION', '3.13.1');
+ define('PP_AUTHORS_VERSION', '3.14.0');
define('PP_AUTHORS_FILE', 'publishpress-authors/publishpress-authors.php');
define('PP_AUTHORS_BASE_PATH', plugin_dir_path(__DIR__ . '/publishpress-authors.php'));
define('PP_AUTHORS_MODULES_PATH', PP_AUTHORS_BASE_PATH . 'src/modules/');
@@ -26,6 +26,10 @@
define('PUBLISHPRESS_AUTHORS_LOAD_DEPRECATED_LEGACY_CODE', true);
}
+ if (!defined('PUBLISHPRESS_AUTHORS_LOAD_LEGACY_SHORTCODES')) {
+ define('PUBLISHPRESS_AUTHORS_LOAD_LEGACY_SHORTCODES', true);
+ }
+
if (!defined('PUBLISHPRESS_AUTHORS_LOAD_COAUTHORS_FUNCTIONS')) {
define('PUBLISHPRESS_AUTHORS_LOAD_COAUTHORS_FUNCTIONS', true);
}
diff --git a/publishpress-authors.php b/publishpress-authors.php
index 524a1726..1f3df7dd 100644
--- a/publishpress-authors.php
+++ b/publishpress-authors.php
@@ -5,7 +5,7 @@
* Description: PublishPress Authors allows you to add multiple authors and guest authors to WordPress posts
* Author: PublishPress
* Author URI: https://publishpress.com
- * Version: 3.13.1
+ * Version: 3.14.0
* Text Domain: publishpress-authors
*
* ------------------------------------------------------------------------------
diff --git a/readme.txt b/readme.txt
index c7d15df7..71f47cbe 100644
--- a/readme.txt
+++ b/readme.txt
@@ -7,7 +7,7 @@ Tags: multiple authors, authors, guest authors, author fields, author layouts
Requires at least: 4.7
Requires PHP: 5.6
Tested up to: 5.7
-Stable tag: 3.13.1
+Stable tag: 3.14.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -114,6 +114,15 @@ There are two ways to install the PublishPress Authors plugin:
== Changelog ==
+= [3.14.0] - 2021-05-26 =
+
+* Added: Added new setting for selecting multiple post types to display in the author page, #436;
+* Added: Added new function "get_by_id" to the Author class, accepting positive integer for User ID, and negative integer for term ID, #423;
+* Changed: Shortcode [author_box] was renamed to [publishpress_authors_box], #426;
+* Changed: Shortcode [ppma_test] was renamed to [publishpress_authors_test], #426;
+* Changed: Legacy shortcodes are loaded by default, but defining the constant PUBLISHPRESS_AUTHORS_LOAD_LEGACY_SHORTCODES = false will prevent to load them, #426;
+* Fixed: Fix the Author::get_avatar_url method returning the avatar URL, #443;
+
= [3.13.1] - 2021-04-22 =
* Fixed: Fix the color scheme for the Pro plugin, #411;
diff --git a/src/core/Classes/Objects/Author.php b/src/core/Classes/Objects/Author.php
index 8cec5b4c..1a31c026 100644
--- a/src/core/Classes/Objects/Author.php
+++ b/src/core/Classes/Objects/Author.php
@@ -483,9 +483,7 @@ public function __get($attribute)
$return = false;
}
- $return = apply_filters('publishpress_authors_author_attribute', $return, $this->term_id, $attribute);
-
- return $return;
+ return apply_filters('publishpress_authors_author_attribute', $return, $this->term_id, $attribute, $this);
}
/**
@@ -497,7 +495,7 @@ public function __get($attribute)
*/
public function get_avatar_url($size = 96)
{
- if (!is_null($this->avatarUrl)) {
+ if (is_null($this->avatarUrl)) {
if ($this->has_custom_avatar()) {
$url = $this->get_custom_avatar_url($size);
} else {
@@ -749,4 +747,21 @@ public static function get_by_email($emailAddress)
return isset(self::$authorsByEmailCache[$emailAddress]) ? self::$authorsByEmailCache[$emailAddress] : false;
}
+
+ /**
+ * Get an author by the provided ID.
+ *
+ * This ID can either be the WP_User ID (positive integer) or guest author ID (negative integer).
+ *
+ * @param $id
+ *
+ * @return Author|false
+ */
+ public static function get_by_id( $id ) {
+ if ( intval( $id ) > -1 ) {
+ return self::get_by_user_id( $id );
+ }
+ return self::get_by_term_id( $id );
+ }
+
}
diff --git a/src/core/Classes/Query.php b/src/core/Classes/Query.php
index 26fd253e..b0efb9f8 100644
--- a/src/core/Classes/Query.php
+++ b/src/core/Classes/Query.php
@@ -10,6 +10,7 @@
namespace MultipleAuthors\Classes;
use MultipleAuthors\Classes\Objects\Author;
+use MultipleAuthors\Factory;
/**
* Modifications to the main query, and helper query methods
@@ -36,7 +37,7 @@ public static function fix_query_pre_get_posts($wp_query)
global $wp_query;
}
- if (isset($wp_query->query['post_type']) && $wp_query->query['post_type'] === 'ppmacf_field') {
+ if (isset($wp_query->query['post_type']) && $wp_query->query['post_type'] === 'ppmacf_field') {
return;
}
@@ -86,7 +87,7 @@ public static function fix_query_pre_get_posts($wp_query)
*
* @return string
*/
- public static function filter_posts_where($where, $query)
+ public static function filter_author_posts_where($where, $query)
{
global $wpdb;
@@ -144,7 +145,9 @@ public static function filter_posts_where($where, $query)
-1
);
- return $where;
+ $where = static::add_custom_post_types_to_query($where);
+
+ return apply_filters('publishpress_authors_filter_posts_list_where', $where, $query, $term);
}
/**
@@ -211,7 +214,7 @@ public static function filter_posts_groupby($groupby, $query)
*
* @return string
*/
- public static function filter_posts_list_where($where, $query)
+ public static function filter_admin_posts_list_where($where, $query)
{
global $wpdb;
@@ -251,6 +254,51 @@ public static function filter_posts_list_where($where, $query)
-1
);
+ return apply_filters('publishpress_authors_filter_posts_list_where', $where, $query, $author);
+ }
+
+ public static function getSelectedPostTypesForAuthorsPage()
+ {
+ $legacyPlugin = Factory::getLegacyPlugin();
+ $moduleOptions = $legacyPlugin->multiple_authors->module->options;
+
+ $enabledPostTypes = Utils::get_enabled_post_types();
+ $selectedPostTypesForAuthorsPage = apply_filters('publishpress_authors_posts_query_post_types', []);
+
+ if (empty($selectedPostTypesForAuthorsPage)) {
+ foreach ($moduleOptions->author_page_post_types as $postType => $status) {
+ if ($status !== 'on') {
+ continue;
+ }
+
+ if (in_array($postType, $enabledPostTypes)) {
+ $selectedPostTypesForAuthorsPage[] = esc_sql($postType);
+ }
+ }
+
+ return $selectedPostTypesForAuthorsPage;
+ }
+
+ return [];
+ }
+
+ private static function add_custom_post_types_to_query($where)
+ {
+ $legacyPlugin = Factory::getLegacyPlugin();
+ $moduleOptions = $legacyPlugin->multiple_authors->module->options;
+
+ if (!isset($moduleOptions->author_page_post_types)) {
+ return $where;
+ }
+
+ $selectedPostTypesForAuthorsPage = static::getSelectedPostTypesForAuthorsPage();
+
+ if (!empty($selectedPostTypesForAuthorsPage)) {
+ $postTypesString = implode('\', \'', $selectedPostTypesForAuthorsPage);
+
+ return str_replace(".post_type = 'post'", ".post_type IN ('" . $postTypesString . "')", $where);
+ }
+
return $where;
}
diff --git a/src/core/Plugin.php b/src/core/Plugin.php
index 47200f51..bbb0bf0e 100644
--- a/src/core/Plugin.php
+++ b/src/core/Plugin.php
@@ -96,8 +96,14 @@ public function __construct()
// Author box to the content
add_filter('the_content', [$this, 'filter_the_content']);
- // Shortcodes
- add_shortcode('author_box', [$this, 'shortcode_author_box']);
+ /**
+ * @deprecated Since 3.13.2. Use publishpress_authors_box instead.
+ */
+ if (PUBLISHPRESS_AUTHORS_LOAD_LEGACY_SHORTCODES) {
+ add_shortcode('author_box', [$this, 'shortcodeAuthorsBox']);
+ }
+
+ add_shortcode('publishpress_authors_box', [$this, 'shortcodeAuthorsBox']);
// Action to display the author box
add_action('pp_multiple_authors_show_author_box', [$this, 'action_echo_author_box'], 10, 5);
@@ -253,7 +259,7 @@ public function __construct()
);
add_filter(
'posts_where',
- ['MultipleAuthors\\Classes\\Query', 'filter_posts_where'],
+ ['MultipleAuthors\\Classes\\Query', 'filter_author_posts_where'],
10,
2
);
@@ -284,7 +290,7 @@ public function __construct()
// Query modifications for the admin posts lists
add_filter(
'posts_where',
- ['MultipleAuthors\\Classes\\Query', 'filter_posts_list_where'],
+ ['MultipleAuthors\\Classes\\Query', 'filter_admin_posts_list_where'],
10,
2
);
@@ -372,10 +378,10 @@ public function __construct()
private function addTestShortcode()
{
- add_shortcode('ppma_test', [$this, 'ppma_test']);
+ add_shortcode('publishpress_authors_test', [$this, 'shortcodeTest']);
}
- public function ppma_test()
+ public function shortcodeTest()
{
echo 'PublishPress Authors: shortcode rendered successfully!';
}
@@ -1633,7 +1639,7 @@ public function filter_the_content($content)
*
* @return string
*/
- public function shortcode_author_box($attributes)
+ public function shortcodeAuthorsBox($attributes)
{
$show_title = true;
$layout = null;
diff --git a/src/modules/multiple-authors/multiple-authors.php b/src/modules/multiple-authors/multiple-authors.php
index 3fe41aad..2a1022e4 100644
--- a/src/modules/multiple-authors/multiple-authors.php
+++ b/src/modules/multiple-authors/multiple-authors.php
@@ -96,6 +96,7 @@ public function __construct()
'force_empty_author' => 'no',
'username_in_search_field' => 'no',
'default_author_for_new_posts' => null,
+ 'author_page_post_types' => [],
],
'options_page' => false,
'autoload' => true,
@@ -460,6 +461,14 @@ public function register_settings()
$this->module->options_group_name . '_general'
);
+ add_settings_field(
+ 'author_page_post_types',
+ __('Post types to display on the author\'s profile page:', 'publishpress-authors'),
+ [$this, 'settings_author_page_post_types_option'],
+ $this->module->options_group_name,
+ $this->module->options_group_name . '_general'
+ );
+
add_settings_field(
'author_for_new_users',
__(
@@ -602,6 +611,51 @@ public function settings_post_types_option()
$legacyPlugin->settings->helper_option_custom_post_type($this->module);
}
+ public function settings_author_page_post_types_option()
+ {
+ $post_types = [
+ 'post' => __('Posts'),
+ 'page' => __('Pages'),
+ ];
+ $custom_post_types = $this->get_supported_post_types_for_module();
+ if (count($custom_post_types)) {
+ foreach ($custom_post_types as $custom_post_type => $args) {
+ $post_types[$custom_post_type] = $args->label;
+ }
+ }
+
+ $checkedOption = is_array($this->module->options->author_page_post_types) ?
+ array_filter(
+ $this->module->options->author_page_post_types,
+ function ($value, $key) {
+ return $value === 'on';
+ },
+ ARRAY_FILTER_USE_BOTH
+ )
+ : false;
+
+ $checkPostByDefault = empty($checkedOption);
+
+ foreach ($post_types as $post_type => $title) {
+ echo '';
+ // Leave a note to the admin as a reminder that add_post_type_support has been used somewhere in their code
+ if (post_type_supports($post_type, $this->module->post_type_support)) {
+ echo '  ' . sprintf(__('Disabled because add_post_type_support(\'%1$s\', \'%2$s\') is included in a loaded file.', 'publishpress-authors'), $post_type, $this->module->post_type_support) . '';
+ }
+ echo '
';
+ }
+ }
+
/**
* Displays the field to choose display or not the author box at the
* end of the content
@@ -978,6 +1032,10 @@ public function validate_module_settings($new_options, $module_name)
}
}
+ if (!isset($new_options['author_page_post_types']) || empty($new_options['author_page_post_types'])) {
+ $new_options['author_page_post_types'] = ['post' => 'on'];
+ }
+
/**
* @param array $newOptions
* @param string $moduleName
diff --git a/tests/integration/core/Classes/Objects/AuthorCest.php b/tests/integration/core/Classes/Objects/AuthorCest.php
index 243933a8..bd475408 100644
--- a/tests/integration/core/Classes/Objects/AuthorCest.php
+++ b/tests/integration/core/Classes/Objects/AuthorCest.php
@@ -394,4 +394,23 @@ public function tryToGetSlugForGuestAuthors(WpunitTester $I)
$author->slug
);
}
+
+ public function tryToGetAvatarURLWithoutCustomAvatar(WpunitTester $I)
+ {
+ $authorSlug = sprintf('guest_author_%d', rand(1, PHP_INT_MAX));
+ $author = Author::create(
+ [
+ 'slug' => $authorSlug,
+ 'display_name' => strtoupper($authorSlug),
+ ]
+ );
+
+ $avatarUrl = $author->get_avatar_url();
+
+ $I->assertFalse(is_null($avatarUrl), 'The avatar URL should not be null');
+ $I->assertRegExp(
+ '#http[s]?://[0-9]{1,2}\.gravatar\.com/avatar/\?s=96&d=mm&r=g#',
+ $avatarUrl
+ );
+ }
}