Passed
Push — master ( 1920c4...e429c0 )
by Alec
02:41
created
src/ConsoleColour/Core/AbstractColorSupportingTerminal.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,8 +210,7 @@
 block discarded – undo
210 210
         return
211 211
             $this->supportsColor() ?
212 212
                 $this->checkFor256ColorSupport(static::ENV_TERM) ||
213
-                $this->checkFor256ColorSupport(static::ENV_DOCKER_TERM) :
214
-                false;
213
+                $this->checkFor256ColorSupport(static::ENV_DOCKER_TERM) : false;
215 214
     }
216 215
 
217 216
     /**
Please login to merge, or discard this patch.
src/ConsoleColour/ConsoleColor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                  * @return bool
93 93
                  * @psalm-suppress MissingClosureParamType
94 94
                  */
95
-                static function ($val): bool {
95
+                static function($val): bool {
96 96
                     return $val !== null;
97 97
                 }
98 98
             );
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
                 throw new InvalidStyleException($style);
243 243
             }
244 244
         }
245
-        if(\array_key_exists($name, $this->themes) && false === $override) {
245
+        if (\array_key_exists($name, $this->themes) && false === $override) {
246 246
             throw new \RuntimeException('Theme [' . $name . '] is already set.');
247 247
         }
248 248
         $this->themes[$name] = $styles;
Please login to merge, or discard this patch.
src/ConsoleColour/Themes/Themes.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
  * @method green(string $text)
16 16
  * @method cyan(string $text)
17 17
  * @method magenta(string $text)
18
-
19 18
  * @method italic(string $text)
20 19
  * @method bold(string $text)
21 20
  * @method dark(string $text)
Please login to merge, or discard this patch.