Passed
Push — main ( 6ad81f...1b5a5a )
by Dimitri
12:10 queued 08:06
created
src/Cli/Console/Command.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
      */
305 305
     final public function success(string $message, bool $badge = true, string $label = 'SUCCESS'): self
306 306
     {
307
-        if (! $badge) {
307
+        if (!$badge) {
308 308
             $this->writer->okBold($label);
309 309
         } else {
310 310
             $this->writer->boldWhiteBgGreen(" {$label} ");
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      */
319 319
     final public function warning(string $message, bool $badge = true, string $label = 'WARNING'): self
320 320
     {
321
-        if (! $badge) {
321
+        if (!$badge) {
322 322
             $this->writer->warnBold($label);
323 323
         } else {
324 324
             $this->writer->boldWhiteBgYellow(" {$label} ");
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
      */
333 333
     final public function info(string $message, bool $badge = true, string $label = 'INFO'): self
334 334
     {
335
-        if (! $badge) {
335
+        if (!$badge) {
336 336
             $this->writer->infoBold($label);
337 337
         } else {
338 338
             $this->writer->boldWhiteBgCyan(" {$label} ");
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
      */
347 347
     final public function error(string $message, bool $badge = true, string $label = 'ERROR'): self
348 348
     {
349
-        if (! $badge) {
349
+        if (!$badge) {
350 350
             $this->writer->errorBold($label);
351 351
         } else {
352 352
             $this->writer->boldWhiteBgRed(" {$label} ");
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
      */
450 450
     final public function json($data): self
451 451
     {
452
-        $this->write(json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES), true);
452
+        $this->write(json_encode($data, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES), true);
453 453
 
454 454
         return $this;
455 455
     }
Please login to merge, or discard this patch.