Passed
Push — feature/scrutinizer-coverage ( 84ad93...0e1ad6 )
by Robbie
03:00
created
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.
src/Command/Factory.php 1 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/Object/ChildrenCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             return;
43 43
         }
44 44
         sort($classes);
45
-        $rows = array_map(function ($class) {
45
+        $rows = array_map(function($class) {
46 46
             return [$class];
47 47
         }, $classes);
48 48
 
Please login to merge, or discard this patch.