Passed
Push — master ( 6188a9...e7d3e1 )
by Jhao
05:48
created
src/Language/Fingerprint/FingerprintBarcode.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
             yield \sprintf('BM %d', Fingerprint::DEFAULT_BARCODE_MAGNIFICATION);
66 66
         }
67 67
 
68
-        if (! $command->isReadable()) {
68
+        if (!$command->isReadable()) {
69 69
             yield 'BF ON';
70 70
         }
71 71
     }
Please login to merge, or discard this patch.
src/Connector/NetworkConnector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
     {
119 119
         $this->lastError = null;
120 120
 
121
-        \set_error_handler(function ($severity, $message, $file, $line) {
121
+        \set_error_handler(function($severity, $message, $file, $line) {
122 122
             $this->lastError = \compact('severity', 'message', 'file', 'line');
123 123
         });
124 124
     }
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $instructions[] = $this->language->translatePrint($copies);
48 48
 
49
-        $payload = \array_reduce($instructions, static function ($carry, $item) {
49
+        $payload = \array_reduce($instructions, static function($carry, $item) {
50 50
             return $item instanceof \Generator
51 51
                 ? \array_merge($carry, \iterator_to_array($item, false))
52 52
                 : \array_merge($carry, $item);
Please login to merge, or discard this patch.
src/Emulation/RllCodec.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     private function scan(): \Generator
41 41
     {
42 42
         foreach ((new \ImagickPixelIterator($this->image)) as $y => $line) {
43
-            $buffer = \array_reduce($line, static function ($carry, $pixel) {
43
+            $buffer = \array_reduce($line, static function($carry, $pixel) {
44 44
                 $color = $pixel->getColor();
45 45
 
46 46
                 $carry[] = 1 - ((int) (($color['r'] + $color['g'] + $color['b']) / 3) >> 7);
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             return;
95 95
         }
96 96
 
97
-        \array_map(static function () use (&$buffer) {
97
+        \array_map(static function() use (&$buffer) {
98 98
             $buffer[] = self::MAX_RUN_LENGTH;
99 99
             $buffer[] = 0;
100 100
         }, \range(1, \intdiv($length, self::MAX_RUN_LENGTH)));
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         } elseif ($count > 1 && $count <= self::MAX_LINE_REPETITIONS) {
146 146
             $buffer[] = $this->buildLineRepetition($line, $count);
147 147
         } else {
148
-            \array_map(function () use (&$buffer, $line) {
148
+            \array_map(function() use (&$buffer, $line) {
149 149
                 $buffer[] = $this->buildLineRepetition($line, self::MAX_LINE_REPETITIONS);
150 150
             }, \range(1, \intdiv($count, self::MAX_LINE_REPETITIONS)));
151 151
 
Please login to merge, or discard this patch.
src/Emulation/Canvas.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
         $lines = [];
121 121
         $lineWidth = [];
122 122
 
123
-        while(\count($words) > 0) {
123
+        while (\count($words) > 0) {
124 124
             $metrics = $this->image->queryFontMetrics($canvas, \implode(' ', \array_slice($words, 0, $i)));
125 125
 
126 126
             if ($metrics['textWidth'] > $this->width || \count($words) < $i) {
Please login to merge, or discard this patch.