From 1c9842d1897693c0c93cc92a38ea11520a8108c4 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Mon, 21 Oct 2019 15:59:46 +0100 Subject: [PATCH] =?UTF-8?q?Issue=20#3088369=20by=20mikelutz,=20alexpott,?= =?UTF-8?q?=20Berdir,=20G=C3=A1bor=20Hojtsy,=20andypost,=20martin107,=20gr?= =?UTF-8?q?eg.1.anderson,=20dawehner,=20jibran,=20Wim=20Leers,=20Mile23,?= =?UTF-8?q?=20catch:=20Update=20Drupal=209=20to=20Symfony=204.4-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 15 +- composer.lock | 1141 ++++++++++++----- core/composer.json | 26 +- .../DependencyInjection/composer.json | 2 +- .../Component/EventDispatcher/composer.json | 4 +- .../Component/HttpFoundation/composer.json | 2 +- .../lib/Drupal/Component/Plugin/composer.json | 2 +- .../Component/Serialization/composer.json | 2 +- core/modules/simpletest/src/WebTestBase.php | 2 +- .../Installer/Form/SelectProfileFormTest.php | 19 +- .../Listeners/DeprecationListenerTrait.php | 52 +- 11 files changed, 894 insertions(+), 373 deletions(-) diff --git a/composer.json b/composer.json index 1bd76c125e4b..f99913123ef4 100644 --- a/composer.json +++ b/composer.json @@ -20,14 +20,15 @@ "mikey179/vfsstream": "^1.2", "phpunit/phpunit": "^6.5 || ^7", "phpspec/prophecy": "^1.7", - "symfony/css-selector": "^3.4.0", - "symfony/phpunit-bridge": "^3.4.3", - "symfony/debug": "^3.4.0", + "symfony/css-selector": "^4.4", + "symfony/phpunit-bridge": "^4.4", + "symfony/debug": "^4.4", "justinrainbow/json-schema": "^5.2", - "symfony/filesystem": "~3.4.0", - "symfony/finder": "~3.4.0", - "symfony/lock": "~3.4.0", - "symfony/browser-kit": "^3.4.0" + "symfony/filesystem": "^4.4", + "symfony/finder": "^4.4", + "symfony/lock": "^4.4", + "symfony/browser-kit": "^4.4", + "symfony/dom-crawler": "^4.4" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/composer.lock b/composer.lock index 99acea0e9830..0bba6e6151e5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8ba406bd7f3522d51f0e55fe33e51aff", + "content-hash": "cd5ae3ea749af8e8c920008ef6c69d05", "packages": [ { "name": "asm89/stack-cors", @@ -653,7 +653,7 @@ "dist": { "type": "path", "url": "core", - "reference": "8f9baa64e9b695577dfeca74d0882b9509cced80" + "reference": "1d60dcc9ae7937cd50c1fb7f4ea3bf7bdc5a2e3c" }, "require": { "asm89/stack-cors": "^1.1", @@ -680,21 +680,21 @@ "pear/archive_tar": "^1.4.5", "php": ">=7.2.3", "stack/builder": "^1.0", - "symfony-cmf/routing": "^1.4", + "symfony-cmf/routing": "^2.1", "symfony/class-loader": "~3.4.0", - "symfony/console": "~3.4.0", - "symfony/dependency-injection": "~3.4.26", - "symfony/event-dispatcher": "~3.4.0", - "symfony/http-foundation": "~3.4.27", - "symfony/http-kernel": "~3.4.14", + "symfony/console": "^4.4", + "symfony/dependency-injection": "^4.4", + "symfony/event-dispatcher": "^4.4", + "symfony/http-foundation": "^4.4", + "symfony/http-kernel": "^4.4", "symfony/polyfill-iconv": "^1.0", - "symfony/process": "~3.4.0", - "symfony/psr-http-message-bridge": "^1.1.2", - "symfony/routing": "~3.4.0", - "symfony/serializer": "~3.4.0", - "symfony/translation": "~3.4.0", - "symfony/validator": "~3.4.0", - "symfony/yaml": "~3.4.5", + "symfony/process": "^4.4", + "symfony/psr-http-message-bridge": "^1.2.0", + "symfony/routing": "^4.4", + "symfony/serializer": "^4.4", + "symfony/translation": "^4.4", + "symfony/validator": "^4.4", + "symfony/yaml": "^4.4", "twig/twig": "^1.38.2", "typo3/phar-stream-wrapper": "^3.1.2", "zendframework/zend-diactoros": ">=1.7 <1.8", @@ -1215,31 +1215,33 @@ }, { "name": "masterminds/html5", - "version": "2.3.0", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/Masterminds/html5-php.git", - "reference": "2c37c6c520b995b761674de3be8455a381679067" + "reference": "104443ad663d15981225f99532ba73c2f1d6b6f2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/2c37c6c520b995b761674de3be8455a381679067", - "reference": "2c37c6c520b995b761674de3be8455a381679067", + "url": "https://api.github.com/repos/Masterminds/html5-php/zipball/104443ad663d15981225f99532ba73c2f1d6b6f2", + "reference": "104443ad663d15981225f99532ba73c2f1d6b6f2", "shasum": "" }, "require": { + "ext-ctype": "*", + "ext-dom": "*", "ext-libxml": "*", "php": ">=5.3.0" }, "require-dev": { - "phpunit/phpunit": "4.*", + "phpunit/phpunit": "^4.8.35", "sami/sami": "~2.0", "satooshi/php-coveralls": "1.0.*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.7-dev" } }, "autoload": { @@ -1256,13 +1258,13 @@ "name": "Matt Butcher", "email": "technosophos@gmail.com" }, - { - "name": "Asmir Mustafic", - "email": "goetas@gmail.com" - }, { "name": "Matt Farina", "email": "matt@mattfarina.com" + }, + { + "name": "Asmir Mustafic", + "email": "goetas@gmail.com" } ], "description": "An HTML5 parser and serializer.", @@ -1276,52 +1278,7 @@ "serializer", "xml" ], - "time": "2017-09-04T12:26:28+00:00" - }, - { - "name": "paragonie/random_compat", - "version": "v9.99.99", - "source": { - "type": "git", - "url": "https://github.com/paragonie/random_compat.git", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", - "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", - "shasum": "" - }, - "require": { - "php": "^7" - }, - "require-dev": { - "phpunit/phpunit": "4.*|5.*", - "vimeo/psalm": "^1" - }, - "suggest": { - "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." - }, - "type": "library", - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Paragon Initiative Enterprises", - "email": "security@paragonie.com", - "homepage": "https://paragonie.com" - } - ], - "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", - "keywords": [ - "csprng", - "polyfill", - "pseudorandom", - "random" - ], - "time": "2018-07-02T15:55:56+00:00" + "time": "2019-07-25T07:03:26+00:00" }, { "name": "pear/archive_tar", @@ -1772,30 +1729,30 @@ }, { "name": "symfony-cmf/routing", - "version": "1.4.1", + "version": "2.1.0", "source": { "type": "git", - "url": "https://github.com/symfony-cmf/routing.git", - "reference": "fb1e7f85ff8c6866238b7e73a490a0a0243ae8ac" + "url": "https://github.com/symfony-cmf/Routing.git", + "reference": "7370dfb0ef9803d9d84f74d023c9f0f66eb13125" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony-cmf/routing/zipball/fb1e7f85ff8c6866238b7e73a490a0a0243ae8ac", - "reference": "fb1e7f85ff8c6866238b7e73a490a0a0243ae8ac", + "url": "https://api.github.com/repos/symfony-cmf/Routing/zipball/7370dfb0ef9803d9d84f74d023c9f0f66eb13125", + "reference": "7370dfb0ef9803d9d84f74d023c9f0f66eb13125", "shasum": "" }, "require": { - "php": "^5.3.9|^7.0", - "psr/log": "1.*", - "symfony/http-kernel": "^2.2|3.*", - "symfony/routing": "^2.2|3.*" + "php": "^7.1", + "psr/log": "^1.0", + "symfony/http-kernel": "^2.8 || ^3.3 || ^4.0", + "symfony/routing": "^2.8 || ^3.3 || ^4.0" }, "require-dev": { - "friendsofsymfony/jsrouting-bundle": "^1.1", - "symfony-cmf/testing": "^1.3", - "symfony/config": "^2.2|3.*", - "symfony/dependency-injection": "^2.0.5|3.*", - "symfony/event-dispatcher": "^2.1|3.*" + "symfony-cmf/testing": "^2.1.0", + "symfony/config": "^2.8 || ^3.3 || ^4.0", + "symfony/dependency-injection": "^2.8 || ^3.3 || ^4.0", + "symfony/event-dispatcher": "^2.8 || ^3.3 || ^4.0", + "symfony/phpunit-bridge": "^3.3 || ^4.0" }, "suggest": { "symfony/event-dispatcher": "DynamicRouter can optionally trigger an event at the start of matching. Minimal version (~2.1)" @@ -1803,12 +1760,12 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "2.1-dev" } }, "autoload": { "psr-4": { - "Symfony\\Cmf\\Component\\Routing\\": "" + "Symfony\\Cmf\\Component\\Routing\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1821,13 +1778,13 @@ "homepage": "https://github.com/symfony-cmf/Routing/contributors" } ], - "description": "Extends the Symfony2 routing component for dynamic routes and chaining several routers", + "description": "Extends the Symfony routing component for dynamic routes and chaining several routers", "homepage": "http://cmf.symfony.com", "keywords": [ "database", "routing" ], - "time": "2017-05-09T08:10:41+00:00" + "time": "2018-06-14T06:42:21+00:00" }, { "name": "symfony/class-loader", @@ -1887,25 +1844,28 @@ }, { "name": "symfony/console", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "4727d7f3c99b9dea0ae70ed4f34645728aa90453" + "reference": "aa43e86fe32b03a4518096240a35f8f52c6cac8f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/4727d7f3c99b9dea0ae70ed4f34645728aa90453", - "reference": "4727d7f3c99b9dea0ae70ed4f34645728aa90453", + "url": "https://api.github.com/repos/symfony/console/zipball/aa43e86fe32b03a4518096240a35f8f52c6cac8f", + "reference": "aa43e86fe32b03a4518096240a35f8f52c6cac8f", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/service-contracts": "^1.1|^2" }, "conflict": { "symfony/dependency-injection": "<3.4", + "symfony/event-dispatcher": "<4.3|>=5", + "symfony/lock": "<4.4", "symfony/process": "<3.3" }, "provide": { @@ -1913,11 +1873,12 @@ }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/event-dispatcher": "^4.3", + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^3.4|^4.0|^5.0", + "symfony/var-dumper": "^4.3|^5.0" }, "suggest": { "psr/log": "For using the console logger", @@ -1928,7 +1889,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -1955,36 +1916,36 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-10-06T19:52:09+00:00" + "time": "2019-10-17T12:23:42+00:00" }, { "name": "symfony/debug", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "b3e7ce815d82196435d16dc458023f8fb6b36ceb" + "reference": "25fd3ba9cf14a2201aeaab9e0c4b8f455cbf0db7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/b3e7ce815d82196435d16dc458023f8fb6b36ceb", - "reference": "b3e7ce815d82196435d16dc458023f8fb6b36ceb", + "url": "https://api.github.com/repos/symfony/debug/zipball/25fd3ba9cf14a2201aeaab9e0c4b8f455cbf0db7", + "reference": "25fd3ba9cf14a2201aeaab9e0c4b8f455cbf0db7", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "psr/log": "~1.0" }, "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + "symfony/http-kernel": "<3.4" }, "require-dev": { - "symfony/http-kernel": "~2.8|~3.0|~4.0" + "symfony/http-kernel": "^3.4|^4.0|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2011,39 +1972,41 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2019-09-19T15:32:51+00:00" + "time": "2019-10-15T13:25:17+00:00" }, { "name": "symfony/dependency-injection", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "9cf81798f857205c5bbb4c8c7895f838d40b0c4b" + "reference": "556a6b31f294491e6db624f2d5c0fa935cbeb2b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/9cf81798f857205c5bbb4c8c7895f838d40b0c4b", - "reference": "9cf81798f857205c5bbb4c8c7895f838d40b0c4b", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/556a6b31f294491e6db624f2d5c0fa935cbeb2b3", + "reference": "556a6b31f294491e6db624f2d5c0fa935cbeb2b3", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "psr/container": "^1.0" + "php": "^7.1.3", + "psr/container": "^1.0", + "symfony/service-contracts": "^1.1.6|^2" }, "conflict": { - "symfony/config": "<3.3.7", - "symfony/finder": "<3.3", + "symfony/config": "<4.3", + "symfony/finder": "<3.4", "symfony/proxy-manager-bridge": "<3.4", "symfony/yaml": "<3.4" }, "provide": { - "psr/container-implementation": "1.0" + "psr/container-implementation": "1.0", + "symfony/service-implementation": "1.0" }, "require-dev": { - "symfony/config": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/config": "^4.3|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/config": "", @@ -2055,7 +2018,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2082,34 +2045,163 @@ ], "description": "Symfony DependencyInjection Component", "homepage": "https://symfony.com", - "time": "2019-09-27T15:47:48+00:00" + "time": "2019-10-14T12:27:06+00:00" + }, + { + "name": "symfony/error-handler", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-handler.git", + "reference": "b9953aca90ef7f0ae8ff2a6b06a7221c4a8a77f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/b9953aca90ef7f0ae8ff2a6b06a7221c4a8a77f4", + "reference": "b9953aca90ef7f0ae8ff2a6b06a7221c4a8a77f4", + "shasum": "" + }, + "require": { + "php": "^7.2.9", + "psr/log": "~1.0" + }, + "conflict": { + "symfony/http-kernel": "<3.4" + }, + "require-dev": { + "symfony/http-kernel": "^3.4|^4.0|^5.0" + }, + "suggest": { + "symfony/error-renderer": "For better error rendering" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorHandler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony ErrorHandler Component", + "homepage": "https://symfony.com", + "time": "2019-10-11T14:48:48+00:00" + }, + { + "name": "symfony/error-renderer", + "version": "4.4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/error-renderer.git", + "reference": "fca8c2913839d4b3031bf6d14112ddad216c90b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/error-renderer/zipball/fca8c2913839d4b3031bf6d14112ddad216c90b3", + "reference": "fca8c2913839d4b3031bf6d14112ddad216c90b3", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "psr/log": "~1.0", + "symfony/debug": "^4.4" + }, + "conflict": { + "symfony/http-kernel": "<4.4" + }, + "require-dev": { + "symfony/console": "^4.4", + "symfony/dependency-injection": "^4.4", + "symfony/http-kernel": "^4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\ErrorRenderer\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Yonel Ceruto", + "email": "yonelceruto@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony ErrorRenderer Component", + "homepage": "https://symfony.com", + "time": "2019-10-15T13:25:17+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "3e922c4c3430b9de624e8a285dada5e61e230959" + "reference": "c73bdefc20ff6e180f878122e07f1f59afba03f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/3e922c4c3430b9de624e8a285dada5e61e230959", - "reference": "3e922c4c3430b9de624e8a285dada5e61e230959", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c73bdefc20ff6e180f878122e07f1f59afba03f5", + "reference": "c73bdefc20ff6e180f878122e07f1f59afba03f5", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3", + "symfony/event-dispatcher-contracts": "^1.1|^2" }, "conflict": { - "symfony/dependency-injection": "<3.3" + "symfony/dependency-injection": "<3.4" + }, + "provide": { + "psr/event-dispatcher-implementation": "1.0", + "symfony/event-dispatcher-implementation": "1.1" }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/stopwatch": "~2.8|~3.0|~4.0" + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/http-foundation": "^3.4|^4.0|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/stopwatch": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/dependency-injection": "", @@ -2118,7 +2210,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2145,34 +2237,93 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2019-08-23T08:05:57+00:00" + "time": "2019-10-09T14:35:36+00:00" + }, + { + "name": "symfony/event-dispatcher-contracts", + "version": "v1.1.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/event-dispatcher-contracts.git", + "reference": "c43ab685673fb6c8d84220c77897b1d6cdbe1d18" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/c43ab685673fb6c8d84220c77897b1d6cdbe1d18", + "reference": "c43ab685673fb6c8d84220c77897b1d6cdbe1d18", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "suggest": { + "psr/event-dispatcher": "", + "symfony/event-dispatcher-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\EventDispatcher\\": "" + } + }, + "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 dispatching event", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-09-17T09:54:03+00:00" }, { "name": "symfony/http-foundation", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "233f40cbebd595ffd91ddf291355f8a930a13777" + "reference": "002d69de1041f82f2cc16a2776a2e069ef14017a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/233f40cbebd595ffd91ddf291355f8a930a13777", - "reference": "233f40cbebd595ffd91ddf291355f8a930a13777", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/002d69de1041f82f2cc16a2776a2e069ef14017a", + "reference": "002d69de1041f82f2cc16a2776a2e069ef14017a", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.1", - "symfony/polyfill-php70": "~1.6" + "php": "^7.1.3", + "symfony/mime": "^4.3|^5.0", + "symfony/polyfill-mbstring": "~1.1" }, "require-dev": { - "symfony/expression-language": "~2.8|~3.0|~4.0" + "predis/predis": "~1.0", + "symfony/expression-language": "^3.4|^4.0|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2199,34 +2350,39 @@ ], "description": "Symfony HttpFoundation Component", "homepage": "https://symfony.com", - "time": "2019-10-02T16:15:21+00:00" + "time": "2019-10-14T12:27:06+00:00" }, { "name": "symfony/http-kernel", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "1103850c7f34bf9c0bf8c0e6e9aab9b1f2308f01" + "reference": "a228a47b9d327c33254d24d2c3a26f456cfaae54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/1103850c7f34bf9c0bf8c0e6e9aab9b1f2308f01", - "reference": "1103850c7f34bf9c0bf8c0e6e9aab9b1f2308f01", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/a228a47b9d327c33254d24d2c3a26f456cfaae54", + "reference": "a228a47b9d327c33254d24d2c3a26f456cfaae54", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "psr/log": "~1.0", - "symfony/debug": "^3.3.3|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~3.4.12|~4.0.12|^4.1.1", - "symfony/polyfill-ctype": "~1.8" + "symfony/error-handler": "^4.4|^5.0", + "symfony/error-renderer": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4", + "symfony/http-foundation": "^4.4|^5.0", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-php73": "^1.9" }, "conflict": { - "symfony/config": "<2.8", - "symfony/dependency-injection": "<3.4.10|<4.0.10,>=4", - "symfony/var-dumper": "<3.3", + "symfony/browser-kit": "<4.3", + "symfony/config": "<3.4", + "symfony/console": ">=5", + "symfony/dependency-injection": "<4.3", + "symfony/translation": "<4.2", + "symfony/var-dumper": "<4.1.1", "twig/twig": "<1.34|<2.4,>=2" }, "provide": { @@ -2234,34 +2390,34 @@ }, "require-dev": { "psr/cache": "~1.0", - "symfony/browser-kit": "~2.8|~3.0|~4.0", - "symfony/class-loader": "~2.8|~3.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/console": "~2.8|~3.0|~4.0", - "symfony/css-selector": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "^3.4.10|^4.0.10", - "symfony/dom-crawler": "~2.8|~3.0|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/process": "~2.8|~3.0|~4.0", - "symfony/routing": "~3.4|~4.0", - "symfony/stopwatch": "~2.8|~3.0|~4.0", - "symfony/templating": "~2.8|~3.0|~4.0", - "symfony/translation": "~2.8|~3.0|~4.0", - "symfony/var-dumper": "~3.3|~4.0" + "symfony/browser-kit": "^4.3|^5.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0", + "symfony/css-selector": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^4.3|^5.0", + "symfony/dom-crawler": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/finder": "^3.4|^4.0|^5.0", + "symfony/process": "^3.4|^4.0|^5.0", + "symfony/routing": "^3.4|^4.0|^5.0", + "symfony/stopwatch": "^3.4|^4.0|^5.0", + "symfony/templating": "^3.4|^4.0|^5.0", + "symfony/translation": "^4.2|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-dumper": "^4.1.1|^5.0", + "twig/twig": "^1.34|^2.4|^3.0" }, "suggest": { "symfony/browser-kit": "", "symfony/config": "", "symfony/console": "", "symfony/dependency-injection": "", - "symfony/finder": "", "symfony/var-dumper": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2288,7 +2444,66 @@ ], "description": "Symfony HttpKernel Component", "homepage": "https://symfony.com", - "time": "2019-10-07T14:41:56+00:00" + "time": "2019-10-15T13:39:57+00:00" + }, + { + "name": "symfony/mime", + "version": "v4.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/mime.git", + "reference": "32f71570547b91879fdbd9cf50317d556ae86916" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/mime/zipball/32f71570547b91879fdbd9cf50317d556ae86916", + "reference": "32f71570547b91879fdbd9cf50317d556ae86916", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-intl-idn": "^1.10", + "symfony/polyfill-mbstring": "^1.0" + }, + "require-dev": { + "egulias/email-validator": "^2.1.10", + "symfony/dependency-injection": "~3.4|^4.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Mime\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A library to manipulate MIME messages", + "homepage": "https://symfony.com", + "keywords": [ + "mime", + "mime-type" + ], + "time": "2019-09-19T17:00:15+00:00" }, { "name": "symfony/polyfill-ctype", @@ -2407,6 +2622,68 @@ ], "time": "2019-08-06T08:03:45+00:00" }, + { + "name": "symfony/polyfill-intl-idn", + "version": "v1.12.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", + "reference": "6af626ae6fa37d396dc90a399c0ff08e5cfc45b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/6af626ae6fa37d396dc90a399c0ff08e5cfc45b2", + "reference": "6af626ae6fa37d396dc90a399c0ff08e5cfc45b2", + "shasum": "" + }, + "require": { + "php": ">=5.3.3", + "symfony/polyfill-mbstring": "^1.3", + "symfony/polyfill-php72": "^1.9" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Idn\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Laurent Bassin", + "email": "laurent@bassin.info" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "idn", + "intl", + "polyfill", + "portable", + "shim" + ], + "time": "2019-08-06T08:03:45+00:00" + }, { "name": "symfony/polyfill-mbstring", "version": "v1.12.0", @@ -2467,21 +2744,75 @@ "time": "2019-08-06T08:03:45+00:00" }, { - "name": "symfony/polyfill-php70", + "name": "symfony/polyfill-php72", + "version": "v1.12.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "04ce3335667451138df4307d6a9b61565560199e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/04ce3335667451138df4307d6a9b61565560199e", + "reference": "04ce3335667451138df4307d6a9b61565560199e", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "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.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "time": "2019-08-06T08:03:45+00:00" + }, + { + "name": "symfony/polyfill-php73", "version": "v1.12.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php70.git", - "reference": "54b4c428a0054e254223797d2713c31e08610831" + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php70/zipball/54b4c428a0054e254223797d2713c31e08610831", - "reference": "54b4c428a0054e254223797d2713c31e08610831", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/2ceb49eaccb9352bff54d22570276bb75ba4a188", + "reference": "2ceb49eaccb9352bff54d22570276bb75ba4a188", "shasum": "" }, "require": { - "paragonie/random_compat": "~1.0|~2.0|~9.99", "php": ">=5.3.3" }, "type": "library", @@ -2492,7 +2823,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php70\\": "" + "Symfony\\Polyfill\\Php73\\": "" }, "files": [ "bootstrap.php" @@ -2515,7 +2846,7 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions", + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", @@ -2527,25 +2858,25 @@ }, { "name": "symfony/process", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "344dc588b163ff58274f1769b90b75237f32ed16" + "reference": "5ec74072c1d2d582ac2271387a7ff5f69ea407f3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/344dc588b163ff58274f1769b90b75237f32ed16", - "reference": "344dc588b163ff58274f1769b90b75237f32ed16", + "url": "https://api.github.com/repos/symfony/process/zipball/5ec74072c1d2d582ac2271387a7ff5f69ea407f3", + "reference": "5ec74072c1d2d582ac2271387a7ff5f69ea407f3", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2572,29 +2903,31 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-09-25T14:09:38+00:00" + "time": "2019-10-03T11:24:03+00:00" }, { "name": "symfony/psr-http-message-bridge", - "version": "v1.1.2", + "version": "v1.2.0", "source": { "type": "git", "url": "https://github.com/symfony/psr-http-message-bridge.git", - "reference": "a33352af16f78a5ff4f9d90811536abf210df12b" + "reference": "9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/a33352af16f78a5ff4f9d90811536abf210df12b", - "reference": "a33352af16f78a5ff4f9d90811536abf210df12b", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad", + "reference": "9ab9d71f97d5c7d35a121a7fb69f74fee95cd0ad", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0", + "php": "^7.1", "psr/http-message": "^1.0", - "symfony/http-foundation": "^2.3.42 || ^3.4 || ^4.0" + "symfony/http-foundation": "^3.4 || ^4.0" }, "require-dev": { - "symfony/phpunit-bridge": "^3.4 || ^4.0" + "nyholm/psr7": "^1.1", + "symfony/phpunit-bridge": "^3.4.20 || ^4.0", + "zendframework/zend-diactoros": "^1.4.1 || ^2.0" }, "suggest": { "nyholm/psr7": "For a super lightweight PSR-7/17 implementation" @@ -2602,7 +2935,7 @@ "type": "symfony-bridge", "extra": { "branch-alias": { - "dev-master": "1.1-dev" + "dev-master": "1.2-dev" } }, "autoload": { @@ -2635,38 +2968,38 @@ "psr-17", "psr-7" ], - "time": "2019-04-03T17:09:40+00:00" + "time": "2019-03-11T18:22:33+00:00" }, { "name": "symfony/routing", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "8b0faa681c4ee14701e76a7056fef15ac5384163" + "reference": "9e472b4799cd964ea05b3dce69f831afbc1fef07" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/8b0faa681c4ee14701e76a7056fef15ac5384163", - "reference": "8b0faa681c4ee14701e76a7056fef15ac5384163", + "url": "https://api.github.com/repos/symfony/routing/zipball/9e472b4799cd964ea05b3dce69f831afbc1fef07", + "reference": "9e472b4799cd964ea05b3dce69f831afbc1fef07", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "conflict": { - "symfony/config": "<3.3.1", - "symfony/dependency-injection": "<3.3", + "symfony/config": "<4.2", + "symfony/dependency-injection": "<3.4", "symfony/yaml": "<3.4" }, "require-dev": { - "doctrine/annotations": "~1.0", + "doctrine/annotations": "~1.2", "psr/log": "~1.0", - "symfony/config": "^3.3.1|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/config": "^4.2|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/http-foundation": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "doctrine/annotations": "For using the annotation loader", @@ -2678,7 +3011,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2711,44 +3044,45 @@ "uri", "url" ], - "time": "2019-08-26T07:50:50+00:00" + "time": "2019-10-07T12:37:47+00:00" }, { "name": "symfony/serializer", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/serializer.git", - "reference": "14e29c5977dbae8beb8f56b098b2d1a313f201eb" + "reference": "c7e56d852d362f396828fba91799186443c75cbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/serializer/zipball/14e29c5977dbae8beb8f56b098b2d1a313f201eb", - "reference": "14e29c5977dbae8beb8f56b098b2d1a313f201eb", + "url": "https://api.github.com/repos/symfony/serializer/zipball/c7e56d852d362f396828fba91799186443c75cbd", + "reference": "c7e56d852d362f396828fba91799186443c75cbd", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "symfony/polyfill-ctype": "~1.8" }, "conflict": { "phpdocumentor/type-resolver": "<0.2.1", - "symfony/dependency-injection": "<3.2", - "symfony/property-access": ">=3.0,<3.0.4|>=2.8,<2.8.4", - "symfony/property-info": "<3.1", + "symfony/dependency-injection": "<3.4", + "symfony/property-access": "<3.4", + "symfony/property-info": "<3.4", "symfony/yaml": "<3.4" }, "require-dev": { "doctrine/annotations": "~1.0", "doctrine/cache": "~1.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0", - "symfony/cache": "~3.1|~4.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.2|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", - "symfony/property-access": "~2.8|~3.0|~4.0", - "symfony/property-info": "^3.4.13|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/cache": "^3.4|^4.0|^5.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/http-foundation": "^3.4|^4.0|^5.0", + "symfony/property-access": "^3.4|^4.0|^5.0", + "symfony/property-info": "^3.4.13|~4.0|^5.0", + "symfony/validator": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.", @@ -2763,7 +3097,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2790,40 +3124,104 @@ ], "description": "Symfony Serializer Component", "homepage": "https://symfony.com", - "time": "2019-09-30T23:11:46+00:00" + "time": "2019-10-14T11:43:44+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v1.1.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "ffcde9615dc5bb4825b9f6aed07716f1f57faae0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/ffcde9615dc5bb4825b9f6aed07716f1f57faae0", + "reference": "ffcde9615dc5bb4825b9f6aed07716f1f57faae0", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "psr/container": "^1.0" + }, + "suggest": { + "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-09-17T11:12:18+00:00" }, { "name": "symfony/translation", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "dd313664be0588560acacb252543b585f5408547" + "reference": "01a25cb05214a272addbdb5fe5b724b9a4b578ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/dd313664be0588560acacb252543b585f5408547", - "reference": "dd313664be0588560acacb252543b585f5408547", + "url": "https://api.github.com/repos/symfony/translation/zipball/01a25cb05214a272addbdb5fe5b724b9a4b578ab", + "reference": "01a25cb05214a272addbdb5fe5b724b9a4b578ab", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/polyfill-mbstring": "~1.0" + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^1.1.6|^2" }, "conflict": { - "symfony/config": "<2.8", + "symfony/config": "<3.4", "symfony/dependency-injection": "<3.4", "symfony/yaml": "<3.4" }, + "provide": { + "symfony/translation-implementation": "1.0" + }, "require-dev": { "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/finder": "~2.8|~3.0|~4.0", - "symfony/http-kernel": "~3.4|~4.0", - "symfony/intl": "^2.8.18|^3.2.5|~4.0", - "symfony/var-dumper": "~3.4|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/finder": "~2.8|~3.0|~4.0|^5.0", + "symfony/http-kernel": "^3.4|^4.0|^5.0", + "symfony/intl": "^3.4|^4.0|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/var-dumper": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "psr/log-implementation": "To use logging capability in translator", @@ -2833,7 +3231,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2860,66 +3258,130 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2019-09-27T05:57:25+00:00" + "time": "2019-10-17T12:23:42+00:00" + }, + { + "name": "symfony/translation-contracts", + "version": "v1.1.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "364518c132c95642e530d9b2d217acbc2ccac3e6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/364518c132c95642e530d9b2d217acbc2ccac3e6", + "reference": "364518c132c95642e530d9b2d217acbc2ccac3e6", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "suggest": { + "symfony/translation-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Translation\\": "" + } + }, + "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 translation", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-09-17T11:12:18+00:00" }, { "name": "symfony/validator", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "ce65fe341eb87fb34c80f9e4f12edc6472d1a74b" + "reference": "137d3f679277d8b8604fff35adb717eb6c1746de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/ce65fe341eb87fb34c80f9e4f12edc6472d1a74b", - "reference": "ce65fe341eb87fb34c80f9e4f12edc6472d1a74b", + "url": "https://api.github.com/repos/symfony/validator/zipball/137d3f679277d8b8604fff35adb717eb6c1746de", + "reference": "137d3f679277d8b8604fff35adb717eb6c1746de", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0", - "symfony/translation": "~2.8|~3.0|~4.0" + "symfony/translation-contracts": "^1.1|^2" }, "conflict": { "doctrine/lexer": "<1.0.2", "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", - "symfony/dependency-injection": "<3.3", - "symfony/http-kernel": "<3.3.5", + "symfony/dependency-injection": "<3.4", + "symfony/http-kernel": "<3.4", + "symfony/intl": "<4.3", + "symfony/translation": ">=5.0", "symfony/yaml": "<3.4" }, "require-dev": { "doctrine/annotations": "~1.7", "doctrine/cache": "~1.0", "egulias/email-validator": "^2.1.10", - "symfony/cache": "~3.1|~4.0", - "symfony/config": "~2.8|~3.0|~4.0", - "symfony/dependency-injection": "~3.3|~4.0", - "symfony/expression-language": "~2.8|~3.0|~4.0", - "symfony/http-foundation": "~2.8|~3.0|~4.0", - "symfony/http-kernel": "^3.3.5|~4.0", - "symfony/intl": "^2.8.18|^3.2.5|~4.0", - "symfony/property-access": "~2.8|~3.0|~4.0", - "symfony/var-dumper": "~3.3|~4.0", - "symfony/yaml": "~3.4|~4.0" + "symfony/cache": "^3.4|^4.0|^5.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/expression-language": "^3.4|^4.0|^5.0", + "symfony/http-client": "^4.3|^5.0", + "symfony/http-foundation": "^4.1|^5.0", + "symfony/http-kernel": "^3.4|^4.0|^5.0", + "symfony/intl": "^4.3|^5.0", + "symfony/property-access": "^3.4|^4.0|^5.0", + "symfony/property-info": "^3.4|^4.0|^5.0", + "symfony/translation": "^4.2", + "symfony/var-dumper": "^3.4|^4.0|^5.0", + "symfony/yaml": "^3.4|^4.0|^5.0" }, "suggest": { "doctrine/annotations": "For using the annotation mapping. You will also need doctrine/cache.", - "doctrine/cache": "For using the default cached annotation reader and metadata cache.", + "doctrine/cache": "For using the default cached annotation reader.", "egulias/email-validator": "Strict (RFC compliant) email validation", - "psr/cache-implementation": "For using the metadata cache.", + "psr/cache-implementation": "For using the mapping cache.", "symfony/config": "", "symfony/expression-language": "For using the Expression validator", "symfony/http-foundation": "", "symfony/intl": "", "symfony/property-access": "For accessing properties within comparison constraints", + "symfony/property-info": "To automatically add NotNull and Type constraints", + "symfony/translation": "For translating validation errors.", "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -2946,31 +3408,31 @@ ], "description": "Symfony Validator Component", "homepage": "https://symfony.com", - "time": "2019-10-07T09:27:57+00:00" + "time": "2019-10-09T14:34:05+00:00" }, { "name": "symfony/yaml", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "768f817446da74a776a31eea335540f9dcb53942" + "reference": "8caed6e8ff735a962ec032373a8c01493d69acca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/768f817446da74a776a31eea335540f9dcb53942", - "reference": "768f817446da74a776a31eea335540f9dcb53942", + "url": "https://api.github.com/repos/symfony/yaml/zipball/8caed6e8ff735a962ec032373a8c01493d69acca", + "reference": "8caed6e8ff735a962ec032373a8c01493d69acca", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "symfony/polyfill-ctype": "~1.8" }, "conflict": { "symfony/console": "<3.4" }, "require-dev": { - "symfony/console": "~3.4|~4.0" + "symfony/console": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -2978,7 +3440,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -3005,7 +3467,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2019-09-10T10:38:46+00:00" + "time": "2019-10-17T12:23:42+00:00" }, { "name": "twig/twig", @@ -5739,25 +6201,27 @@ }, { "name": "symfony/browser-kit", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/browser-kit.git", - "reference": "abe4bf2c934ddd1fd490a7d9147df7827b5fff0f" + "reference": "eeade4030711b065c2c690e5f9846c69e01cf247" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/browser-kit/zipball/abe4bf2c934ddd1fd490a7d9147df7827b5fff0f", - "reference": "abe4bf2c934ddd1fd490a7d9147df7827b5fff0f", + "url": "https://api.github.com/repos/symfony/browser-kit/zipball/eeade4030711b065c2c690e5f9846c69e01cf247", + "reference": "eeade4030711b065c2c690e5f9846c69e01cf247", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/dom-crawler": "~2.8|~3.0|~4.0" + "php": "^7.1.3", + "symfony/dom-crawler": "^3.4|^4.0|^5.0" }, "require-dev": { - "symfony/css-selector": "~2.8|~3.0|~4.0", - "symfony/process": "~2.8|~3.0|~4.0" + "symfony/css-selector": "^3.4|^4.0|^5.0", + "symfony/http-client": "^4.3|^5.0", + "symfony/mime": "^4.3|^5.0", + "symfony/process": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/process": "" @@ -5765,7 +6229,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5792,29 +6256,29 @@ ], "description": "Symfony BrowserKit Component", "homepage": "https://symfony.com", - "time": "2019-09-10T10:13:59+00:00" + "time": "2019-09-27T05:43:04+00:00" }, { "name": "symfony/css-selector", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "f819f71ae3ba6f396b4c015bd5895de7d2f1f85f" + "reference": "1f8fa58d9b3e64d46fbf66681b621125642ba203" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/f819f71ae3ba6f396b4c015bd5895de7d2f1f85f", - "reference": "f819f71ae3ba6f396b4c015bd5895de7d2f1f85f", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/1f8fa58d9b3e64d46fbf66681b621125642ba203", + "reference": "1f8fa58d9b3e64d46fbf66681b621125642ba203", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5845,29 +6309,33 @@ ], "description": "Symfony CssSelector Component", "homepage": "https://symfony.com", - "time": "2019-10-01T11:57:37+00:00" + "time": "2019-10-02T08:48:21+00:00" }, { "name": "symfony/dom-crawler", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "29cffc38a38f2a8ed7e494c9cea2f890a40c2359" + "reference": "0961866cf457cda10838e052d65e712417ad864c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/29cffc38a38f2a8ed7e494c9cea2f890a40c2359", - "reference": "29cffc38a38f2a8ed7e494c9cea2f890a40c2359", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/0961866cf457cda10838e052d65e712417ad864c", + "reference": "0961866cf457cda10838e052d65e712417ad864c", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "symfony/polyfill-ctype": "~1.8", "symfony/polyfill-mbstring": "~1.0" }, + "conflict": { + "masterminds/html5": "<2.6" + }, "require-dev": { - "symfony/css-selector": "~2.8|~3.0|~4.0" + "masterminds/html5": "^2.6", + "symfony/css-selector": "^3.4|^4.0|^5.0" }, "suggest": { "symfony/css-selector": "" @@ -5875,7 +6343,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5902,30 +6370,30 @@ ], "description": "Symfony DomCrawler Component", "homepage": "https://symfony.com", - "time": "2019-08-30T17:42:32+00:00" + "time": "2019-10-09T13:24:13+00:00" }, { "name": "symfony/filesystem", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "00e3a6ddd723b8bcfe4f2a1b6f82b98eeeb51516" + "reference": "f903e39aca6b4a4a2dbc473a1287b79b6c41cfb8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/00e3a6ddd723b8bcfe4f2a1b6f82b98eeeb51516", - "reference": "00e3a6ddd723b8bcfe4f2a1b6f82b98eeeb51516", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/f903e39aca6b4a4a2dbc473a1287b79b6c41cfb8", + "reference": "f903e39aca6b4a4a2dbc473a1287b79b6c41cfb8", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", + "php": "^7.1.3", "symfony/polyfill-ctype": "~1.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -5952,29 +6420,29 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2019-08-20T13:31:17+00:00" + "time": "2019-09-16T08:12:51+00:00" }, { "name": "symfony/finder", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "2b6a666d6ff7fb65d10b97d817c8e7930944afb9" + "reference": "30898bbac041d71f18862366a7a0987dd5cff7dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2b6a666d6ff7fb65d10b97d817c8e7930944afb9", - "reference": "2b6a666d6ff7fb65d10b97d817c8e7930944afb9", + "url": "https://api.github.com/repos/symfony/finder/zipball/30898bbac041d71f18862366a7a0987dd5cff7dd", + "reference": "30898bbac041d71f18862366a7a0987dd5cff7dd", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8" + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -6001,34 +6469,35 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2019-09-01T21:32:23+00:00" + "time": "2019-09-17T11:12:18+00:00" }, { "name": "symfony/lock", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/lock.git", - "reference": "d6ccc33dfc5b7c8e1f59c228db0be36705fbffba" + "reference": "03d9a1d56b1b12204f4264d50832a96df687b0da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/d6ccc33dfc5b7c8e1f59c228db0be36705fbffba", - "reference": "d6ccc33dfc5b7c8e1f59c228db0be36705fbffba", + "url": "https://api.github.com/repos/symfony/lock/zipball/03d9a1d56b1b12204f4264d50832a96df687b0da", + "reference": "03d9a1d56b1b12204f4264d50832a96df687b0da", "shasum": "" }, "require": { - "php": "^5.5.9|>=7.0.8", - "psr/log": "~1.0", - "symfony/polyfill-php70": "~1.0" + "php": "^7.1.3", + "psr/log": "~1.0" }, "require-dev": { + "doctrine/dbal": "~2.4", + "mongodb/mongodb": "~1.1", "predis/predis": "~1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" } }, "autoload": { @@ -6063,30 +6532,30 @@ "redlock", "semaphore" ], - "time": "2019-09-23T14:31:27+00:00" + "time": "2019-10-03T11:24:03+00:00" }, { "name": "symfony/phpunit-bridge", - "version": "v3.4.32", + "version": "4.4.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/phpunit-bridge.git", - "reference": "cbea8818e9f34e4e9d780bd22bdda21b57d4d5c7" + "reference": "ed7630d74a085f4513c3f9dd75f2a8585332a70c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/cbea8818e9f34e4e9d780bd22bdda21b57d4d5c7", - "reference": "cbea8818e9f34e4e9d780bd22bdda21b57d4d5c7", + "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/ed7630d74a085f4513c3f9dd75f2a8585332a70c", + "reference": "ed7630d74a085f4513c3f9dd75f2a8585332a70c", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=5.5.9" }, "conflict": { "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0" }, "suggest": { - "symfony/debug": "For tracking deprecated interfaces usages at runtime with DebugClassLoader" + "symfony/error-handler": "For tracking deprecated interfaces usages at runtime with DebugClassLoader" }, "bin": [ "bin/simple-phpunit" @@ -6094,7 +6563,7 @@ "type": "symfony-bridge", "extra": { "branch-alias": { - "dev-master": "3.4-dev" + "dev-master": "4.4-dev" }, "thanks": { "name": "phpunit/phpunit", @@ -6128,7 +6597,7 @@ ], "description": "Symfony PHPUnit Bridge", "homepage": "https://symfony.com", - "time": "2019-09-30T20:33:19+00:00" + "time": "2019-10-02T08:48:21+00:00" }, { "name": "theseer/tokenizer", diff --git a/core/composer.json b/core/composer.json index 7d7408289ce9..8f72b206ddec 100644 --- a/core/composer.json +++ b/core/composer.json @@ -19,30 +19,30 @@ "ext-xml": "*", "php": ">=7.2.3", "symfony/class-loader": "~3.4.0", - "symfony/console": "~3.4.0", - "symfony/dependency-injection": "~3.4.26", - "symfony/event-dispatcher": "~3.4.0", - "symfony/http-foundation": "~3.4.27", - "symfony/http-kernel": "~3.4.14", - "symfony/routing": "~3.4.0", - "symfony/serializer": "~3.4.0", - "symfony/translation": "~3.4.0", - "symfony/validator": "~3.4.0", - "symfony/process": "~3.4.0", + "symfony/console": "^4.4", + "symfony/dependency-injection": "^4.4", + "symfony/event-dispatcher": "^4.4", + "symfony/http-foundation": "^4.4", + "symfony/http-kernel": "^4.4", + "symfony/routing": "^4.4", + "symfony/serializer": "^4.4", + "symfony/translation": "^4.4", + "symfony/validator": "^4.4", + "symfony/process": "^4.4", "symfony/polyfill-iconv": "^1.0", - "symfony/yaml": "~3.4.5", + "symfony/yaml": "^4.4", "typo3/phar-stream-wrapper": "^3.1.2", "twig/twig": "^1.38.2", "doctrine/common": "^2.7", "doctrine/annotations": "^1.4", "guzzlehttp/guzzle": "^6.3", - "symfony-cmf/routing": "^1.4", + "symfony-cmf/routing": "^2.1", "easyrdf/easyrdf": "^0.9", "zendframework/zend-feed": "^2.12", "stack/builder": "^1.0", "egulias/email-validator": "^2.0", "masterminds/html5": "^2.1", - "symfony/psr-http-message-bridge": "^1.1.2", + "symfony/psr-http-message-bridge": "^1.2.0", "zendframework/zend-diactoros": ">=1.7 <1.8", "composer/semver": "^1.0", "asm89/stack-cors": "^1.1", diff --git a/core/lib/Drupal/Component/DependencyInjection/composer.json b/core/lib/Drupal/Component/DependencyInjection/composer.json index 039ffbe327b6..f0bc03e856a1 100644 --- a/core/lib/Drupal/Component/DependencyInjection/composer.json +++ b/core/lib/Drupal/Component/DependencyInjection/composer.json @@ -12,7 +12,7 @@ }, "require": { "php": ">=7.2.3", - "symfony/dependency-injection": ">=3.4 <4.0.0" + "symfony/dependency-injection": "^4.4" }, "suggest": { "symfony/expression-language": "For using expressions in service container configuration" diff --git a/core/lib/Drupal/Component/EventDispatcher/composer.json b/core/lib/Drupal/Component/EventDispatcher/composer.json index c47fbe0402ab..00acc3981154 100644 --- a/core/lib/Drupal/Component/EventDispatcher/composer.json +++ b/core/lib/Drupal/Component/EventDispatcher/composer.json @@ -6,8 +6,8 @@ "license": "GPL-2.0-or-later", "require": { "php": ">=7.2.3", - "symfony/dependency-injection": ">=3.4 <4.0.0", - "symfony/event-dispatcher": ">=3.4 <4.0.0" + "symfony/dependency-injection": "^4.4", + "symfony/event-dispatcher": "^4.4" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/HttpFoundation/composer.json b/core/lib/Drupal/Component/HttpFoundation/composer.json index 2fa472386936..de3768779cbb 100644 --- a/core/lib/Drupal/Component/HttpFoundation/composer.json +++ b/core/lib/Drupal/Component/HttpFoundation/composer.json @@ -6,7 +6,7 @@ "license": "GPL-2.0-or-later", "require": { "php": ">=7.2.3", - "symfony/http-foundation": ">=3.4 <4.0.0" + "symfony/http-foundation": "^4.4" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Plugin/composer.json b/core/lib/Drupal/Component/Plugin/composer.json index ae985e1e1c94..407e0fbb80bd 100644 --- a/core/lib/Drupal/Component/Plugin/composer.json +++ b/core/lib/Drupal/Component/Plugin/composer.json @@ -6,7 +6,7 @@ "license": "GPL-2.0-or-later", "require": { "php": ">=7.2.3", - "symfony/validator": ">=3.4 <4.0.0" + "symfony/validator": "^4.4" }, "autoload": { "psr-4": { diff --git a/core/lib/Drupal/Component/Serialization/composer.json b/core/lib/Drupal/Component/Serialization/composer.json index c6e134faebf6..3f5eb09eebb4 100644 --- a/core/lib/Drupal/Component/Serialization/composer.json +++ b/core/lib/Drupal/Component/Serialization/composer.json @@ -6,7 +6,7 @@ "license": "GPL-2.0-or-later", "require": { "php": ">=7.2.3", - "symfony/yaml": ">=3.4 <4.0.0" + "symfony/yaml": "^4.4" }, "autoload": { "psr-4": { diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php index d86aa3f252d7..d0d73e7d3081 100644 --- a/core/modules/simpletest/src/WebTestBase.php +++ b/core/modules/simpletest/src/WebTestBase.php @@ -708,7 +708,7 @@ protected function curlHeaderCallback($curlHandler, $header) { if (getenv('SYMFONY_DEPRECATIONS_HELPER') !== 'disabled') { $message = (string) $parameters[0]; $test_info = TestDiscovery::getTestInfo(get_called_class()); - if (!in_array('legacy', $test_info['groups']) && !in_array($message, DeprecationListenerTrait::getSkippedDeprecations())) { + if (!in_array('legacy', $test_info['groups']) && !DeprecationListenerTrait::isDeprecationSkipped($message)) { call_user_func_array([&$this, 'error'], $parameters); } } diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Core/Installer/Form/SelectProfileFormTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Core/Installer/Form/SelectProfileFormTest.php index a6c59d115297..531f6708f8ca 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/Core/Installer/Form/SelectProfileFormTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/Core/Installer/Form/SelectProfileFormTest.php @@ -38,13 +38,18 @@ public function setUp() { 'pass_raw' => $this->randomMachineName(), ]); - // If any $settings are defined for this test, copy and prepare an actual - // settings.php, so as to resemble a regular installation. - if (!empty($this->settings)) { - // Not using File API; a potential error must trigger a PHP warning. - copy(DRUPAL_ROOT . '/sites/default/default.settings.php', DRUPAL_ROOT . '/' . $this->siteDirectory . '/settings.php'); - $this->writeSettings($this->settings); - } + // Create a regular settings.php for testing. + $this->prepareSettings(); + // @todo Using the APCu file cache causes problems in this test when + // combined with Symfony 4.4. This seems to be a memory issue caused by + // excessive deprecation errors caused by + // https://github.com/symfony/symfony/commit/7c01c4c80c69159b2b39ea8bc53431196d7b29fb + // The deprecations will be fixed in https://www.drupal.org/project/drupal/issues/3074585 + $settings['settings']['file_cache']['file_cache_disable'] = (object) [ + 'value' => TRUE, + 'required' => TRUE, + ]; + $this->writeSettings($settings); // Note that FunctionalTestSetupTrait::installParameters() returns form // input values suitable for a programmed diff --git a/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php b/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php index 6809f1b4f956..19870fe2794b 100644 --- a/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php +++ b/core/tests/Drupal/Tests/Listeners/DeprecationListenerTrait.php @@ -69,7 +69,7 @@ protected function deprecationEndTest($test, $time) { $deprecations = $deprecations ? unserialize($deprecations) : []; $resave = FALSE; foreach ($deprecations as $key => $deprecation) { - if (in_array($deprecation[1], static::getSkippedDeprecations())) { + if (static::isDeprecationSkipped($deprecation[1])) { unset($deprecations[$key]); $resave = TRUE; } @@ -100,6 +100,28 @@ private function willBeIsolated($test) { return $r->getValue($test); } + /** + * Determines if a deprecation error should be skipped. + * + * @return bool + * TRUE if the deprecation error should be skipped, FALSE if not. + */ + public static function isDeprecationSkipped($message) { + if (in_array($message, static::getSkippedDeprecations(), TRUE)) { + return TRUE; + } + $dynamic_skipped_deprecations = [ + '%The "[^"]+" class extends "Symfony\\\\Component\\\\EventDispatcher\\\\Event" that is deprecated since Symfony 4\.3, use "Symfony\\\\Contracts\\\\EventDispatcher\\\\Event" instead\.$%', + '%The "Symfony\\\\Component\\\\Routing\\\\(Compiled)?Route::(un)?serialize\(\)" method is considered (final|internal) since Symfony 4\.3\. It may change without further notice( as of its next major version)?\. You should not extend it from "[^"]+"\.%', + '%The "Symfony\\\\Component\\\\Validator\\\\Context\\\\ExecutionContextInterface::.*\(\)" method is considered internal Used by the validator engine. Should not be called by user\s\*\s*code\. It may change without further notice\. You should not extend it from "[^"]+".%', + '%Non-object services are deprecated since Symfony 4\.4, please fix the ".*" service which is of type ".*" right now\.%', + '%Non-object services are deprecated since Symfony 4\.4, setting the ".*" service to a value of type ".*" should be avoided\.%', + '%The ".*" service relies on the deprecated "Symfony\\\\Component\\\\Debug\\\\BufferingLogger" class\. It should either be deprecated or its implementation upgraded\.%', + '%Method ".*::.*\(\)" will return ".*" as of its next major version\. Doing the same in child class ".*" will be required when upgrading\.%', + ]; + return (bool) preg_filter($dynamic_skipped_deprecations, '$0', $message); + } + /** * A list of deprecations to ignore whilst fixes are put in place. * @@ -134,12 +156,36 @@ public static function getSkippedDeprecations() { '\Drupal\Tests\SkippedDeprecationTest deprecation', // These deprecations are triggered by symfony/psr-http-message-factory // 1.2, which can be installed if you update dependencies on php 7 or - // higher + // higher. 'The "Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory" class is deprecated since symfony/psr-http-message-bridge 1.2, use PsrHttpFactory instead.', 'The "psr7.http_message_factory" service relies on the deprecated "Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory" class. It should either be deprecated or its implementation upgraded.', // This deprecation comes from behat/mink-browserkit-driver when updating // symfony/browser-kit to 4.3+. 'The "Symfony\Component\BrowserKit\Response::getStatus()" method is deprecated since Symfony 4.3, use getStatusCode() instead.', + // The following deprecations are introduced in by the new + // DebugClassLoader in Symfony 4 we cannot immediately fix them without + // breaking backwards compatibility. + // @see https://www.drupal.org/project/drupal/issues/3030494 + // @see https://www.drupal.org/project/drupal/issues/3030474 + 'The "Drupal\Core\Template\Loader\StringLoader" class implements "Twig\Loader\ExistsLoaderInterface" that is deprecated since 1.12 (to be removed in 3.0).', + 'The "Drupal\Core\Template\Loader\StringLoader" class implements "Twig\Loader\SourceContextLoaderInterface" that is deprecated since 1.27 (to be removed in 3.0).', + // The following Symfony deprecations are introduced in the Symfony 4 + // development cycle. They will need to be resolved prior to Symfony 5 + // compatibility. + 'Support for mapping keys in multi-line blocks is deprecated since Symfony 4.3 and will throw a ParseException in 5.0.', + 'The "Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesser" class is deprecated since Symfony 4.3, use "Symfony\Component\Mime\MimeTypes" instead.', + 'The "Drupal\Core\File\MimeType\MimeTypeGuesser" class implements "Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface" that is deprecated since Symfony 4.3, use {@link MimeTypesInterface} instead.', + 'The "Symfony\Component\HttpFoundation\File\MimeType\FileBinaryMimeTypeGuesser" class is deprecated since Symfony 4.3, use "Symfony\Component\Mime\FileBinaryMimeTypeGuesser" instead.', + 'The "Symfony\Component\HttpFoundation\File\MimeType\FileinfoMimeTypeGuesser" class is deprecated since Symfony 4.3, use "Symfony\Component\Mime\FileinfoMimeTypeGuesser" instead.', + 'The signature of the "Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch()" method should be updated to "dispatch($event, string $eventName = null)", not doing so is deprecated since Symfony 4.3.', + 'Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead.', + 'The "Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch()" method will require a new "string|null $eventName" argument in the next major version of its parent class "Symfony\Contracts\EventDispatcher\EventDispatcherInterface", not defining it is deprecated.', + 'The "Goutte\Client" class extends "Symfony\Component\BrowserKit\Client" that is deprecated since Symfony 4.3, use "\Symfony\Component\BrowserKit\AbstractBrowser" instead.', + 'Passing a command as string when creating a "Symfony\Component\Process\Process" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell.', + 'Passing arguments to "Symfony\Component\HttpFoundation\Request::isMethodSafe()" has been deprecated since Symfony 4.4; use "Symfony\Component\HttpFoundation\Request::isMethodCacheable()" to check if the method is cacheable instead.', + 'The "Symfony\Component\Process\Process::inheritEnvironmentVariables()" method is deprecated since Symfony 4.4, env variables are always inherited.', + 'The "Symfony\Component\Debug\BufferingLogger" class is deprecated since Symfony 4.4, use "Symfony\Component\ErrorHandler\BufferingLogger" instead.', + 'Using the "Symfony\Component\Validator\Constraints\Length" constraint with the "min" option without setting the "allowEmptyString" one is deprecated and defaults to true. In 5.0, it will become optional and default to false.', 'The "core/jquery.ui.checkboxradio" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3067969', 'The "core/jquery.ui.controlgroup" asset library is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. See https://www.drupal.org/node/3067969', // @todo Remove in https://www.drupal.org/project/drupal/issues/3082655 @@ -159,7 +205,7 @@ public static function getSkippedDeprecations() { protected function registerErrorHandler($test) { $deprecation_handler = function ($type, $msg, $file, $line, $context = []) { // Skip listed deprecations. - if ($type === E_USER_DEPRECATED && in_array($msg, self::getSkippedDeprecations(), TRUE)) { + if ($type === E_USER_DEPRECATED && static::isDeprecationSkipped($msg)) { return; } return call_user_func($this->previousHandler, $type, $msg, $file, $line, $context); -- GitLab