From a03b1f07d98f996ed1137452293080f54489d89c Mon Sep 17 00:00:00 2001 From: Xavier HAUSHERR Date: Tue, 4 Dec 2018 15:22:19 +0100 Subject: [PATCH] SF 4.2 Compliance The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead. --- Command/GeocodeCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/GeocodeCommand.php b/Command/GeocodeCommand.php index 164c2780..87e4ce8e 100644 --- a/Command/GeocodeCommand.php +++ b/Command/GeocodeCommand.php @@ -14,7 +14,7 @@ use Geocoder\ProviderAggregator; use Geocoder\Query\GeocodeQuery; -use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; +use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; @@ -23,7 +23,7 @@ /** * @author Markus Bachmann */ -class GeocodeCommand extends ContainerAwareCommand +class GeocodeCommand extends Command { protected static $defaultName = 'geocoder:geocode';