Completed
Pull Request — master (#531)
by
unknown
03:16
created
src/Common/ExecCommand.php 1 patch
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.
src/Common/ExecTrait.php 3 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.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -245,7 +245,6 @@
 block discarded – undo
245 245
     }
246 246
 
247 247
     /**
248
-     * @param string $command
249 248
      * @param callable $output_callback
250 249
      *
251 250
      * @return \Robo\ResultData
Please login to merge, or discard this patch.
src/Task/Base/Exec.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,7 @@
 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 7
 use Symfony\Component\Process\Process;
Please login to merge, or discard this patch.