Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

removed symfony 4.4 deprecations #97

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Command/DriverLockCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
use Lexik\Bundle\MaintenanceBundle\Drivers\AbstractDriver;
use Lexik\Bundle\MaintenanceBundle\Drivers\DriverTtlInterface;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;

/**
* Create a lock action
*
* @package LexikMaintenanceBundle
* @author Gilles Gauthier <[email protected]>
*/
class DriverLockCommand extends ContainerAwareCommand
class DriverLockCommand extends Command
{
protected $ttl;

Expand Down
4 changes: 2 additions & 2 deletions Command/DriverUnlockCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@

namespace Lexik\Bundle\MaintenanceBundle\Command;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;

/**
* Create an unlock action
*
* @package LexikMaintenanceBundle
* @author Gilles Gauthier <[email protected]>
*/
class DriverUnlockCommand extends ContainerAwareCommand
class DriverUnlockCommand extends Command
{
/**
* {@inheritdoc}
Expand Down
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('lexik_maintenance');
$treeBuilder = new TreeBuilder('lexik_maintenance');
$rootNode = $treeBuilder->getRootNode();

$rootNode
->addDefaultsIfNotSet()
Expand Down