Passed
Push — development ( b93807...dda237 )
by Emanuele
01:10 queued 23s
created
sources/ElkArte/Http/Headers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
 			$altName = "; filename*=UTF-8''" . rawurlencode($fileName);
216 216
 		}
217 217
 
218
-		$this->header('Content-Disposition',$type . '; filename="' . $fileName . '"' . $altName);
218
+		$this->header('Content-Disposition', $type . '; filename="' . $fileName . '"' . $altName);
219 219
 
220 220
 		return $this;
221 221
 	}
Please login to merge, or discard this patch.
sources/ElkArte/Controller/Register.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1017,7 +1017,7 @@  discard block
 block discarded – undo
1017 1017
 
1018 1018
 			// Ummm... don't take someone else's email during the change
1019 1019
 			// @todo Separate the sprintf?
1020
-			if  (userByEmail($this->_req->post->new_email) === false)
1020
+			if (userByEmail($this->_req->post->new_email) === false)
1021 1021
 			{
1022 1022
 				throw new Exception('email_in_use', false, array(htmlspecialchars($this->_req->post->new_email, ENT_COMPAT, 'UTF-8')));
1023 1023
 			}
@@ -1178,7 +1178,7 @@  discard block
 block discarded – undo
1178 1178
 					->removeHeader('all')
1179 1179
 					->header('Connection', 'close')
1180 1180
 					->header('Content-Disposition', 'attachment; filename="approval.txt"')
1181
-					->contentType( 'application/octet-stream')
1181
+					->contentType('application/octet-stream')
1182 1182
 					->header('Content-Length', count($data))
1183 1183
 					->sendHeaders();
1184 1184
 
Please login to merge, or discard this patch.
sources/ElkArte/Controller/News.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@
 block discarded – undo
275 275
 		}
276 276
 		elseif ($xml_format === 'rdf')
277 277
 		{
278
-			$headers->contentType('application/rdf+xml','UTF-8');
278
+			$headers->contentType('application/rdf+xml', 'UTF-8');
279 279
 		}
280 280
 
281 281
 		theme()->getTemplates()->load('Xml');
Please login to merge, or discard this patch.
sources/ElkArte/Themes/Templates.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -275,7 +275,7 @@
 block discarded – undo
275 275
 		Headers::instance()
276 276
 			->removeHeader('all')
277 277
 			->header('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT')
278
-			->header('Last-Modified',  gmdate('D, d M Y H:i:s') . ' GMT')
278
+			->header('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT')
279 279
 			->header('Cache-Control', 'no-cache')
280 280
 			->contentType('text/html', 'UTF-8')
281 281
 			->sendHeaders();
Please login to merge, or discard this patch.
themes/default/Theme.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 		{
158 158
 			$header
159 159
 				->header('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT')
160
-				->header('Last-Modified',  gmdate('D, d M Y H:i:s') . ' GMT')
160
+				->header('Last-Modified', gmdate('D, d M Y H:i:s') . ' GMT')
161 161
 				->contentType('text/html', 'UTF-8');
162 162
 		}
163 163
 
Please login to merge, or discard this patch.