From 58ae5bd61722fabdd1e8062451f65dd214b81b16 Mon Sep 17 00:00:00 2001 From: xanm Date: Wed, 11 Jun 2014 16:44:42 +0400 Subject: [PATCH] --fix PHP Strict Standards Only variables should be passed by reference in CliRunner.class.php --- src/CliRunner.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CliRunner.class.php b/src/CliRunner.class.php index d63e7b5..e678781 100644 --- a/src/CliRunner.class.php +++ b/src/CliRunner.class.php @@ -25,7 +25,8 @@ function applyParamsFromFile($file_name) function setCliParams(array $argv) { - $this->command = array_shift(self::parseArgs($argv)); + $parsedArgs = self::parseArgs($argv); + $this->command = array_shift( $parsedArgs); $this->params = array_slice(self::parseArgs($argv), 1); }