Skip to content

Commit

Permalink
SF 4.2 Compliance (#210)
Browse files Browse the repository at this point in the history
The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.
  • Loading branch information
xkobal authored and Nyholm committed Dec 4, 2018
1 parent 658cecf commit 5562522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Command/GeocodeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -23,7 +23,7 @@
/**
* @author Markus Bachmann <markus.bachmann@bachi.biz>
*/
class GeocodeCommand extends ContainerAwareCommand
class GeocodeCommand extends Command
{
protected static $defaultName = 'geocoder:geocode';

Expand Down

0 comments on commit 5562522

Please sign in to comment.