Passed
Push — master ( a16703...c6645c )
by John
17:09 queued 13s
created
apps/cloud_federation_api/composer/composer/InstalledVersions.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             return implode(' || ', $ranges);
157 157
         }
158 158
 
159
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
159
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
160 160
     }
161 161
 
162 162
     /**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
             return $installed['versions'][$packageName]['version'];
178 178
         }
179 179
 
180
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
180
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
181 181
     }
182 182
 
183 183
     /**
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
             return $installed['versions'][$packageName]['pretty_version'];
199 199
         }
200 200
 
201
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
201
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
202 202
     }
203 203
 
204 204
     /**
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
             return $installed['versions'][$packageName]['reference'];
220 220
         }
221 221
 
222
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
222
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
223 223
     }
224 224
 
225 225
     /**
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
             return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
237 237
         }
238 238
 
239
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
239
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
240 240
     }
241 241
 
242 242
     /**
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
             // only require the installed.php file if this file is loaded from its dumped location,
266 266
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
267 267
             if (substr(__DIR__, -8, 1) !== 'C') {
268
-                self::$installed = include __DIR__ . '/installed.php';
268
+                self::$installed = include __DIR__.'/installed.php';
269 269
             } else {
270 270
                 self::$installed = array();
271 271
             }
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
             // only require the installed.php file if this file is loaded from its dumped location,
339 339
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
340 340
             if (substr(__DIR__, -8, 1) !== 'C') {
341
-                self::$installed = require __DIR__ . '/installed.php';
341
+                self::$installed = require __DIR__.'/installed.php';
342 342
             } else {
343 343
                 self::$installed = array();
344 344
             }
Please login to merge, or discard this patch.
apps/contactsinteraction/composer/composer/InstalledVersions.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             return implode(' || ', $ranges);
157 157
         }
158 158
 
159
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
159
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
160 160
     }
161 161
 
162 162
     /**
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
             return $installed['versions'][$packageName]['version'];
178 178
         }
179 179
 
180
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
180
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
181 181
     }
182 182
 
183 183
     /**
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
             return $installed['versions'][$packageName]['pretty_version'];
199 199
         }
200 200
 
201
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
201
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
202 202
     }
203 203
 
204 204
     /**
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
             return $installed['versions'][$packageName]['reference'];
220 220
         }
221 221
 
222
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
222
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
223 223
     }
224 224
 
225 225
     /**
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
             return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
237 237
         }
238 238
 
239
-        throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
239
+        throw new \OutOfBoundsException('Package "'.$packageName.'" is not installed');
240 240
     }
241 241
 
242 242
     /**
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
             // only require the installed.php file if this file is loaded from its dumped location,
266 266
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
267 267
             if (substr(__DIR__, -8, 1) !== 'C') {
268
-                self::$installed = include __DIR__ . '/installed.php';
268
+                self::$installed = include __DIR__.'/installed.php';
269 269
             } else {
270 270
                 self::$installed = array();
271 271
             }
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
             // only require the installed.php file if this file is loaded from its dumped location,
339 339
             // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
340 340
             if (substr(__DIR__, -8, 1) !== 'C') {
341
-                self::$installed = require __DIR__ . '/installed.php';
341
+                self::$installed = require __DIR__.'/installed.php';
342 342
             } else {
343 343
                 self::$installed = array();
344 344
             }
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/MtimeSanitizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@
 block discarded – undo
33 33
 		}
34 34
 
35 35
 		// Prevent writing invalid mtime (timezone-proof)
36
-		if ((int)$mtimeFromRequest <= 24 * 60 * 60) {
36
+		if ((int) $mtimeFromRequest <= 24 * 60 * 60) {
37 37
 			throw new \InvalidArgumentException('X-OC-MTime header must be a valid positive integer');
38 38
 		}
39 39
 
40
-		return (int)$mtimeFromRequest;
40
+		return (int) $mtimeFromRequest;
41 41
 	}
42 42
 }
Please login to merge, or discard this patch.
lib/public/IDBConnection.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -48,32 +48,32 @@
 block discarded – undo
48 48
 	/**
49 49
 	 * @deprecated 22.0.0 this is an internal event
50 50
 	 */
51
-	public const ADD_MISSING_INDEXES_EVENT = self::class . '::ADD_MISSING_INDEXES';
51
+	public const ADD_MISSING_INDEXES_EVENT = self::class.'::ADD_MISSING_INDEXES';
52 52
 
53 53
 	/**
54 54
 	 * @deprecated 22.0.0 this is an internal event
55 55
 	 */
56
-	public const CHECK_MISSING_INDEXES_EVENT = self::class . '::CHECK_MISSING_INDEXES';
56
+	public const CHECK_MISSING_INDEXES_EVENT = self::class.'::CHECK_MISSING_INDEXES';
57 57
 
58 58
 	/**
59 59
 	 * @deprecated 22.0.0 this is an internal event
60 60
 	 */
61
-	public const ADD_MISSING_PRIMARY_KEYS_EVENT = self::class . '::ADD_MISSING_PRIMARY_KEYS';
61
+	public const ADD_MISSING_PRIMARY_KEYS_EVENT = self::class.'::ADD_MISSING_PRIMARY_KEYS';
62 62
 
63 63
 	/**
64 64
 	 * @deprecated 22.0.0 this is an internal event
65 65
 	 */
66
-	public const CHECK_MISSING_PRIMARY_KEYS_EVENT = self::class . '::CHECK_MISSING_PRIMARY_KEYS';
66
+	public const CHECK_MISSING_PRIMARY_KEYS_EVENT = self::class.'::CHECK_MISSING_PRIMARY_KEYS';
67 67
 
68 68
 	/**
69 69
 	 * @deprecated 22.0.0 this is an internal event
70 70
 	 */
71
-	public const ADD_MISSING_COLUMNS_EVENT = self::class . '::ADD_MISSING_COLUMNS';
71
+	public const ADD_MISSING_COLUMNS_EVENT = self::class.'::ADD_MISSING_COLUMNS';
72 72
 
73 73
 	/**
74 74
 	 * @deprecated 22.0.0 this is an internal event
75 75
 	 */
76
-	public const CHECK_MISSING_COLUMNS_EVENT = self::class . '::CHECK_MISSING_COLUMNS';
76
+	public const CHECK_MISSING_COLUMNS_EVENT = self::class.'::CHECK_MISSING_COLUMNS';
77 77
 
78 78
 	/**
79 79
 	 * Gets the QueryBuilder for the connection.
Please login to merge, or discard this patch.
lib/private/DB/AdapterPgSql.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 		$result = $this->conn->executeQuery('SELECT lastval()');
34 34
 		$val = $result->fetchOne();
35 35
 		$result->free();
36
-		return (int)$val;
36
+		return (int) $val;
37 37
 	}
38 38
 
39 39
 	public const UNIX_TIMESTAMP_REPLACEMENT = 'cast(extract(epoch from current_timestamp) as integer)';
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 		foreach ($values as $key => $value) {
56 56
 			$builder->setValue($key, $builder->createNamedParameter($value));
57 57
 		}
58
-		$queryString = $builder->getSQL() . ' ON CONFLICT DO NOTHING';
58
+		$queryString = $builder->getSQL().' ON CONFLICT DO NOTHING';
59 59
 		return $this->conn->executeUpdate($queryString, $builder->getParameters(), $builder->getParameterTypes());
60 60
 	}
61 61
 
Please login to merge, or discard this patch.
lib/private/AppFramework/Http/Request.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -304,8 +304,8 @@  discard block
 block discarded – undo
304 304
 	 */
305 305
 	public function getHeader(string $name): string {
306 306
 		$name = strtoupper(str_replace('-', '_', $name));
307
-		if (isset($this->server['HTTP_' . $name])) {
308
-			return $this->server['HTTP_' . $name];
307
+		if (isset($this->server['HTTP_'.$name])) {
308
+			return $this->server['HTTP_'.$name];
309 309
 		}
310 310
 
311 311
 		// There's a few headers that seem to end up in the top-level
@@ -665,7 +665,7 @@  discard block
 block discarded – undo
665 665
 	 * @return bool
666 666
 	 */
667 667
 	private function isOverwriteCondition(string $type = ''): bool {
668
-		$regex = '/' . $this->config->getSystemValue('overwritecondaddr', '')  . '/';
668
+		$regex = '/'.$this->config->getSystemValue('overwritecondaddr', '').'/';
669 669
 		$remoteAddr = isset($this->server['REMOTE_ADDR']) ? $this->server['REMOTE_ADDR'] : '';
670 670
 		return $regex === '//' || preg_match($regex, $remoteAddr) === 1
671 671
 		|| $type !== 'protocol';
@@ -738,7 +738,7 @@  discard block
 block discarded – undo
738 738
 	public function getRequestUri(): string {
739 739
 		$uri = isset($this->server['REQUEST_URI']) ? $this->server['REQUEST_URI'] : '';
740 740
 		if ($this->config->getSystemValue('overwritewebroot') !== '' && $this->isOverwriteCondition()) {
741
-			$uri = $this->getScriptName() . substr($uri, \strlen($this->server['SCRIPT_NAME']));
741
+			$uri = $this->getScriptName().substr($uri, \strlen($this->server['SCRIPT_NAME']));
742 742
 		}
743 743
 		return $uri;
744 744
 	}
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
 			// FIXME: This code is untestable due to __DIR__, also that hardcoded path is really dangerous
821 821
 			$serverRoot = str_replace('\\', '/', substr(__DIR__, 0, -\strlen('lib/private/appframework/http/')));
822 822
 			$suburi = str_replace('\\', '/', substr(realpath($this->server['SCRIPT_FILENAME']), \strlen($serverRoot)));
823
-			$name = '/' . ltrim($overwriteWebRoot . $suburi, '/');
823
+			$name = '/'.ltrim($overwriteWebRoot.$suburi, '/');
824 824
 		}
825 825
 		return $name;
826 826
 	}
@@ -895,7 +895,7 @@  discard block
 block discarded – undo
895 895
 			return $host;
896 896
 		}
897 897
 
898
-		$trustedList = (array)$this->config->getSystemValue('trusted_domains', []);
898
+		$trustedList = (array) $this->config->getSystemValue('trusted_domains', []);
899 899
 		if (count($trustedList) > 0) {
900 900
 			return reset($trustedList);
901 901
 		}
Please login to merge, or discard this patch.
lib/private/Installer.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -109,8 +109,8 @@  discard block
 block discarded – undo
109 109
 
110 110
 		$basedir = $app['path'].'/'.$appId;
111 111
 
112
-		if (is_file($basedir . '/appinfo/database.xml')) {
113
-			throw new \Exception('The appinfo/database.xml file is not longer supported. Used in ' . $appId);
112
+		if (is_file($basedir.'/appinfo/database.xml')) {
113
+			throw new \Exception('The appinfo/database.xml file is not longer supported. Used in '.$appId);
114 114
 		}
115 115
 
116 116
 		$l = \OC::$server->getL10N('core');
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 		\OC_App::setupBackgroundJobs($info['background-jobs']);
161 161
 
162 162
 		//run appinfo/install.php
163
-		self::includeAppScript($basedir . '/appinfo/install.php');
163
+		self::includeAppScript($basedir.'/appinfo/install.php');
164 164
 
165 165
 		OC_App::executeRepairSteps($appId, $info['repair-steps']['install']);
166 166
 
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 			if ($app['id'] === $appId) {
233 233
 				// Load the certificate
234 234
 				$certificate = new X509();
235
-				$rootCrt = file_get_contents(__DIR__ . '/../../resources/codesigning/root.crt');
235
+				$rootCrt = file_get_contents(__DIR__.'/../../resources/codesigning/root.crt');
236 236
 				$rootCrts = $this->splitCerts($rootCrt);
237 237
 				foreach ($rootCrts as $rootCrt) {
238 238
 					$certificate->loadCA($rootCrt);
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 				foreach ($rootCrts as $rootCrt) {
245 245
 					$crl->loadCA($rootCrt);
246 246
 				}
247
-				$crl->loadCRL(file_get_contents(__DIR__ . '/../../resources/codesigning/root.crl'));
247
+				$crl->loadCRL(file_get_contents(__DIR__.'/../../resources/codesigning/root.crl'));
248 248
 				if ($crl->validateSignature() !== true) {
249 249
 					throw new \Exception('Could not validate CRL signature');
250 250
 				}
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 
298 298
 				// Check if the signature actually matches the downloaded content
299 299
 				$certificate = openssl_get_publickey($app['certificate']);
300
-				$verified = (bool)openssl_verify(file_get_contents($tempFile), base64_decode($app['releases'][0]['signature']), $certificate, OPENSSL_ALGO_SHA512);
300
+				$verified = (bool) openssl_verify(file_get_contents($tempFile), base64_decode($app['releases'][0]['signature']), $certificate, OPENSSL_ALGO_SHA512);
301 301
 				// PHP 8+ deprecates openssl_free_key and automatically destroys the key instance when it goes out of scope
302 302
 				if ((PHP_VERSION_ID < 80000)) {
303 303
 					openssl_free_key($certificate);
@@ -309,11 +309,11 @@  discard block
 block discarded – undo
309 309
 					$archive = new TAR($tempFile);
310 310
 
311 311
 					if (!$archive->extract($extractDir)) {
312
-						$errorMessage = 'Could not extract app ' . $appId;
312
+						$errorMessage = 'Could not extract app '.$appId;
313 313
 
314 314
 						$archiveError = $archive->getError();
315 315
 						if ($archiveError instanceof \PEAR_Error) {
316
-							$errorMessage .= ': ' . $archiveError->getMessage();
316
+							$errorMessage .= ': '.$archiveError->getMessage();
317 317
 						}
318 318
 
319 319
 						throw new \Exception($errorMessage);
@@ -334,24 +334,24 @@  discard block
 block discarded – undo
334 334
 					// Check if appinfo/info.xml has the same app ID as well
335 335
 					if ((PHP_VERSION_ID < 80000)) {
336 336
 						$loadEntities = libxml_disable_entity_loader(false);
337
-						$xml = simplexml_load_file($extractDir . '/' . $folders[0] . '/appinfo/info.xml');
337
+						$xml = simplexml_load_file($extractDir.'/'.$folders[0].'/appinfo/info.xml');
338 338
 						libxml_disable_entity_loader($loadEntities);
339 339
 					} else {
340
-						$xml = simplexml_load_file($extractDir . '/' . $folders[0] . '/appinfo/info.xml');
340
+						$xml = simplexml_load_file($extractDir.'/'.$folders[0].'/appinfo/info.xml');
341 341
 					}
342
-					if ((string)$xml->id !== $appId) {
342
+					if ((string) $xml->id !== $appId) {
343 343
 						throw new \Exception(
344 344
 							sprintf(
345 345
 								'App for id %s has a wrong app ID in info.xml: %s',
346 346
 								$appId,
347
-								(string)$xml->id
347
+								(string) $xml->id
348 348
 							)
349 349
 						);
350 350
 					}
351 351
 
352 352
 					// Check if the version is lower than before
353 353
 					$currentVersion = OC_App::getAppVersion($appId);
354
-					$newVersion = (string)$xml->version;
354
+					$newVersion = (string) $xml->version;
355 355
 					if (version_compare($currentVersion, $newVersion) === 1) {
356 356
 						throw new \Exception(
357 357
 							sprintf(
@@ -363,12 +363,12 @@  discard block
 block discarded – undo
363 363
 						);
364 364
 					}
365 365
 
366
-					$baseDir = OC_App::getInstallPath() . '/' . $appId;
366
+					$baseDir = OC_App::getInstallPath().'/'.$appId;
367 367
 					// Remove old app with the ID if existent
368 368
 					OC_Helper::rmdirr($baseDir);
369 369
 					// Move to app folder
370 370
 					if (@mkdir($baseDir)) {
371
-						$extractDir .= '/' . $folders[0];
371
+						$extractDir .= '/'.$folders[0];
372 372
 						OC_Helper::copyr($extractDir, $baseDir);
373 373
 					}
374 374
 					OC_Helper::copyr($extractDir, $baseDir);
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
 			if (\OC::$server->getAppManager()->isShipped($appId)) {
498 498
 				return false;
499 499
 			}
500
-			$appDir = OC_App::getInstallPath() . '/' . $appId;
500
+			$appDir = OC_App::getInstallPath().'/'.$appId;
501 501
 			OC_Helper::rmdirr($appDir);
502 502
 			return true;
503 503
 		} else {
Please login to merge, or discard this patch.
lib/private/Security/TrustedDomainHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 		}
71 71
 
72 72
 		if (isset($parsedUrl['port']) && $parsedUrl['port']) {
73
-			return $this->isTrustedDomain($parsedUrl['host'] . ':' . $parsedUrl['port']);
73
+			return $this->isTrustedDomain($parsedUrl['host'].':'.$parsedUrl['port']);
74 74
 		}
75 75
 
76 76
 		return $this->isTrustedDomain($parsedUrl['host']);
@@ -106,9 +106,9 @@  discard block
 block discarded – undo
106 106
 			if (gettype($trusted) !== 'string') {
107 107
 				break;
108 108
 			}
109
-			$regex = '/^' . implode('[-\.a-zA-Z0-9]*', array_map(function ($v) {
109
+			$regex = '/^'.implode('[-\.a-zA-Z0-9]*', array_map(function($v) {
110 110
 				return preg_quote($v, '/');
111
-			}, explode('*', $trusted))) . '$/i';
111
+			}, explode('*', $trusted))).'$/i';
112 112
 			if (preg_match($regex, $domain) || preg_match($regex, $domainWithPort)) {
113 113
 				return true;
114 114
 			}
Please login to merge, or discard this patch.
lib/private/Preview/MarkDown.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -76,12 +76,12 @@  discard block
 block discarded – undo
76 76
 		imagecolorallocate($image, 255, 255, 255);
77 77
 		$textColor = imagecolorallocate($image, 0, 0, 0);
78 78
 
79
-		$fontFile = __DIR__ . '/../../../core/fonts/NotoSans-Regular.ttf';
80
-		$fontFileBold = __DIR__ . '/../../../core/fonts/NotoSans-Bold.ttf';
79
+		$fontFile = __DIR__.'/../../../core/fonts/NotoSans-Regular.ttf';
80
+		$fontFileBold = __DIR__.'/../../../core/fonts/NotoSans-Bold.ttf';
81 81
 
82 82
 		$canUseTTF = function_exists('imagettftext');
83 83
 
84
-		$textOffset = (int)min($maxX * 0.05, $maxY * 0.05);
84
+		$textOffset = (int) min($maxX * 0.05, $maxY * 0.05);
85 85
 		$nextLineStart = 0;
86 86
 		$y = $textOffset;
87 87
 		foreach ($lines as $line) {
@@ -107,14 +107,14 @@  discard block
 block discarded – undo
107 107
 
108 108
 			// Add spacing before headlines
109 109
 			if ($actualFontSize !== $fontSize && $y !== $textOffset) {
110
-				$y += (int)($actualFontSize * 2);
110
+				$y += (int) ($actualFontSize * 2);
111 111
 			}
112 112
 
113 113
 			$x = $textOffset;
114
-			$y += (int)($nextLineStart + $actualFontSize);
114
+			$y += (int) ($nextLineStart + $actualFontSize);
115 115
 
116 116
 			if ($canUseTTF === true) {
117
-				$wordWrap = (int)((1 / $actualFontSize * 1.3) * $maxX);
117
+				$wordWrap = (int) ((1 / $actualFontSize * 1.3) * $maxX);
118 118
 
119 119
 				// Get rid of markdown symbols that we still needed for the font size
120 120
 				$line = preg_replace('/^#*\s/', '', $line);
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 				$wrappedText = wordwrap($line, $wordWrap, "\n");
123 123
 				$linesWrapped = count(explode("\n", $wrappedText));
124 124
 				imagettftext($image, $actualFontSize, 0, $x, $y, $textColor, $actualFontSize === $fontSize ? $fontFile : $fontFileBold, $wrappedText);
125
-				$nextLineStart = (int)($linesWrapped * ceil($actualFontSize * 2));
125
+				$nextLineStart = (int) ($linesWrapped * ceil($actualFontSize * 2));
126 126
 				if ($actualFontSize !== $fontSize && $y !== $textOffset) {
127 127
 					$nextLineStart -= $actualFontSize;
128 128
 				}
Please login to merge, or discard this patch.