diff --git a/composer.json b/composer.json index 7705678ac..034824e6f 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "composer/semver": "^3.0", "composer/spdx-licenses": "^1.2", "composer/xdebug-handler": "^2.0", - "justinrainbow/json-schema": "^5.2.10", + "justinrainbow/json-schema": "^5.2.11", "psr/log": "^1.0", "seld/jsonlint": "^1.4", "seld/phar-utils": "^1.0", diff --git a/composer.lock b/composer.lock index ef4ded9d7..ecd123692 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": "bff3f5b355e45125612dff36a8f71737", + "content-hash": "dfe550a024c0c2bb0784765e457968af", "packages": [ { "name": "composer/ca-bundle", diff --git a/src/Composer/Util/ErrorHandler.php b/src/Composer/Util/ErrorHandler.php index 915bc3fb5..15e1832e9 100644 --- a/src/Composer/Util/ErrorHandler.php +++ b/src/Composer/Util/ErrorHandler.php @@ -53,7 +53,7 @@ class ErrorHandler if (self::$io) { // ignore symfony/* deprecation warnings about return types - if (preg_match('{^Return type of Symfony\\Component\\.*ReturnTypeWillChange}', $message)) { + if (preg_match('{^Return type of Symfony\\\\.*ReturnTypeWillChange}is', $message)) { return true; }