From 9ef02809e34a6ab59792a6660ab7ececab403677 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Fri, 5 Jun 2020 17:47:49 +0200 Subject: [PATCH] Rename variable Increase PHP requirement --- BaseHandler.php | 8 ++++---- composer.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BaseHandler.php b/BaseHandler.php index b9289e3..0d41d74 100644 --- a/BaseHandler.php +++ b/BaseHandler.php @@ -31,7 +31,7 @@ abstract class BaseHandler implements BaseHandlerInterface { /** * @var \Symfony\Component\Console\Input\InputInterface */ - protected $input; + protected $consoleInput; /** * The event that triggered the action. @@ -72,7 +72,7 @@ abstract class BaseHandler implements BaseHandlerInterface { * {@inheritdoc} */ public function setInput(InputInterface $input) { - $this->input = $input; + $this->consoleInput = $input; return $this; } @@ -100,8 +100,8 @@ abstract class BaseHandler implements BaseHandlerInterface { if ($this->event !== NULL) { return $this->event->isDevMode(); } - if ($this->input !== NULL) { - return !$this->input->hasOption('no-dev'); + if ($this->consoleInput !== NULL) { + return !$this->consoleInput->hasOption('no-dev'); } return FALSE; } diff --git a/composer.json b/composer.json index 3cad641..692b49e 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "source": "https://gitlab.lakedrops.com/composer/library/composer-json-utils/tree/master" }, "require": { - "php": ">=7.0", + "php": ">=7.2", "ext-json": "*" }, "require-dev": { -- GitLab