Skip to content

Commit 5562522

Browse files
xkobalNyholm
authored andcommitted
SF 4.2 Compliance (#210)
The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.
1 parent 658cecf commit 5562522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Command/GeocodeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use Geocoder\ProviderAggregator;
1616
use Geocoder\Query\GeocodeQuery;
17-
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
17+
use Symfony\Component\Console\Command\Command;
1818
use Symfony\Component\Console\Input\InputArgument;
1919
use Symfony\Component\Console\Input\InputInterface;
2020
use Symfony\Component\Console\Input\InputOption;
@@ -23,7 +23,7 @@
2323
/**
2424
* @author Markus Bachmann <[email protected]>
2525
*/
26-
class GeocodeCommand extends ContainerAwareCommand
26+
class GeocodeCommand extends Command
2727
{
2828
protected static $defaultName = 'geocoder:geocode';
2929

0 commit comments

Comments
 (0)