Passed
Push — master ( 8ef55e...136e58 )
by smiley
03:26
created
src/Output/QRMarkup.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
 		// svg header
84 84
 		$svg = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'.$length.'" height="'.$length.'" viewBox="0 0 '.$length.' '.$length.'" style="background-color:'.$this->options->bgColor.'">'.$this->options->eol.
85
-		       '<defs><style>.'.$class.'{fill:'.$this->options->fgColor.'} rect{shape-rendering:crispEdges}</style></defs>'.$this->options->eol;
85
+			   '<defs><style>.'.$class.'{fill:'.$this->options->fgColor.'} rect{shape-rendering:crispEdges}</style></defs>'.$this->options->eol;
86 86
 
87 87
 		// svg body
88 88
 		foreach($this->matrix as $r => $row){
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 				}
101 101
 				elseif($from >= 0){
102 102
 					$svg .= '<rect x="'.($from * $this->options->pixelSize + $this->options->marginSize).'" y="'.($r * $this->options->pixelSize + $this->options->marginSize)
103
-					        .'" width="'.($this->options->pixelSize * $count).'" height="'.$this->options->pixelSize.'" class="'.$class.'" />'.$this->options->eol;
103
+							.'" width="'.($this->options->pixelSize * $count).'" height="'.$this->options->pixelSize.'" class="'.$class.'" />'.$this->options->eol;
104 104
 
105 105
 					// reset count
106 106
 					$from  = -1;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 			// close off the row, if applicable
112 112
 			if($from >= 0){
113 113
 				$svg .= '<rect x="'.($from * $this->options->pixelSize + $this->options->marginSize).'" y="'.($r * $this->options->pixelSize + $this->options->marginSize)
114
-				        .'" width="'.($this->options->pixelSize * $count).'" height="'.$this->options->pixelSize.'" class="'.$class.'" />'.$this->options->eol;
114
+						.'" width="'.($this->options->pixelSize * $count).'" height="'.$this->options->pixelSize.'" class="'.$class.'" />'.$this->options->eol;
115 115
 			}
116 116
 		}
117 117
 
Please login to merge, or discard this patch.
src/QRDataGenerator.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -541,7 +541,7 @@  discard block
 block discarded – undo
541 541
 			foreach($range2 as $col){
542 542
 
543 543
 				if(
544
-					    $this->matrix[$row][$col    ]
544
+						$this->matrix[$row][$col    ]
545 545
 					&& !$this->matrix[$row][$col + 1]
546 546
 					&&  $this->matrix[$row][$col + 2]
547 547
 					&&  $this->matrix[$row][$col + 3]
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
 			foreach($range2 as $row){
560 560
 
561 561
 				if(
562
-					    $this->matrix[$row    ][$col]
562
+						$this->matrix[$row    ][$col]
563 563
 					&& !$this->matrix[$row + 1][$col]
564 564
 					&&  $this->matrix[$row + 2][$col]
565 565
 					&&  $this->matrix[$row + 3][$col]
@@ -931,7 +931,7 @@  discard block
 block discarded – undo
931 931
 				for($row = -2; $row <= 2; $row++){
932 932
 					for($col = -2; $col <= 2; $col++){
933 933
 						$this->matrix[$posI + $row][$posJ + $col] =
934
-							    $row === -2 || $row === 2
934
+								$row === -2 || $row === 2
935 935
 							||  $col === -2
936 936
 							||  $col === 2
937 937
 							|| ($row === 0 && $col === 0);
Please login to merge, or discard this patch.