# HG changeset patch # User ymh # Date 1560516554 -7200 # Node ID 1921d064475ca5df048473dd45272bef979d40b9 # Parent 30f2ac9a7656926903f49aa34d9b287901edf77e Upgrade wordpress and bedrock diff -r 30f2ac9a7656 -r 1921d064475c src/composer.json --- a/src/composer.json Fri Jun 14 14:36:17 2019 +0200 +++ b/src/composer.json Fri Jun 14 14:49:14 2019 +0200 @@ -1,27 +1,21 @@ { - "name": "roots/bedrock", + "name": "iri-research/recherchecontributive.org", "type": "project", "license": "MIT", - "description": "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure", - "homepage": "https://roots.io/bedrock/", + "description": "recherchecontributive.org wordpress project based od root/bedrock", + "homepage": "https://recherchecontributive.org", "authors": [ { - "name": "Scott Walkinshaw", - "email": "scott.walkinshaw@gmail.com", - "homepage": "https://github.com/swalkinshaw" - }, - { - "name": "Ben Word", - "email": "ben@benword.com", - "homepage": "https://github.com/retlehs" + "name": "Yves-Marie Haussonne", + "email": "1218002+ymph@users.noreply.github.com", + "homepage": "https://github.com/ymh" } ], "keywords": [ - "bedrock", "composer", "roots", "wordpress", "wp", "wp-config" + "recherchecontributive", "recherche", "contributive", "IRI", "bedrock" ], "support": { - "issues": "https://github.com/roots/bedrock/issues", - "forum": "https://discourse.roots.io/category/bedrock" + "issues": "https://www.iri.centrepompidou.fr/dev/hg/recherchecontributive.org" }, "config": { "preferred-install": "dist" @@ -37,7 +31,7 @@ "composer/installers": "^1.4", "vlucas/phpdotenv": "^3.0.0", "oscarotero/env": "^1.1.0", - "roots/wordpress": "5.1.1", + "roots/wordpress": "5.2.1", "roots/wp-config": "1.0.0", "roots/wp-password-bcrypt": "1.0.0", "wp-cli/wp-cli-bundle": "*" diff -r 30f2ac9a7656 -r 1921d064475c src/composer.lock --- a/src/composer.lock Fri Jun 14 14:36:17 2019 +0200 +++ b/src/composer.lock Fri Jun 14 14:49:14 2019 +0200 @@ -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": "f0e748f1fe97bf4b2180b6d57efd6d58", + "content-hash": "5f2f8a725f3371d5a52344a08bfbd6ac", "packages": [ { "name": "composer/ca-bundle", @@ -64,16 +64,16 @@ }, { "name": "composer/composer", - "version": "1.8.5", + "version": "1.8.6", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "949b116f9e7d98d8d276594fed74b580d125c0e6" + "reference": "19b5f66a0e233eb944f134df34091fe1c5dfcc11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/949b116f9e7d98d8d276594fed74b580d125c0e6", - "reference": "949b116f9e7d98d8d276594fed74b580d125c0e6", + "url": "https://api.github.com/repos/composer/composer/zipball/19b5f66a0e233eb944f134df34091fe1c5dfcc11", + "reference": "19b5f66a0e233eb944f134df34091fe1c5dfcc11", "shasum": "" }, "require": { @@ -140,7 +140,7 @@ "dependency", "package" ], - "time": "2019-04-09T15:46:48+00:00" + "time": "2019-06-11T13:03:06+00:00" }, { "name": "composer/installers", @@ -386,16 +386,16 @@ }, { "name": "composer/xdebug-handler", - "version": "1.3.2", + "version": "1.3.3", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "d17708133b6c276d6e42ef887a877866b909d892" + "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/d17708133b6c276d6e42ef887a877866b909d892", - "reference": "d17708133b6c276d6e42ef887a877866b909d892", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/46867cbf8ca9fb8d60c506895449eb799db1184f", + "reference": "46867cbf8ca9fb8d60c506895449eb799db1184f", "shasum": "" }, "require": { @@ -426,7 +426,7 @@ "Xdebug", "performance" ], - "time": "2019-01-28T20:25:53+00:00" + "time": "2019-05-27T17:52:04+00:00" }, { "name": "gettext/gettext", @@ -619,16 +619,16 @@ }, { "name": "mck89/peast", - "version": "v1.9.1", + "version": "v1.9.2", "source": { "type": "git", "url": "https://github.com/mck89/peast.git", - "reference": "f4ce80caea99a894574f15b6bec50c05250b7a83" + "reference": "7c9e487a0bb2410b3b7f27e8274cd04248b68197" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mck89/peast/zipball/f4ce80caea99a894574f15b6bec50c05250b7a83", - "reference": "f4ce80caea99a894574f15b6bec50c05250b7a83", + "url": "https://api.github.com/repos/mck89/peast/zipball/7c9e487a0bb2410b3b7f27e8274cd04248b68197", + "reference": "7c9e487a0bb2410b3b7f27e8274cd04248b68197", "shasum": "" }, "require": { @@ -640,7 +640,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.9.1-dev" + "dev-master": "1.9.2-dev" } }, "autoload": { @@ -660,7 +660,7 @@ } ], "description": "Peast is PHP library that generates AST for JavaScript code", - "time": "2019-01-16T11:24:32+00:00" + "time": "2019-05-24T16:47:14+00:00" }, { "name": "mustache/mustache", @@ -890,52 +890,6 @@ "time": "2018-11-20T15:27:04+00:00" }, { - "name": "ramsey/array_column", - "version": "1.1.3", - "source": { - "type": "git", - "url": "https://github.com/ramsey/array_column.git", - "reference": "f8e52eb28e67eb50e613b451dd916abcf783c1db" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ramsey/array_column/zipball/f8e52eb28e67eb50e613b451dd916abcf783c1db", - "reference": "f8e52eb28e67eb50e613b451dd916abcf783c1db", - "shasum": "" - }, - "require-dev": { - "jakub-onderka/php-parallel-lint": "0.8.*", - "phpunit/phpunit": "~4.5", - "satooshi/php-coveralls": "0.6.*", - "squizlabs/php_codesniffer": "~2.2" - }, - "type": "library", - "autoload": { - "files": [ - "src/array_column.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ben Ramsey", - "homepage": "http://benramsey.com" - } - ], - "description": "Provides functionality for array_column() to projects using PHP earlier than version 5.5.", - "homepage": "https://github.com/ramsey/array_column", - "keywords": [ - "array", - "array_column", - "column" - ], - "abandoned": true, - "time": "2015-03-20T22:07:39+00:00" - }, - { "name": "rmccue/requests", "version": "v1.7.0", "source": { @@ -986,16 +940,16 @@ }, { "name": "roots/wordpress", - "version": "5.1.1", + "version": "5.2.1", "source": { "type": "git", "url": "https://github.com/WordPress/WordPress.git", - "reference": "5.1.1" + "reference": "5.2.1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WordPress/WordPress/zipball/5.1.1", - "reference": "5.1.1" + "url": "https://api.github.com/repos/WordPress/WordPress/zipball/5.2.1", + "reference": "5.2.1" }, "require": { "php": ">=5.3.2", @@ -1019,7 +973,7 @@ "cms", "wordpress" ], - "time": "2019-03-13T14:18:06+00:00" + "time": "2019-05-21T19:53:10+00:00" }, { "name": "roots/wordpress-core-installer", @@ -1271,25 +1225,27 @@ }, { "name": "symfony/console", - "version": "v4.2.7", + "version": "v4.3.1", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "e2840bb38bddad7a0feaf85931e38fdcffdb2f81" + "reference": "d50bbeeb0e17e6dd4124ea391eff235e932cbf64" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/e2840bb38bddad7a0feaf85931e38fdcffdb2f81", - "reference": "e2840bb38bddad7a0feaf85931e38fdcffdb2f81", + "url": "https://api.github.com/repos/symfony/console/zipball/d50bbeeb0e17e6dd4124ea391eff235e932cbf64", + "reference": "d50bbeeb0e17e6dd4124ea391eff235e932cbf64", "shasum": "" }, "require": { "php": "^7.1.3", - "symfony/contracts": "^1.0", - "symfony/polyfill-mbstring": "~1.0" + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/service-contracts": "^1.1" }, "conflict": { "symfony/dependency-injection": "<3.4", + "symfony/event-dispatcher": "<4.3", "symfony/process": "<3.3" }, "provide": { @@ -1299,9 +1255,10 @@ "psr/log": "~1.0", "symfony/config": "~3.4|~4.0", "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~3.4|~4.0", + "symfony/event-dispatcher": "^4.3", "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.4|~4.0" + "symfony/process": "~3.4|~4.0", + "symfony/var-dumper": "^4.3" }, "suggest": { "psr/log": "For using the console logger", @@ -1312,7 +1269,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "4.3-dev" } }, "autoload": { @@ -1339,88 +1296,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-04-08T14:23:48+00:00" + "time": "2019-06-05T13:25:51+00:00" }, { - "name": "symfony/contracts", - "version": "v1.0.2", + "name": "symfony/filesystem", + "version": "v4.3.1", "source": { "type": "git", - "url": "https://github.com/symfony/contracts.git", - "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf" + "url": "https://github.com/symfony/filesystem.git", + "reference": "bf2af40d738dec5e433faea7b00daa4431d0a4cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/contracts/zipball/1aa7ab2429c3d594dd70689604b5cf7421254cdf", - "reference": "1aa7ab2429c3d594dd70689604b5cf7421254cdf", - "shasum": "" - }, - "require": { - "php": "^7.1.3" - }, - "require-dev": { - "psr/cache": "^1.0", - "psr/container": "^1.0" - }, - "suggest": { - "psr/cache": "When using the Cache contracts", - "psr/container": "When using the Service contracts", - "symfony/cache-contracts-implementation": "", - "symfony/service-contracts-implementation": "", - "symfony/translation-contracts-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\": "" - }, - "exclude-from-classmap": [ - "**/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "A set of abstractions extracted out of the Symfony components", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "time": "2018-12-05T08:06:11+00:00" - }, - { - "name": "symfony/filesystem", - "version": "v4.2.7", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "e16b9e471703b2c60b95f14d31c1239f68f11601" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/e16b9e471703b2c60b95f14d31c1239f68f11601", - "reference": "e16b9e471703b2c60b95f14d31c1239f68f11601", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/bf2af40d738dec5e433faea7b00daa4431d0a4cf", + "reference": "bf2af40d738dec5e433faea7b00daa4431d0a4cf", "shasum": "" }, "require": { @@ -1430,7 +1319,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "4.3-dev" } }, "autoload": { @@ -1457,20 +1346,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2019-02-07T11:40:08+00:00" + "time": "2019-06-03T20:27:40+00:00" }, { "name": "symfony/finder", - "version": "v4.2.7", + "version": "v4.3.1", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "e45135658bd6c14b61850bf131c4f09a55133f69" + "reference": "b3d4f4c0e4eadfdd8b296af9ca637cfbf51d8176" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/e45135658bd6c14b61850bf131c4f09a55133f69", - "reference": "e45135658bd6c14b61850bf131c4f09a55133f69", + "url": "https://api.github.com/repos/symfony/finder/zipball/b3d4f4c0e4eadfdd8b296af9ca637cfbf51d8176", + "reference": "b3d4f4c0e4eadfdd8b296af9ca637cfbf51d8176", "shasum": "" }, "require": { @@ -1479,7 +1368,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "4.3-dev" } }, "autoload": { @@ -1506,7 +1395,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2019-04-06T13:51:08+00:00" + "time": "2019-05-26T20:47:49+00:00" }, { "name": "symfony/polyfill-ctype", @@ -1626,17 +1515,75 @@ "time": "2019-02-06T07:57:58+00:00" }, { + "name": "symfony/polyfill-php73", + "version": "v1.11.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "d1fb4abcc0c47be136208ad9d68bf59f1ee17abd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/d1fb4abcc0c47be136208ad9d68bf59f1ee17abd", + "reference": "d1fb4abcc0c47be136208ad9d68bf59f1ee17abd", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.11-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2019-02-06T07:57:58+00:00" + }, + { "name": "symfony/process", - "version": "v4.2.7", + "version": "v4.3.1", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "8cf39fb4ccff793340c258ee7760fd40bfe745fe" + "reference": "856d35814cf287480465bb7a6c413bb7f5f5e69c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/8cf39fb4ccff793340c258ee7760fd40bfe745fe", - "reference": "8cf39fb4ccff793340c258ee7760fd40bfe745fe", + "url": "https://api.github.com/repos/symfony/process/zipball/856d35814cf287480465bb7a6c413bb7f5f5e69c", + "reference": "856d35814cf287480465bb7a6c413bb7f5f5e69c", "shasum": "" }, "require": { @@ -1645,7 +1592,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "4.3-dev" } }, "autoload": { @@ -1672,7 +1619,65 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-04-10T16:20:36+00:00" + "time": "2019-05-30T16:10:05+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v1.1.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/191afdcb5804db960d26d8566b7e9a2843cab3a0", + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "suggest": { + "psr/container": "", + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-05-28T07:50:59+00:00" }, { "name": "vlucas/phpdotenv", @@ -1728,16 +1733,16 @@ }, { "name": "wp-cli/cache-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/cache-command.git", - "reference": "7773dfa4ce57fc4d32e5d7c8acf52b8c35a0a70a" + "reference": "56e2a8186c28bc1edbb8bc1c0f3d3b30fa116ea8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/cache-command/zipball/7773dfa4ce57fc4d32e5d7c8acf52b8c35a0a70a", - "reference": "7773dfa4ce57fc4d32e5d7c8acf52b8c35a0a70a", + "url": "https://api.github.com/repos/wp-cli/cache-command/zipball/56e2a8186c28bc1edbb8bc1c0f3d3b30fa116ea8", + "reference": "56e2a8186c28bc1edbb8bc1c0f3d3b30fa116ea8", "shasum": "" }, "require": { @@ -1745,7 +1750,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.11" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -1793,20 +1798,20 @@ ], "description": "Manages object and transient caches.", "homepage": "https://github.com/wp-cli/cache-command", - "time": "2018-12-03T14:20:05+00:00" + "time": "2019-04-19T15:13:51+00:00" }, { "name": "wp-cli/checksum-command", - "version": "v2.0.1", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/checksum-command.git", - "reference": "b16e808ef59122970fe5e70ddc28b766aba529fc" + "reference": "7db66668ec116c5ccef7bc27b4354fa81b85018a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/checksum-command/zipball/b16e808ef59122970fe5e70ddc28b766aba529fc", - "reference": "b16e808ef59122970fe5e70ddc28b766aba529fc", + "url": "https://api.github.com/repos/wp-cli/checksum-command/zipball/7db66668ec116c5ccef7bc27b4354fa81b85018a", + "reference": "7db66668ec116c5ccef7bc27b4354fa81b85018a", "shasum": "" }, "require": { @@ -1814,7 +1819,7 @@ }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -1848,20 +1853,20 @@ ], "description": "Verifies file integrity by comparing to published checksums.", "homepage": "https://github.com/wp-cli/checksum-command", - "time": "2018-09-06T07:57:31+00:00" + "time": "2019-04-25T00:28:02+00:00" }, { "name": "wp-cli/config-command", - "version": "v2.0.2", + "version": "v2.0.4", "source": { "type": "git", "url": "https://github.com/wp-cli/config-command.git", - "reference": "21daa36c3960676ef58ab4e4db35106134ddcb79" + "reference": "b7e69946e4ec711d4568d11d2b7e08f5e872567d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/config-command/zipball/21daa36c3960676ef58ab4e4db35106134ddcb79", - "reference": "21daa36c3960676ef58ab4e4db35106134ddcb79", + "url": "https://api.github.com/repos/wp-cli/config-command/zipball/b7e69946e4ec711d4568d11d2b7e08f5e872567d", + "reference": "b7e69946e4ec711d4568d11d2b7e08f5e872567d", "shasum": "" }, "require": { @@ -1870,7 +1875,7 @@ }, "require-dev": { "wp-cli/db-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -1917,32 +1922,32 @@ ], "description": "Generates and reads the wp-config.php file.", "homepage": "https://github.com/wp-cli/config-command", - "time": "2018-12-12T13:09:35+00:00" + "time": "2019-04-25T00:28:22+00:00" }, { "name": "wp-cli/core-command", - "version": "v2.0.3", + "version": "v2.0.6", "source": { "type": "git", "url": "https://github.com/wp-cli/core-command.git", - "reference": "54fdd306f5c6f136a9c4046358380eda4c92fd0c" + "reference": "14634828e559f69e2525fa9489635f301783aee8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/core-command/zipball/54fdd306f5c6f136a9c4046358380eda4c92fd0c", - "reference": "54fdd306f5c6f136a9c4046358380eda4c92fd0c", + "url": "https://api.github.com/repos/wp-cli/core-command/zipball/14634828e559f69e2525fa9489635f301783aee8", + "reference": "14634828e559f69e2525fa9489635f301783aee8", "shasum": "" }, "require": { "composer/semver": "^1.4", - "wp-cli/wp-cli": "^2.1" + "wp-cli/wp-cli": "^2.2" }, "require-dev": { "wp-cli/checksum-command": "^1 || ^2", "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -1984,20 +1989,20 @@ ], "description": "Downloads, installs, updates, and manages a WordPress installation.", "homepage": "https://github.com/wp-cli/core-command", - "time": "2018-12-18T16:55:35+00:00" + "time": "2019-04-25T05:45:44+00:00" }, { "name": "wp-cli/cron-command", - "version": "v2.0.1", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/cron-command.git", - "reference": "1eadbe6d729a24073d5ce00171f06b4b8c065a9b" + "reference": "b6d0c8ff69cc56d5316a35a7a2fcc314c4069585" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/cron-command/zipball/1eadbe6d729a24073d5ce00171f06b4b8c065a9b", - "reference": "1eadbe6d729a24073d5ce00171f06b4b8c065a9b", + "url": "https://api.github.com/repos/wp-cli/cron-command/zipball/b6d0c8ff69cc56d5316a35a7a2fcc314c4069585", + "reference": "b6d0c8ff69cc56d5316a35a7a2fcc314c4069585", "shasum": "" }, "require": { @@ -2005,7 +2010,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.11" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2046,20 +2051,20 @@ ], "description": "Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.", "homepage": "https://github.com/wp-cli/cron-command", - "time": "2018-11-24T09:09:49+00:00" + "time": "2019-04-24T07:31:46+00:00" }, { "name": "wp-cli/db-command", - "version": "v2.0.1", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/db-command.git", - "reference": "2ab6bd06619ef43cde96da47fa6c379be4fd79d2" + "reference": "dc0f8e4d5783d8a4ee01da1119b8fe8038fe1aa0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/db-command/zipball/2ab6bd06619ef43cde96da47fa6c379be4fd79d2", - "reference": "2ab6bd06619ef43cde96da47fa6c379be4fd79d2", + "url": "https://api.github.com/repos/wp-cli/db-command/zipball/dc0f8e4d5783d8a4ee01da1119b8fe8038fe1aa0", + "reference": "dc0f8e4d5783d8a4ee01da1119b8fe8038fe1aa0", "shasum": "" }, "require": { @@ -2067,7 +2072,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2116,20 +2121,20 @@ ], "description": "Performs basic database operations using credentials stored in wp-config.php.", "homepage": "https://github.com/wp-cli/db-command", - "time": "2018-12-17T08:15:29+00:00" + "time": "2019-04-25T00:28:40+00:00" }, { "name": "wp-cli/embed-command", - "version": "v2.0.1", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/embed-command.git", - "reference": "1de5709be6126731b6eb5094d0790a25f6572527" + "reference": "ce0c86217d9c0500666bd986ab17cae0ae33a41b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/embed-command/zipball/1de5709be6126731b6eb5094d0790a25f6572527", - "reference": "1de5709be6126731b6eb5094d0790a25f6572527", + "url": "https://api.github.com/repos/wp-cli/embed-command/zipball/ce0c86217d9c0500666bd986ab17cae0ae33a41b", + "reference": "ce0c86217d9c0500666bd986ab17cae0ae33a41b", "shasum": "" }, "require": { @@ -2137,7 +2142,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2179,20 +2184,20 @@ ], "description": "Inspects oEmbed providers, clears embed cache, and more.", "homepage": "https://github.com/wp-cli/embed-command", - "time": "2018-10-24T15:44:01+00:00" + "time": "2019-04-25T00:28:56+00:00" }, { "name": "wp-cli/entity-command", - "version": "v2.0.2", + "version": "v2.0.6", "source": { "type": "git", "url": "https://github.com/wp-cli/entity-command.git", - "reference": "459fba68b2423eb34b2942431c969d274ad89501" + "reference": "250ed0da61162819f601fa110251c7e4c5173f27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/459fba68b2423eb34b2942431c969d274ad89501", - "reference": "459fba68b2423eb34b2942431c969d274ad89501", + "url": "https://api.github.com/repos/wp-cli/entity-command/zipball/250ed0da61162819f601fa110251c7e4c5173f27", + "reference": "250ed0da61162819f601fa110251c7e4c5173f27", "shasum": "" }, "require": { @@ -2203,7 +2208,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", "wp-cli/media-command": "^1.1 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2385,27 +2390,27 @@ ], "description": "Manage WordPress comments, menus, options, posts, sites, terms, and users.", "homepage": "https://github.com/wp-cli/entity-command", - "time": "2018-12-12T17:04:32+00:00" + "time": "2019-04-25T04:51:40+00:00" }, { "name": "wp-cli/eval-command", - "version": "v2.0.3", + "version": "v2.0.4", "source": { "type": "git", "url": "https://github.com/wp-cli/eval-command.git", - "reference": "fc440912f9e89e1075082020594c5b301df025e5" + "reference": "47a4f1a910b6d88f090d776a80d893cf19ca2047" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/fc440912f9e89e1075082020594c5b301df025e5", - "reference": "fc440912f9e89e1075082020594c5b301df025e5", + "url": "https://api.github.com/repos/wp-cli/eval-command/zipball/47a4f1a910b6d88f090d776a80d893cf19ca2047", + "reference": "47a4f1a910b6d88f090d776a80d893cf19ca2047", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2" }, "require-dev": { - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2439,20 +2444,20 @@ ], "description": "Executes arbitrary PHP code or files.", "homepage": "https://github.com/wp-cli/eval-command", - "time": "2019-04-10T12:14:19+00:00" + "time": "2019-04-20T18:22:05+00:00" }, { "name": "wp-cli/export-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/export-command.git", - "reference": "81a5b244ed22e17e844614bcef9bc0711de25dd6" + "reference": "941acde17ec056e7aaeb041ecaed7869f2e64801" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/export-command/zipball/81a5b244ed22e17e844614bcef9bc0711de25dd6", - "reference": "81a5b244ed22e17e844614bcef9bc0711de25dd6", + "url": "https://api.github.com/repos/wp-cli/export-command/zipball/941acde17ec056e7aaeb041ecaed7869f2e64801", + "reference": "941acde17ec056e7aaeb041ecaed7869f2e64801", "shasum": "" }, "require": { @@ -2464,7 +2469,7 @@ "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", "wp-cli/import-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2497,20 +2502,20 @@ ], "description": "Exports WordPress content to a WXR file.", "homepage": "https://github.com/wp-cli/export-command", - "time": "2018-10-25T10:14:05+00:00" + "time": "2019-04-24T19:55:58+00:00" }, { "name": "wp-cli/extension-command", - "version": "v2.0.3", + "version": "v2.0.6", "source": { "type": "git", "url": "https://github.com/wp-cli/extension-command.git", - "reference": "5c7fbd9593d735a23aaee99cecdc89223dc037ae" + "reference": "7b4d4775a6a08493781b1ec67578f02a148ca23a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/5c7fbd9593d735a23aaee99cecdc89223dc037ae", - "reference": "5c7fbd9593d735a23aaee99cecdc89223dc037ae", + "url": "https://api.github.com/repos/wp-cli/extension-command/zipball/7b4d4775a6a08493781b1ec67578f02a148ca23a", + "reference": "7b4d4775a6a08493781b1ec67578f02a148ca23a", "shasum": "" }, "require": { @@ -2520,7 +2525,7 @@ "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2584,20 +2589,20 @@ ], "description": "Manages plugins and themes, including installs, activations, and updates.", "homepage": "https://github.com/wp-cli/extension-command", - "time": "2018-12-12T15:09:01+00:00" + "time": "2019-06-05T11:15:16+00:00" }, { "name": "wp-cli/i18n-command", - "version": "v2.1.0", + "version": "v2.1.2", "source": { "type": "git", "url": "https://github.com/wp-cli/i18n-command.git", - "reference": "3050d9c953aa108477957cde693f36fd6506948d" + "reference": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/3050d9c953aa108477957cde693f36fd6506948d", - "reference": "3050d9c953aa108477957cde693f36fd6506948d", + "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", + "reference": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "shasum": "" }, "require": { @@ -2607,7 +2612,7 @@ }, "require-dev": { "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2641,20 +2646,20 @@ ], "description": "Provides internationalization tools for WordPress projects.", "homepage": "https://github.com/wp-cli/i18n-command", - "time": "2018-12-05T16:57:17+00:00" + "time": "2019-04-25T00:31:04+00:00" }, { "name": "wp-cli/import-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/import-command.git", - "reference": "c923cbdb15b9a9158f639e1ddcc1d384922c293d" + "reference": "e28a7f55138ceb53f2ff5926874d8e5582c87db8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/import-command/zipball/c923cbdb15b9a9158f639e1ddcc1d384922c293d", - "reference": "c923cbdb15b9a9158f639e1ddcc1d384922c293d", + "url": "https://api.github.com/repos/wp-cli/import-command/zipball/e28a7f55138ceb53f2ff5926874d8e5582c87db8", + "reference": "e28a7f55138ceb53f2ff5926874d8e5582c87db8", "shasum": "" }, "require": { @@ -2664,7 +2669,7 @@ "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/export-command": "^1 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2697,20 +2702,20 @@ ], "description": "Imports content from a given WXR file.", "homepage": "https://github.com/wp-cli/import-command", - "time": "2018-12-09T21:21:23+00:00" + "time": "2019-04-19T14:32:57+00:00" }, { "name": "wp-cli/language-command", - "version": "v2.0.2", + "version": "v2.0.4", "source": { "type": "git", "url": "https://github.com/wp-cli/language-command.git", - "reference": "d0c7859b306b67062c2821f91ee583da2ef5357a" + "reference": "12197674eab3e1263fcadc9670cb57e916615c6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/language-command/zipball/d0c7859b306b67062c2821f91ee583da2ef5357a", - "reference": "d0c7859b306b67062c2821f91ee583da2ef5357a", + "url": "https://api.github.com/repos/wp-cli/language-command/zipball/12197674eab3e1263fcadc9670cb57e916615c6c", + "reference": "12197674eab3e1263fcadc9670cb57e916615c6c", "shasum": "" }, "require": { @@ -2720,7 +2725,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2772,20 +2777,77 @@ ], "description": "Installs, activates, and manages language packs.", "homepage": "https://github.com/wp-cli/language-command", - "time": "2018-12-04T16:02:39+00:00" + "time": "2019-04-25T00:31:43+00:00" + }, + { + "name": "wp-cli/maintenance-mode-command", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/wp-cli/maintenance-mode-command.git", + "reference": "db4671c14ea4c0c42f423a09cf8e9303778bb1a4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wp-cli/maintenance-mode-command/zipball/db4671c14ea4c0c42f423a09cf8e9303778bb1a4", + "reference": "db4671c14ea4c0c42f423a09cf8e9303778bb1a4", + "shasum": "" + }, + "require": { + "wp-cli/wp-cli": "^2" + }, + "require-dev": { + "wp-cli/wp-cli-tests": "^2.1" + }, + "type": "wp-cli-package", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + }, + "bundled": true, + "commands": [ + "maintenance-mode", + "maintenance-mode activate", + "maintenance-mode deactivate", + "maintenance-mode status", + "maintenance-mode is-active" + ] + }, + "autoload": { + "psr-4": { + "WP_CLI\\MaintenanceMode\\": "src/" + }, + "files": [ + "maintenance-mode-command.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Thrijith Thankachan", + "email": "thrijith13@gmail.com", + "homepage": "https://thrijith.com" + } + ], + "description": "Activates, deactivates or checks the status of the maintenance mode of a site.", + "homepage": "https://github.com/wp-cli/maintenance-mode-command", + "time": "2019-04-19T15:37:30+00:00" }, { "name": "wp-cli/media-command", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/media-command.git", - "reference": "b69c2b224e0b55ead0c44dfe7d248cc304004ceb" + "reference": "68e2402dcef11ae10e8902cf93a1d370db07ed78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/media-command/zipball/b69c2b224e0b55ead0c44dfe7d248cc304004ceb", - "reference": "b69c2b224e0b55ead0c44dfe7d248cc304004ceb", + "url": "https://api.github.com/repos/wp-cli/media-command/zipball/68e2402dcef11ae10e8902cf93a1d370db07ed78", + "reference": "68e2402dcef11ae10e8902cf93a1d370db07ed78", "shasum": "" }, "require": { @@ -2793,7 +2855,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2829,7 +2891,7 @@ ], "description": "Imports files as attachments, regenerates thumbnails, or lists registered image sizes.", "homepage": "https://github.com/wp-cli/media-command", - "time": "2018-12-18T12:20:48+00:00" + "time": "2019-04-21T04:50:58+00:00" }, { "name": "wp-cli/mustangostang-spyc", @@ -2881,16 +2943,16 @@ }, { "name": "wp-cli/package-command", - "version": "v2.0.4", + "version": "v2.0.5", "source": { "type": "git", "url": "https://github.com/wp-cli/package-command.git", - "reference": "9cd0995fe59b2cbcf1cadb81f93c0f1191de9209" + "reference": "52fea16f3cec0577b9c417a19ebc0f328c38d853" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/package-command/zipball/9cd0995fe59b2cbcf1cadb81f93c0f1191de9209", - "reference": "9cd0995fe59b2cbcf1cadb81f93c0f1191de9209", + "url": "https://api.github.com/repos/wp-cli/package-command/zipball/52fea16f3cec0577b9c417a19ebc0f328c38d853", + "reference": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "shasum": "" }, "require": { @@ -2900,7 +2962,7 @@ }, "require-dev": { "wp-cli/scaffold-command": "^1 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -2938,7 +3000,7 @@ ], "description": "Lists, installs, and removes WP-CLI packages.", "homepage": "https://github.com/wp-cli/package-command", - "time": "2018-12-18T17:19:48+00:00" + "time": "2019-04-24T09:34:35+00:00" }, { "name": "wp-cli/php-cli-tools", @@ -2992,16 +3054,16 @@ }, { "name": "wp-cli/rewrite-command", - "version": "v2.0.1", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/rewrite-command.git", - "reference": "6029d5f88cdc3b08beb6bd02b83fa653a4f46b4a" + "reference": "eb8cbcf9c1c874a09b50257a0e588c31f29df597" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/rewrite-command/zipball/6029d5f88cdc3b08beb6bd02b83fa653a4f46b4a", - "reference": "6029d5f88cdc3b08beb6bd02b83fa653a4f46b4a", + "url": "https://api.github.com/repos/wp-cli/rewrite-command/zipball/eb8cbcf9c1c874a09b50257a0e588c31f29df597", + "reference": "eb8cbcf9c1c874a09b50257a0e588c31f29df597", "shasum": "" }, "require": { @@ -3009,7 +3071,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3045,27 +3107,27 @@ ], "description": "Lists or flushes the site's rewrite rules, updates the permalink structure.", "homepage": "https://github.com/wp-cli/rewrite-command", - "time": "2018-10-25T10:16:18+00:00" + "time": "2019-04-25T00:32:04+00:00" }, { "name": "wp-cli/role-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/role-command.git", - "reference": "5779d872098c7fd6f2a5aee61a03c4b8d294b8e6" + "reference": "c6071d06d64c165588734b0d1c96f5c3dfa75736" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/role-command/zipball/5779d872098c7fd6f2a5aee61a03c4b8d294b8e6", - "reference": "5779d872098c7fd6f2a5aee61a03c4b8d294b8e6", + "url": "https://api.github.com/repos/wp-cli/role-command/zipball/c6071d06d64c165588734b0d1c96f5c3dfa75736", + "reference": "c6071d06d64c165588734b0d1c96f5c3dfa75736", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2" }, "require-dev": { - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3107,20 +3169,20 @@ ], "description": "Adds, removes, lists, and resets roles and capabilities.", "homepage": "https://github.com/wp-cli/role-command", - "time": "2018-10-25T10:16:04+00:00" + "time": "2019-04-25T00:32:18+00:00" }, { "name": "wp-cli/scaffold-command", - "version": "v2.0.4", + "version": "v2.0.6", "source": { "type": "git", "url": "https://github.com/wp-cli/scaffold-command.git", - "reference": "1c5530e8692b91d2d343042620717a8bb2ab2573" + "reference": "9c6450e9ccf2d032913fced69f3188bc8ec4e3e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/scaffold-command/zipball/1c5530e8692b91d2d343042620717a8bb2ab2573", - "reference": "1c5530e8692b91d2d343042620717a8bb2ab2573", + "url": "https://api.github.com/repos/wp-cli/scaffold-command/zipball/9c6450e9ccf2d032913fced69f3188bc8ec4e3e6", + "reference": "9c6450e9ccf2d032913fced69f3188bc8ec4e3e6", "shasum": "" }, "require": { @@ -3128,7 +3190,7 @@ }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3138,7 +3200,7 @@ "bundled": true, "commands": [ "scaffold", - "scaffold _s", + "scaffold underscores", "scaffold block", "scaffold child-theme", "scaffold plugin", @@ -3169,20 +3231,20 @@ ], "description": "Generates code for post types, taxonomies, blocks, plugins, child themes, etc.", "homepage": "https://github.com/wp-cli/scaffold-command", - "time": "2018-12-18T12:19:52+00:00" + "time": "2019-04-25T00:44:34+00:00" }, { "name": "wp-cli/search-replace-command", - "version": "v2.0.1", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/search-replace-command.git", - "reference": "3e5b96932b40e196e3de071ab2cbeaf12f19ef32" + "reference": "7d02c54facf039577ff13c7b7bb100e4757d85fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/search-replace-command/zipball/3e5b96932b40e196e3de071ab2cbeaf12f19ef32", - "reference": "3e5b96932b40e196e3de071ab2cbeaf12f19ef32", + "url": "https://api.github.com/repos/wp-cli/search-replace-command/zipball/7d02c54facf039577ff13c7b7bb100e4757d85fd", + "reference": "7d02c54facf039577ff13c7b7bb100e4757d85fd", "shasum": "" }, "require": { @@ -3192,7 +3254,7 @@ "wp-cli/db-command": "^1.3 || ^2", "wp-cli/entity-command": "^1.3 || ^2", "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3225,27 +3287,27 @@ ], "description": "Searches/replaces strings in the database.", "homepage": "https://github.com/wp-cli/search-replace-command", - "time": "2018-12-12T01:12:14+00:00" + "time": "2019-04-25T00:32:46+00:00" }, { "name": "wp-cli/server-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/server-command.git", - "reference": "29635948d6a885bc4fea4c106f1a17f6745bd139" + "reference": "c900a1036c29991420296b66a14ed771245c61a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/server-command/zipball/29635948d6a885bc4fea4c106f1a17f6745bd139", - "reference": "29635948d6a885bc4fea4c106f1a17f6745bd139", + "url": "https://api.github.com/repos/wp-cli/server-command/zipball/c900a1036c29991420296b66a14ed771245c61a2", + "reference": "c900a1036c29991420296b66a14ed771245c61a2", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2" }, "require-dev": { - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3278,27 +3340,27 @@ ], "description": "Launches PHP's built-in web server for a specific WordPress installation.", "homepage": "https://github.com/wp-cli/server-command", - "time": "2018-10-25T10:15:46+00:00" + "time": "2019-04-21T09:58:15+00:00" }, { "name": "wp-cli/shell-command", - "version": "v2.0.2", + "version": "v2.0.3", "source": { "type": "git", "url": "https://github.com/wp-cli/shell-command.git", - "reference": "bd6a2edc208386052c22012435e5d10b2b838ac5" + "reference": "56f0ff1bc36f6da2fb73cb932214adcde58270d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/shell-command/zipball/bd6a2edc208386052c22012435e5d10b2b838ac5", - "reference": "bd6a2edc208386052c22012435e5d10b2b838ac5", + "url": "https://api.github.com/repos/wp-cli/shell-command/zipball/56f0ff1bc36f6da2fb73cb932214adcde58270d8", + "reference": "56f0ff1bc36f6da2fb73cb932214adcde58270d8", "shasum": "" }, "require": { "wp-cli/wp-cli": "^2" }, "require-dev": { - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3332,20 +3394,20 @@ ], "description": "Opens an interactive PHP console for running and testing PHP code.", "homepage": "https://github.com/wp-cli/shell-command", - "time": "2019-01-29T17:06:33+00:00" + "time": "2019-04-22T13:16:49+00:00" }, { "name": "wp-cli/super-admin-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/super-admin-command.git", - "reference": "41868c9e0c92740874c7734335a252684a2988d2" + "reference": "bd1543c9a3360d0e21d7e00e1c597964bd805d7c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/super-admin-command/zipball/41868c9e0c92740874c7734335a252684a2988d2", - "reference": "41868c9e0c92740874c7734335a252684a2988d2", + "url": "https://api.github.com/repos/wp-cli/super-admin-command/zipball/bd1543c9a3360d0e21d7e00e1c597964bd805d7c", + "reference": "bd1543c9a3360d0e21d7e00e1c597964bd805d7c", "shasum": "" }, "require": { @@ -3353,7 +3415,7 @@ }, "require-dev": { "wp-cli/entity-command": "^1.3 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3389,20 +3451,20 @@ ], "description": "Lists, adds, or removes super admin users on a multisite installation.", "homepage": "https://github.com/wp-cli/super-admin-command", - "time": "2018-10-25T10:15:29+00:00" + "time": "2019-04-20T20:47:36+00:00" }, { "name": "wp-cli/widget-command", - "version": "v2.0.1", + "version": "v2.0.2", "source": { "type": "git", "url": "https://github.com/wp-cli/widget-command.git", - "reference": "741ea98193cd228afe722b30abf6656440c074e9" + "reference": "58a1b2d2221cee852eb8a589535aaadb1217bb74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/widget-command/zipball/741ea98193cd228afe722b30abf6656440c074e9", - "reference": "741ea98193cd228afe722b30abf6656440c074e9", + "url": "https://api.github.com/repos/wp-cli/widget-command/zipball/58a1b2d2221cee852eb8a589535aaadb1217bb74", + "reference": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "shasum": "" }, "require": { @@ -3410,7 +3472,7 @@ }, "require-dev": { "wp-cli/extension-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "type": "wp-cli-package", "extra": { @@ -3452,28 +3514,26 @@ ], "description": "Adds, moves, and removes widgets; lists sidebars.", "homepage": "https://github.com/wp-cli/widget-command", - "time": "2018-10-25T10:15:19+00:00" + "time": "2019-04-25T00:25:21+00:00" }, { "name": "wp-cli/wp-cli", - "version": "v2.1.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli.git", - "reference": "6dde820a8f6f183f4b6d751e5be1cd343974f333" + "reference": "193f08f48585326bc1f1648349201531eeda2ee5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/6dde820a8f6f183f4b6d751e5be1cd343974f333", - "reference": "6dde820a8f6f183f4b6d751e5be1cd343974f333", + "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/193f08f48585326bc1f1648349201531eeda2ee5", + "reference": "193f08f48585326bc1f1648349201531eeda2ee5", "shasum": "" }, "require": { "ext-curl": "*", - "ext-readline": "*", "mustache/mustache": "~2.4", - "php": ">=5.4", - "ramsey/array_column": "~1.1", + "php": "^5.4 || ^7.0", "rmccue/requests": "~1.6", "symfony/finder": ">2.7", "wp-cli/mustangostang-spyc": "^0.6.3", @@ -3485,9 +3545,10 @@ "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.0.8" + "wp-cli/wp-cli-tests": "^2.1" }, "suggest": { + "ext-readline": "Include for a better --prompt implementation", "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates" }, "bin": [ @@ -3515,20 +3576,20 @@ "cli", "wordpress" ], - "time": "2018-12-18T17:37:51+00:00" + "time": "2019-04-25T05:38:33+00:00" }, { "name": "wp-cli/wp-cli-bundle", - "version": "v2.1.0", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/wp-cli/wp-cli-bundle.git", - "reference": "ae5557d7c5ece7dd682bca5784234d543d29dc5b" + "reference": "ddf9a236ef0d85fcc5336f8c87cebe0dd62ee81f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/wp-cli-bundle/zipball/ae5557d7c5ece7dd682bca5784234d543d29dc5b", - "reference": "ae5557d7c5ece7dd682bca5784234d543d29dc5b", + "url": "https://api.github.com/repos/wp-cli/wp-cli-bundle/zipball/ddf9a236ef0d85fcc5336f8c87cebe0dd62ee81f", + "reference": "ddf9a236ef0d85fcc5336f8c87cebe0dd62ee81f", "shasum": "" }, "require": { @@ -3547,6 +3608,7 @@ "wp-cli/i18n-command": "^2", "wp-cli/import-command": "^2", "wp-cli/language-command": "^2", + "wp-cli/maintenance-mode-command": "^2", "wp-cli/media-command": "^2", "wp-cli/package-command": "^2", "wp-cli/rewrite-command": "^2", @@ -3557,11 +3619,11 @@ "wp-cli/shell-command": "^2", "wp-cli/super-admin-command": "^2", "wp-cli/widget-command": "^2", - "wp-cli/wp-cli": "^2.1.0" + "wp-cli/wp-cli": "^2.2" }, "require-dev": { "roave/security-advisories": "dev-master", - "wp-cli/wp-cli-tests": "^2.0.7" + "wp-cli/wp-cli-tests": "^2.1" }, "suggest": { "psy/psysh": "Enhanced `wp shell` functionality" @@ -3582,7 +3644,7 @@ "cli", "wordpress" ], - "time": "2018-12-19T08:32:18+00:00" + "time": "2019-04-25T06:30:44+00:00" }, { "name": "wp-cli/wp-config-transformer", @@ -3633,12 +3695,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "9c6c45a2bf8825209fc18861ff666a90f4d878cf" + "reference": "acc661e72817c7030b7b2af7d2f226bee9b93094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/9c6c45a2bf8825209fc18861ff666a90f4d878cf", - "reference": "9c6c45a2bf8825209fc18861ff666a90f4d878cf", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/acc661e72817c7030b7b2af7d2f226bee9b93094", + "reference": "acc661e72817c7030b7b2af7d2f226bee9b93094", "shasum": "" }, "conflict": { @@ -3652,14 +3714,14 @@ "aws/aws-sdk-php": ">=3,<3.2.1", "brightlocal/phpwhois": "<=4.2.5", "bugsnag/bugsnag-laravel": ">=2,<2.0.2", - "cakephp/cakephp": ">=1.3,<1.3.18|>=2,<2.4.99|>=2.5,<2.5.99|>=2.6,<2.6.12|>=2.7,<2.7.6|>=3,<3.0.15|>=3.1,<3.1.4|>=3.4,<3.4.14|>=3.5,<3.5.17|>=3.6,<3.6.4", + "cakephp/cakephp": ">=1.3,<1.3.18|>=2,<2.4.99|>=2.5,<2.5.99|>=2.6,<2.6.12|>=2.7,<2.7.6|>=3,<3.5.18|>=3.6,<3.6.15|>=3.7,<3.7.7", "cart2quote/module-quotation": ">=4.1.6,<=4.4.5|>=5,<5.4.4", "cartalyst/sentry": "<=2.1.6", "codeigniter/framework": "<=3.0.6", - "composer/composer": "<=1.0.0-alpha11", + "composer/composer": "<=1-alpha.11", "contao-components/mediaelement": ">=2.14.2,<2.21.1", "contao/core": ">=2,<3.5.39", - "contao/core-bundle": ">=4,<4.4.37|>=4.5,<4.7.3", + "contao/core-bundle": ">=4,<4.4.39|>=4.5,<4.7.5", "contao/listing-bundle": ">=4,<4.4.8", "contao/newsletter-bundle": ">=4,<4.1", "david-garcia/phpwhois": "<=4.3.1", @@ -3673,8 +3735,8 @@ "doctrine/mongodb-odm-bundle": ">=2,<3.0.1", "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1", "dompdf/dompdf": ">=0.6,<0.6.2", - "drupal/core": ">=7,<7.65|>=8,<8.5.14|>=8.6,<8.6.14", - "drupal/drupal": ">=7,<7.65|>=8,<8.5.14|>=8.6,<8.6.14", + "drupal/core": ">=7,<7.67|>=8,<8.6.16|>=8.7,<8.7.1", + "drupal/drupal": ">=7,<7.67|>=8,<8.6.16|>=8.7,<8.7.1", "erusev/parsedown": "<1.7.2", "ezsystems/ezpublish-kernel": ">=5.3,<5.3.12.1|>=5.4,<5.4.13.1|>=6,<6.7.9.1|>=6.8,<6.13.5.1|>=7,<7.2.4.1|>=7.3,<7.3.2.1", "ezsystems/ezpublish-legacy": ">=5.3,<5.3.12.6|>=5.4,<5.4.12.3|>=2011,<2017.12.4.3|>=2018.6,<2018.6.1.4|>=2018.9,<2018.9.1.3", @@ -3688,7 +3750,7 @@ "fuel/core": "<1.8.1", "gree/jose": "<=2.2", "gregwar/rst": "<1.0.3", - "guzzlehttp/guzzle": ">=6,<6.2.1|>=4.0.0-rc2,<4.2.4|>=5,<5.3.1", + "guzzlehttp/guzzle": ">=4-rc.2,<4.2.4|>=5,<5.3.1|>=6,<6.2.1", "illuminate/auth": ">=4,<4.0.99|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.10", "illuminate/cookie": ">=4,<=4.0.11|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.42|>=5.6,<5.6.30", "illuminate/database": ">=4,<4.0.99|>=4.1,<4.1.29", @@ -3703,9 +3765,9 @@ "laravel/framework": ">=4,<4.0.99|>=4.1,<=4.1.31|>=4.2,<=4.2.22|>=5,<=5.0.35|>=5.1,<=5.1.46|>=5.2,<=5.2.45|>=5.3,<=5.3.31|>=5.4,<=5.4.36|>=5.5,<5.5.42|>=5.6,<5.6.30", "laravel/socialite": ">=1,<1.0.99|>=2,<2.0.10", "league/commonmark": "<0.18.3", - "magento/magento1ce": "<1.9.4", - "magento/magento1ee": ">=1.9,<1.14.4", - "magento/product-community-edition": ">=2,<2.2.7", + "magento/magento1ce": "<1.9.4.1", + "magento/magento1ee": ">=1.9,<1.14.4.1", + "magento/product-community-edition": ">=2,<2.2.8|>=2.3,<2.3.1", "monolog/monolog": ">=1.8,<1.12", "namshi/jose": "<2.2", "onelogin/php-saml": "<2.10.4", @@ -3723,7 +3785,7 @@ "phpunit/phpunit": ">=4.8.19,<4.8.28|>=5.0.10,<5.6.3", "phpwhois/phpwhois": "<=4.2.5", "phpxmlrpc/extras": "<0.6.1", - "propel/propel": ">=2.0.0-alpha1,<=2.0.0-alpha7", + "propel/propel": ">=2-alpha.1,<=2-alpha.7", "propel/propel1": ">=1,<=1.7.1", "pusher/pusher-php-server": "<2.2.1", "robrichards/xmlseclibs": ">=1,<3.0.2", @@ -3733,11 +3795,14 @@ "shopware/shopware": "<5.3.7", "silverstripe/cms": ">=3,<=3.0.11|>=3.1,<3.1.11", "silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3", - "silverstripe/framework": ">=3,<3.6.7|>=3.7,<3.7.3|>=4,<4.0.7|>=4.1,<4.1.5|>=4.2,<4.2.4|>=4.3,<4.3.1", + "silverstripe/framework": ">=3,<3.6.7|>=3.7,<3.7.3|>=4,<4.4", + "silverstripe/graphql": ">=2,<2.0.5|>=3,<3.1.2", + "silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1", + "silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4", "silverstripe/userforms": "<3", "simple-updates/phpwhois": "<=1", "simplesamlphp/saml2": "<1.10.6|>=2,<2.3.8|>=3,<3.1.4", - "simplesamlphp/simplesamlphp": "<1.16.3", + "simplesamlphp/simplesamlphp": "<1.15.2|>=1.16,<1.16.3", "simplesamlphp/simplesamlphp-module-infocard": "<1.0.1", "slim/slim": "<2.6", "smarty/smarty": "<3.1.33", @@ -3747,39 +3812,45 @@ "stormpath/sdk": ">=0,<9.9.99", "swiftmailer/swiftmailer": ">=4,<5.4.5", "sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2", - "sylius/sylius": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2", - "symfony/dependency-injection": ">=2,<2.0.17", + "sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", + "sylius/grid-bundle": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1", + "sylius/sylius": ">=1,<1.1.18|>=1.2,<1.2.17|>=1.3,<1.3.12|>=1.4,<1.4.4", + "symfony/cache": ">=3.2,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/dependency-injection": ">=2,<2.0.17|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/form": ">=2.3,<2.3.35|>=2.4,<2.6.12|>=2.7,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", - "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2", - "symfony/http-foundation": ">=2,<2.7.49|>=2.8,<2.8.44|>=3,<3.3.18|>=3.4,<3.4.14|>=4,<4.0.14|>=4.1,<4.1.3", + "symfony/framework-bundle": ">=2,<2.3.18|>=2.4,<2.4.8|>=2.5,<2.5.2|>=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", + "symfony/http-foundation": ">=2,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/http-kernel": ">=2,<2.3.29|>=2.4,<2.5.12|>=2.6,<2.6.8", "symfony/intl": ">=2.7,<2.7.38|>=2.8,<2.8.31|>=3,<3.2.14|>=3.3,<3.3.13", + "symfony/phpunit-bridge": ">=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/polyfill": ">=1,<1.10", "symfony/polyfill-php55": ">=1,<1.10", + "symfony/proxy-manager-bridge": ">=2.7,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/routing": ">=2,<2.0.19", - "symfony/security": ">=2,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.19|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", + "symfony/security": ">=2,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/security-bundle": ">=2,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", "symfony/security-core": ">=2.4,<2.6.13|>=2.7,<2.7.9|>=2.7.30,<2.7.32|>=2.8,<2.8.37|>=3,<3.3.17|>=3.4,<3.4.7|>=4,<4.0.7", "symfony/security-csrf": ">=2.4,<2.7.48|>=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", "symfony/security-guard": ">=2.8,<2.8.41|>=3,<3.3.17|>=3.4,<3.4.11|>=4,<4.0.11", - "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", + "symfony/security-http": ">=2.3,<2.3.41|>=2.4,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/serializer": ">=2,<2.0.11", - "symfony/symfony": ">=2,<2.7.50|>=2.8,<2.8.49|>=3,<3.4.20|>=4,<4.0.15|>=4.1,<4.1.9|>=4.2,<4.2.1", + "symfony/symfony": ">=2,<2.7.51|>=2.8,<2.8.50|>=3,<3.4.26|>=4,<4.1.12|>=4.2,<4.2.7", "symfony/translation": ">=2,<2.0.17", "symfony/validator": ">=2,<2.0.24|>=2.1,<2.1.12|>=2.2,<2.2.5|>=2.3,<2.3.3", "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", "symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7", "tecnickcom/tcpdf": "<6.2.22", "thelia/backoffice-default-template": ">=2.1,<2.1.2", - "thelia/thelia": ">=2.1,<2.1.2|>=2.1.0-beta1,<2.1.3", + "thelia/thelia": ">=2.1-beta.1,<2.1.3", "theonedemon/phpwhois": "<=4.2.5", "titon/framework": ">=0,<9.9.99", "truckersmp/phpwhois": "<=4.3.1", "twig/twig": "<1.38|>=2,<2.7", - "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.23|>=9,<9.5.4", - "typo3/cms-core": ">=8,<8.7.23|>=9,<9.5.4", + "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.25|>=9,<9.5.6", + "typo3/cms-core": ">=8,<8.7.25|>=9,<9.5.6", "typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.10|>=3.1,<3.1.7|>=3.2,<3.2.7|>=3.3,<3.3.5", "typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4", + "typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1", "ua-parser/uap-php": "<3.8", "wallabag/tcpdf": "<6.2.22", "willdurand/js-translation-bundle": "<2.1.1", @@ -3830,7 +3901,7 @@ } ], "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", - "time": "2019-04-18T06:59:35+00:00" + "time": "2019-06-11T05:51:05+00:00" }, { "name": "squizlabs/php_codesniffer", diff -r 30f2ac9a7656 -r 1921d064475c src/web/app/mu-plugins/bedrock-autoloader.php --- a/src/web/app/mu-plugins/bedrock-autoloader.php Fri Jun 14 14:36:17 2019 +0200 +++ b/src/web/app/mu-plugins/bedrock-autoloader.php Fri Jun 14 14:49:14 2019 +0200 @@ -23,38 +23,39 @@ */ class Autoloader { + /** @var static Singleton instance */ + private static $instance; + /** @var array Store Autoloader cache and site option */ - private static $cache; + private $cache; /** @var array Autoloaded plugins */ - private static $auto_plugins; + private $autoPlugins; /** @var array Autoloaded mu-plugins */ - private static $mu_plugins; + private $muPlugins; /** @var int Number of plugins */ - private static $count; + private $count; /** @var array Newly activated plugins */ - private static $activated; + private $activated; /** @var string Relative path to the mu-plugins dir */ - private static $relative_path; - - /** @var static Singleton instance */ - private static $_single; + private $relativePath; /** * Create singleton, populate vars, and set WordPress hooks */ public function __construct() { - if (isset(self::$_single)) { + if (isset(self::$instance)) { return; } - self::$_single = $this; - self::$relative_path = '/../' . basename(__DIR__); + self::$instance = $this; + + $this->relativePath = '/../' . basename(__DIR__); if (is_admin()) { add_filter('show_advanced_plugins', [$this, 'showInAdmin'], 0, 2); @@ -74,7 +75,7 @@ array_map(static function () { include_once WPMU_PLUGIN_DIR . '/' . func_get_args()[0]; - }, array_keys(self::$cache['plugins'])); + }, array_keys($this->cache['plugins'])); $this->pluginHooks(); } @@ -97,12 +98,12 @@ $this->updateCache(); - self::$auto_plugins = array_map(function ($auto_plugin) { + $this->autoPlugins = array_map(function ($auto_plugin) { $auto_plugin['Name'] .= ' *'; return $auto_plugin; - }, self::$auto_plugins); + }, $this->autoPlugins); - $GLOBALS['plugins']['mustuse'] = array_unique(array_merge(self::$auto_plugins, self::$mu_plugins), SORT_REGULAR); + $GLOBALS['plugins']['mustuse'] = array_unique(array_merge($this->autoPlugins, $this->muPlugins), SORT_REGULAR); return false; } @@ -114,12 +115,12 @@ { $cache = get_site_option('bedrock_autoloader'); - if ($cache === false) { + if ($cache === false || (isset($cache['plugins'], $cache['count']) && count($cache['plugins']) !== $cache['count'])) { $this->updateCache(); return; } - self::$cache = $cache; + $this->cache = $cache; } /** @@ -131,14 +132,14 @@ { require_once ABSPATH . 'wp-admin/includes/plugin.php'; - self::$auto_plugins = get_plugins(self::$relative_path); - self::$mu_plugins = get_mu_plugins(); - $plugins = array_diff_key(self::$auto_plugins, self::$mu_plugins); - $rebuild = !is_array(self::$cache['plugins']); - self::$activated = $rebuild ? $plugins : array_diff_key($plugins, self::$cache['plugins']); - self::$cache = ['plugins' => $plugins, 'count' => $this->countPlugins()]; + $this->autoPlugins = get_plugins($this->relativePath); + $this->muPlugins = get_mu_plugins(); + $plugins = array_diff_key($this->autoPlugins, $this->muPlugins); + $rebuild = !is_array($this->cache['plugins']); + $this->activated = $rebuild ? $plugins : array_diff_key($plugins, $this->cache['plugins']); + $this->cache = ['plugins' => $plugins, 'count' => $this->countPlugins()]; - update_site_option('bedrock_autoloader', self::$cache); + update_site_option('bedrock_autoloader', $this->cache); } /** @@ -148,11 +149,11 @@ */ private function pluginHooks() { - if (!is_array(self::$activated)) { + if (!is_array($this->activated)) { return; } - foreach (self::$activated as $plugin_file => $plugin_info) { + foreach ($this->activated as $plugin_file => $plugin_info) { do_action('activate_' . $plugin_file); } } @@ -162,7 +163,7 @@ */ private function validatePlugins() { - foreach (self::$cache['plugins'] as $plugin_file => $plugin_info) { + foreach ($this->cache['plugins'] as $plugin_file => $plugin_info) { if (!file_exists(WPMU_PLUGIN_DIR . '/' . $plugin_file)) { $this->updateCache(); break; @@ -180,18 +181,18 @@ */ private function countPlugins() { - if (isset(self::$count)) { - return self::$count; + if (isset($this->count)) { + return $this->count; } $count = count(glob(WPMU_PLUGIN_DIR . '/*/', GLOB_ONLYDIR | GLOB_NOSORT)); - if (!isset(self::$cache['count']) || $count !== self::$cache['count']) { - self::$count = $count; + if (!isset($this->cache['count']) || $count !== $this->cache['count']) { + $this->count = $count; $this->updateCache(); } - return self::$count; + return $this->count; } }