From 61a6dba8e32b3bfc9ca54e0af890dcc78ea1ae29 Mon Sep 17 00:00:00 2001 From: Melvin Hamer Date: Wed, 12 Feb 2020 08:40:46 +0100 Subject: [PATCH] Remove deprecated Symfony\Component\Debug (#50) --- .travis.yml | 7 +++---- bin/console | 2 +- composer.json | 10 +++++----- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b31c9c..bc418c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,19 +9,18 @@ branches: - master php: - - '7.1' - '7.2' - nightly matrix: fast_finish: true include: - - php: '7.1' + - php: '7.2' env: - COMPOSER_FLAGS='--prefer-lowest' - - SYMFONY_VERSION='~4.3.0' + - SYMFONY_VERSION='~4.4.0' - php: '7.2' - env: SYMFONY_VERSION='~4.3.0' + env: SYMFONY_VERSION='~4.4.0' - php: '7.2' env: SYMFONY_VERSION='^5.0' allow_failures: diff --git a/bin/console b/bin/console index 9188730..f7bfbdf 100755 --- a/bin/console +++ b/bin/console @@ -17,7 +17,7 @@ require_once __DIR__.'/../vendor/autoload.php'; use Fidry\PsyshBundle\Functional\AppKernel; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Input\ArgvInput; -use Symfony\Component\Debug\Debug; +use Symfony\Component\ErrorHandler\Debug; $input = new ArgvInput(); $env = $input->getParameterOption(array('--env', '-e'), getenv('SYMFONY_ENV') ?: 'dev'); diff --git a/composer.json b/composer.json index 49d6cff..5b79551 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,15 @@ ], "require": { - "php": "^7.1", + "php": "^7.2", "psy/psysh": "^0.8 || ^0.9", - "symfony/debug": "^4.3|^4.4", - "symfony/expression-language": "^4.3|^5.0", - "symfony/framework-bundle": "^4.3|^5.0" + "symfony/error-handler": "^4.4|^5.0", + "symfony/expression-language": "^4.4|^5.0", + "symfony/framework-bundle": "^4.4|^5.0" }, "require-dev": { "phpunit/phpunit": "^7.5", - "symfony/symfony": "^4.3|^5.0" + "symfony/symfony": "^4.4|^5.0" }, "autoload": {