Passed
Push — main ( 7963d9...f1858f )
by smiley
02:10
created
src/Decoder/IMagickLuminanceSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
 		$count  = count($pixels);
60 60
 
61 61
 		for($i = 0; $i < $count; $i += 3){
62
-			$this->setLuminancePixel($pixels[$i] & 0xff, $pixels[$i + 1] & 0xff, $pixels[$i + 2] & 0xff);
62
+			$this->setLuminancePixel($pixels[$i]&0xff, $pixels[$i + 1]&0xff, $pixels[$i + 2]&0xff);
63 63
 		}
64 64
 	}
65 65
 
Please login to merge, or discard this patch.
src/Decoder/GDLuminanceSource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	protected function setLuminancePixels():void{
61 61
 
62 62
 		if($this->options->readerGrayscale){
63
-			imagefilter($this->gdImage,  IMG_FILTER_GRAYSCALE);
63
+			imagefilter($this->gdImage, IMG_FILTER_GRAYSCALE);
64 64
 		}
65 65
 
66 66
 		if($this->options->readerIncreaseContrast){
Please login to merge, or discard this patch.
src/Output/QRImagick.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	 * @return string|\Imagick
71 71
 	 */
72 72
 	public function dump(string $file = null){
73
-		$file          ??= $this->options->cachefile;
73
+		$file ??= $this->options->cachefile;
74 74
 		$this->imagick = new Imagick;
75 75
 
76 76
 		$this->imagick->newImage(
Please login to merge, or discard this patch.
src/Output/QRMarkup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	 * @inheritDoc
48 48
 	 */
49 49
 	public function dump(string $file = null){
50
-		$file       ??= $this->options->cachefile;
50
+		$file ??= $this->options->cachefile;
51 51
 		$saveToFile   = $file !== null;
52 52
 
53 53
 		switch($this->options->outputType){
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 
188 188
 			$cssClass = implode(' ', [
189 189
 				'qr-'.$M_TYPE,
190
-				($M_TYPE & QRMatrix::IS_DARK) === QRMatrix::IS_DARK ? 'dark' : 'light',
190
+				($M_TYPE&QRMatrix::IS_DARK) === QRMatrix::IS_DARK ? 'dark' : 'light',
191 191
 				$this->options->cssClass,
192 192
 			]);
193 193
 
Please login to merge, or discard this patch.
src/Output/QRGdImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
 		// scale down to the expected size
131 131
 		if($this->options->drawCircularModules && $this->options->scale <= 20){
132
-			$this->image = imagescale($this->image, $this->length/10, $this->length/10, IMG_BICUBIC);
132
+			$this->image = imagescale($this->image, $this->length / 10, $this->length / 10, IMG_BICUBIC);
133 133
 		}
134 134
 
135 135
 		if($this->options->returnResource){
Please login to merge, or discard this patch.