Completed
Pull Request — master (#531)
by
unknown
09:16
created
src/Task/Base/Exec.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -1,13 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Robo\Task\Base;
3 3
 
4
-use Robo\Common\ExecTrait;
5 4
 use Robo\Contract\CommandInterface;
6
-use Robo\Contract\PrintedInterface;
7 5
 use Robo\Contract\SimulatedInterface;
8 6
 use Robo\Task\BaseTask;
9
-use Symfony\Component\Process\Process;
10
-use Robo\Result;
11 7
 
12 8
 /**
13 9
  * Executes shell script. Closes it when running in background mode.
Please login to merge, or discard this patch.
src/Common/ExecCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     protected function findProjectBin()
90 90
     {
91 91
         $cwd = getcwd();
92
-        $candidates = [ __DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin' ];
92
+        $candidates = [__DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin'];
93 93
 
94 94
         // If this project is inside a vendor directory, give highest priority
95 95
         // to that directory.
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Robo\Result;
5 5
 use Symfony\Component\Process\ExecutableFinder;
6
-use Symfony\Component\Process\Process;
7 6
 
8 7
 /**
9 8
  * This task is supposed to be executed as shell command.
Please login to merge, or discard this patch.
src/Common/ExecTrait.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@
 block discarded – undo
262 262
     protected function execute($command, $output_callback = null)
263 263
     {
264 264
         if (!$output_callback) {
265
-            $output_callback = function ($type, $buffer) {
265
+            $output_callback = function($type, $buffer) {
266 266
                 print($buffer);
267 267
             };
268 268
         }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Robo\Common;
4 4
 
5
-use Psr\Log\LoggerAwareTrait;
6 5
 use Robo\Result;
7 6
 use Symfony\Component\Process\Process;
8 7
 
Please login to merge, or discard this patch.