Completed
Pull Request — master (#197)
by personal
04:52 queued 01:51
created
src/Hal/Application/Formater/Details/Cli.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * @inheritdoc
55 55
      */
56
-    public function terminate(ResultCollection $collection, ResultCollection $groupedResults){
56
+    public function terminate(ResultCollection $collection, ResultCollection $groupedResults) {
57 57
 
58 58
         $output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
59 59
 //        $output->write(str_pad("\x0D", 80, "\x20"));
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $hasOOP = null !== $total->getSum('instability');
77 77
 
78
-        if(class_exists('Symfony\Component\Console\Helper\Table')) {
78
+        if (class_exists('Symfony\Component\Console\Helper\Table')) {
79 79
             // symfony >= v2.5, 3.x
80 80
             $table = new \Symfony\Component\Console\Helper\Table($output);
81 81
         } else {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                     ) : array())
108 108
             ));
109 109
 
110
-        foreach($groupedResults as $result) {
110
+        foreach ($groupedResults as $result) {
111 111
             $table->addRow(array_merge(
112 112
                 array(
113 113
                     str_repeat('  ', $result->getDepth()).$result->getName()
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     private function getStyle($key, $value) {
163 163
         $score = $this->validator->validate($key, $value);
164 164
 
165
-        switch($score) {
165
+        switch ($score) {
166 166
             case Validator::GOOD:
167 167
                 return 'fg=green';
168 168
             case Validator::WARNING:
Please login to merge, or discard this patch.