Completed
Branch master (d2ce68)
by Robbie
01:41
created
src/Command/Factory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * Get the BuildTask functionality as a closure
62 62
      *
63 63
      * @param  SilverStripeCommand $command
64
-     * @return Closure
64
+     * @return \Closure
65 65
      */
66 66
     public function getTaskAsClosure(SilverStripeCommand $command)
67 67
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function getTaskAsClosure(SilverStripeCommand $command)
67 67
     {
68
-        return function (InputInterface $input, OutputInterface $output) use ($command) {
68
+        return function(InputInterface $input, OutputInterface $output) use ($command) {
69 69
             $io = new SymfonyStyle($input, $output);
70 70
 
71 71
             $io->title(sprintf('%s: %s', $command->getName(), $command->getDescription()));
Please login to merge, or discard this patch.
src/Command/SilverStripeCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use SilverStripe\Core\Config\Config;
6 6
 use SilverStripe\Core\Injector\Injector;
7
-use SilverStripe\Dev\BuildTask;
8 7
 use Symfony\Component\Console\Command\Command;
9
-use Symfony\Component\Console\Input\InputArgument;
10 8
 use Symfony\Component\Console\Input\InputInterface;
11 9
 use Symfony\Component\Console\Output\OutputInterface;
12 10
 use Symfony\Component\Console\Question\Question;
Please login to merge, or discard this patch.