From 6edc364e6e05e94ec7976fb6fc19b6aae9b51d7b Mon Sep 17 00:00:00 2001 From: tiloziegler <86304037+tiloziegler@users.noreply.github.com> Date: Tue, 13 Jul 2021 15:21:23 +0200 Subject: [PATCH 1/3] Update Configuration.php --- DependencyInjection/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 6ee781f..aa60a6b 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -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() From eb3054a021b60eb23cc6d6c249358761da63ddd6 Mon Sep 17 00:00:00 2001 From: tiloziegler <86304037+tiloziegler@users.noreply.github.com> Date: Tue, 13 Jul 2021 15:21:47 +0200 Subject: [PATCH 2/3] Update DriverLockCommand.php --- Command/DriverLockCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/DriverLockCommand.php b/Command/DriverLockCommand.php index d1fed4d..6a07412 100644 --- a/Command/DriverLockCommand.php +++ b/Command/DriverLockCommand.php @@ -5,10 +5,10 @@ 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 @@ -16,7 +16,7 @@ * @package LexikMaintenanceBundle * @author Gilles Gauthier */ -class DriverLockCommand extends ContainerAwareCommand +class DriverLockCommand extends Command { protected $ttl; From 1ac5b3d56089c9b9fb544989ba345f52601c01a5 Mon Sep 17 00:00:00 2001 From: tiloziegler <86304037+tiloziegler@users.noreply.github.com> Date: Tue, 13 Jul 2021 15:22:05 +0200 Subject: [PATCH 3/3] Update DriverUnlockCommand.php --- Command/DriverUnlockCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Command/DriverUnlockCommand.php b/Command/DriverUnlockCommand.php index 435e656..51e5006 100644 --- a/Command/DriverUnlockCommand.php +++ b/Command/DriverUnlockCommand.php @@ -2,9 +2,9 @@ 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 @@ -12,7 +12,7 @@ * @package LexikMaintenanceBundle * @author Gilles Gauthier */ -class DriverUnlockCommand extends ContainerAwareCommand +class DriverUnlockCommand extends Command { /** * {@inheritdoc}