Closed paolomainardi closed 9 years ago
Example:
% ./spark.php redmine:show 8953 PHP Warning: implode(): Invalid arguments passed in /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/kbsali/redmine-api/lib/Redmine/Api/Issue.php on line 59 PHP Stack trace: PHP 1. {main}() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/spark.php:0 PHP 2. Symfony\Component\Console\Application->run() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/spark.php:44 PHP 3. Symfony\Component\Console\Application->doRun() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Application.php:126 PHP 4. Symfony\Component\Console\Application->doRunCommand() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Application.php:195 PHP 5. Symfony\Component\Console\Command\Command->run() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Application.php:878 PHP 6. Sparkfabrik\Tools\Spark\Command\Redmine\RedmineShowCommand->execute() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Command/Command.php:259 PHP 7. Redmine\Api\Issue->show() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/src/Sparkfabrik/Command/Redmine/RedmineShowCommand.php:112 PHP 8. implode() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/kbsali/redmine-api/lib/Redmine/Api/Issue.php:59 Warning: implode(): Invalid arguments passed in /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/kbsali/redmine-api/lib/Redmine/Api/Issue.php on line 59 Call Stack: 0.0029 437352 1. {main}() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/spark.php:0 0.0356 3633496 2. Symfony\Component\Console\Application->run() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/spark.php:44 0.0369 3771176 3. Symfony\Component\Console\Application->doRun() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Application.php:126 0.0370 3772096 4. Symfony\Component\Console\Application->doRunCommand() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Application.php:195 0.0370 3772600 5. Symfony\Component\Console\Command\Command->run() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Application.php:878 0.0374 3777568 6. Sparkfabrik\Tools\Spark\Command\Redmine\RedmineShowCommand->execute() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/symfony/console/Command/Command.php:259 0.0469 4046496 7. Redmine\Api\Issue->show() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/src/Sparkfabrik/Command/Redmine/RedmineShowCommand.php:112 0.0469 4046592 8. implode() /Users/paolomainardi/dev/webapps/me/tools/spark-cli/vendor/kbsali/redmine-api/lib/Redmine/Api/Issue.php:59
Fixed: https://github.com/sparkfabrik/sparktool/pull/56
Example: