Merge pull request #4686 from annando/no-warn-app

Avoid the warning of an unitialized variable in .htconfig.php
This commit is contained in:
Hypolite Petovan 2018-03-26 20:44:53 -04:00 committed by GitHub
commit 35e18e9e1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -79,6 +79,8 @@ HELP;
protected function doExecute()
{
$a = get_app();
if ($this->getOption('v')) {
$this->out('Executable: ' . $this->executable);
$this->out('Class: ' . __CLASS__);

View file

@ -39,6 +39,8 @@ HELP;
protected function doExecute()
{
$a = get_app();
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
$this->out('Arguments: ' . var_export($this->args, true));

View file

@ -39,6 +39,8 @@ HELP;
protected function doExecute()
{
$a = get_app();
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
$this->out('Arguments: ' . var_export($this->args, true));

View file

@ -47,6 +47,8 @@ HELP;
protected function doExecute()
{
$a = get_app();
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
$this->out('Arguments: ' . var_export($this->args, true));

View file

@ -47,6 +47,8 @@ HELP;
protected function doExecute()
{
$a = get_app();
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
$this->out('Arguments: ' . var_export($this->args, true));