Passed
Branch developer (61f44f)
by Mariusz
03:54
created
lib/Layout/LineBox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
 	 */
190 190
 	public function removeWhiteSpaces()
191 191
 	{
192
-		$this->iterateChildren(function ($child) {
192
+		$this->iterateChildren(function($child) {
193 193
 			if ($child->containContent()) {
194 194
 				$child->setForMeasurement(true);
195 195
 
Please login to merge, or discard this patch.
lib/Math.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 			return bcsub($numbers[0], $numbers[1], static::$scale);
91 91
 		}
92 92
 		$result = $numbers[0];
93
-		for ($i = 1,$len = \count($numbers); $i < $len; ++$i) {
93
+		for ($i = 1, $len = \count($numbers); $i < $len; ++$i) {
94 94
 			$result = bcsub($result, $numbers[$i], static::$scale);
95 95
 		}
96 96
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 			return '0';
137 137
 		}
138 138
 		$result = $numbers[0];
139
-		for ($i = 1,$len = \count($numbers); $i < $len; ++$i) {
139
+		for ($i = 1, $len = \count($numbers); $i < $len; ++$i) {
140 140
 			if ((float) $numbers[$i] === (float) 0) {
141 141
 				return '0';
142 142
 			}
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	public static function min(string ...$numbers)
187 187
 	{
188 188
 		$result = $numbers[0];
189
-		for ($i = 1,$len = \count($numbers); $i < $len; ++$i) {
189
+		for ($i = 1, $len = \count($numbers); $i < $len; ++$i) {
190 190
 			$result = 1 === bccomp($result, $numbers[$i], static::$scale) ? $numbers[$i] : $result;
191 191
 		}
192 192
 
Please login to merge, or discard this patch.
examples/LoremIpsum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 	$document->loadHtml(file_get_contents($file . '.html'));
8 8
 	$time = microtime(true);
9 9
 	$pdfFile = $document->render();
10
-	echo microtime(true) -$time;
10
+	echo microtime(true) - $time;
11 11
 	file_put_contents($file . '.pdf', $pdfFile);
12 12
 }
Please login to merge, or discard this patch.
examples/LongTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 	$document->loadHtml(file_get_contents($file . '.html'));
8 8
 	$time = microtime(true);
9 9
 	$pdfFile = $document->render();
10
-	echo microtime(true) -$time;
10
+	echo microtime(true) - $time;
11 11
 	file_put_contents($file . '.pdf', $pdfFile);
12 12
 }
Please login to merge, or discard this patch.
examples/InvoiceTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
 $document->loadHtml(file_get_contents('InvoiceTable.html'));
6 6
 $time = microtime(true);
7 7
 $pdfFile = $document->render();
8
-echo microtime(true)-$time;
8
+echo microtime(true) - $time;
9 9
 file_put_contents('InvoiceTable.pdf', $pdfFile);
Please login to merge, or discard this patch.
examples/NotExported.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 	$document->loadHtml(file_get_contents($file . '.html'));
8 8
 	$time = microtime(true);
9 9
 	$pdfFile = $document->render();
10
-	echo microtime(true) -$time;
10
+	echo microtime(true) - $time;
11 11
 	file_put_contents($file . '.pdf', $pdfFile);
12 12
 }
Please login to merge, or discard this patch.
examples/PagesTables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,6 @@
 block discarded – undo
7 7
 	$document->loadHtml(file_get_contents($file . '.html'));
8 8
 	$time = microtime(true);
9 9
 	$pdfFile = $document->render();
10
-	echo microtime(true)-$time;
10
+	echo microtime(true) - $time;
11 11
 	file_put_contents($file . '.pdf', $pdfFile);
12 12
 }
Please login to merge, or discard this patch.