Completed
Push — master ( 216ca8...2dc9c5 )
by Robbie
11s
created
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.
tests/Command/Member/ChangeGroupsCommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
                 $this->isInstanceOf(InputInterface::class),
103 103
                 $this->isInstanceOf(OutputInterface::class),
104 104
                 $this->callback(
105
-                    function ($argument) {
105
+                    function($argument) {
106 106
                         return $argument instanceof ChoiceQuestion
107 107
                             && $argument->isMultiselect()
108 108
                             && !empty($argument->getChoices());
Please login to merge, or discard this patch.
tests/Command/FactoryTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Get a Factory to test with
89 89
      *
90
-     * @return Factory
90
+     * @return \SilverLeague\Console\Command\Factory
91 91
      */
92 92
     protected function getFactory()
93 93
     {
Please login to merge, or discard this patch.
src/Command/Object/DebugCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
             return $output->writeln(json_encode($data, JSON_PRETTY_PRINT));
195 195
         }
196 196
 
197
-        array_walk($data, function (&$value, $key) {
197
+        array_walk($data, function(&$value, $key) {
198 198
             $value = [$key, $value];
199 199
         });
200 200
 
Please login to merge, or discard this patch.