Passed
Pull Request — master (#19)
by Anton
05:57 queued 02:33
created
www/engine/Framework/Includes/Headers/Mime.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 # Mime types
4 4
 
5
-define('MIME_TYPE_HTML',        'html');
6
-define('MIME_TYPE_XML',         'xml');
7
-define('MIME_TYPE_JSON',        'json');
5
+define('MIME_TYPE_HTML', 'html');
6
+define('MIME_TYPE_XML', 'xml');
7
+define('MIME_TYPE_JSON', 'json');
8 8
 
9
-define('MIME_TYPE_JPEG',        'jpeg');
10
-define('MIME_TYPE_PNG',         'png');
11
-define('MIME_TYPE_GIF',         'gif');
9
+define('MIME_TYPE_JPEG', 'jpeg');
10
+define('MIME_TYPE_PNG', 'png');
11
+define('MIME_TYPE_GIF', 'gif');
Please login to merge, or discard this patch.
www/engine/Framework/Classes/Number/Number.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 				$number = number_format(($number / pow(1024, $exponent)), (($exponent < 2) ? $exponent : 2));
48 48
 
49
-				return (floatval($number) . ' ' . $text);
49
+				return (floatval($number).' '.$text);
50 50
 			}
51 51
 
52 52
 			# ------------------------
Please login to merge, or discard this patch.
www/engine/Framework/Classes/Geo/Country.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
 		public static function __autoload() {
14 14
 
15
-			self::init(DIR_DATA . 'Geo/Countries.php');
15
+			self::init(DIR_DATA.'Geo/Countries.php');
16 16
 		}
17 17
 	}
18 18
 }
Please login to merge, or discard this patch.
www/engine/Framework/Classes/Geo/Timezone.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
 		public static function __autoload() {
14 14
 
15
-			self::init(DIR_DATA . 'Geo/Timezones.php');
15
+			self::init(DIR_DATA.'Geo/Timezones.php');
16 16
 		}
17 17
 	}
18 18
 }
Please login to merge, or discard this patch.
www/engine/Framework/Classes/Request/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
 		public static function redirect(string $url) {
47 47
 
48
-			header("Location: " . $url); exit();
48
+			header("Location: ".$url); exit();
49 49
 		}
50 50
 	}
51 51
 }
Please login to merge, or discard this patch.
www/engine/Framework/Classes/Mailer/Mailer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,13 +12,13 @@
 block discarded – undo
12 12
 
13 13
 			# Set headers
14 14
 
15
-			$headers  = ('MIME-Version: 1.0' . "\r\n");
15
+			$headers  = ('MIME-Version: 1.0'."\r\n");
16 16
 
17
-			$headers .= ('Content-Type: ' . ($is_html ? 'text/html' : 'text/plain') . '; charset=UTF-8' . "\r\n");
17
+			$headers .= ('Content-Type: '.($is_html ? 'text/html' : 'text/plain').'; charset=UTF-8'."\r\n");
18 18
 
19
-			$headers .= ('From: ' . $sender . ' <' . $from . '>' . "\r\n" . 'Reply-To: ' . $reply_to . "\r\n");
19
+			$headers .= ('From: '.$sender.' <'.$from.'>'."\r\n".'Reply-To: '.$reply_to."\r\n");
20 20
 
21
-			$headers .= ('X-Mailer: PHP/' . phpversion() . "\r\n");
21
+			$headers .= ('X-Mailer: PHP/'.phpversion()."\r\n");
22 22
 
23 23
 			# Send message
24 24
 
Please login to merge, or discard this patch.
www/engine/Framework/Classes/DB/Query/Delete.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
 			# Build query
20 20
 
21
-			$this->query = ('DELETE FROM ' . $table . ($condition ? (' WHERE (' .  $condition . ')') : ''));
21
+			$this->query = ('DELETE FROM '.$table.($condition ? (' WHERE ('.$condition.')') : ''));
22 22
 		}
23 23
 	}
24 24
 }
Please login to merge, or discard this patch.
www/engine/Framework/Classes/DB/Query/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
 
23 23
 			# Build query
24 24
 
25
-			$this->query = ('SELECT ' . $selection . ' FROM ' . $table . ($condition ? (' WHERE (' .  $condition . ')') : '') .
25
+			$this->query = ('SELECT '.$selection.' FROM '.$table.($condition ? (' WHERE ('.$condition.')') : '').
26 26
 
27
-				($order ? (' ORDER BY ' .  $order) : '') . ($limit ? (' LIMIT ' .  $limit) : ''));
27
+				($order ? (' ORDER BY '.$order) : '').($limit ? (' LIMIT '.$limit) : ''));
28 28
 		}
29 29
 	}
30 30
 }
Please login to merge, or discard this patch.
www/engine/System/Languages/uk-UA/Phrases/Install.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -60,44 +60,44 @@
 block discarded – undo
60 60
 
61 61
 	'INSTALL_PAGE_INDEX_TITLE'                  => 'Головна',
62 62
 
63
-	'INSTALL_PAGE_INDEX_CONTENTS'               => '<h2>Ласкаво просимо!</h2>' .
64
-	                                               '<p>Це демонстраційний сайт, що працює на <strong>Cadmium CMS</strong>.</p>' .
65
-	                                               '<p>Ви можете увійти в панель керування, перейшовши за <a href="$install_path$/admin">цим посиланням</a>.</p>' .
66
-	                                               '<h2>Дивіться також</h2>' .
67
-	                                               '<ul><li><a href="http://cadmium-cms.com" target="_blank">Офіційний сайт</a></li>' .
63
+	'INSTALL_PAGE_INDEX_CONTENTS'               => '<h2>Ласкаво просимо!</h2>'.
64
+	                                               '<p>Це демонстраційний сайт, що працює на <strong>Cadmium CMS</strong>.</p>'.
65
+	                                               '<p>Ви можете увійти в панель керування, перейшовши за <a href="$install_path$/admin">цим посиланням</a>.</p>'.
66
+	                                               '<h2>Дивіться також</h2>'.
67
+	                                               '<ul><li><a href="http://cadmium-cms.com" target="_blank">Офіційний сайт</a></li>'.
68 68
 	                                               '<li><a href="https://github.com/cadmium-org/cadmium-cms" target="_blank">Сторінка проекту на GitHub</a></li></ul>',
69 69
 
70 70
 	'INSTALL_PAGE_DEMO_TITLE'                   => 'Сторінка',
71 71
 
72
-	'INSTALL_PAGE_DEMO_CONTENTS'                => '<h2>Lorem ipsum</h2>' .
72
+	'INSTALL_PAGE_DEMO_CONTENTS'                => '<h2>Lorem ipsum</h2>'.
73 73
 
74
-	                                               '<p>Lorem ipsum dolor sit amet, ex etiam facilis vim. ' .
75
-	                                               'Qui etiam soluta nostro no, te praesent consulatu eos. ' .
76
-	                                               'His at modus diceret referrentur, exerci viderer aperiri et sed. ' .
77
-	                                               'Ne errem appareat apeirian has, ut has eligendi comprehensam. ' .
78
-	                                               'His ea adipisci eloquentiam, nec id temporibus appellantur. ' .
79
-	                                               'Pri ut inermis persequeris contentiones, vel vidit ponderum cu.</p>' .
74
+	                                               '<p>Lorem ipsum dolor sit amet, ex etiam facilis vim. '.
75
+	                                               'Qui etiam soluta nostro no, te praesent consulatu eos. '.
76
+	                                               'His at modus diceret referrentur, exerci viderer aperiri et sed. '.
77
+	                                               'Ne errem appareat apeirian has, ut has eligendi comprehensam. '.
78
+	                                               'His ea adipisci eloquentiam, nec id temporibus appellantur. '.
79
+	                                               'Pri ut inermis persequeris contentiones, vel vidit ponderum cu.</p>'.
80 80
 
81
-	                                               '<h3>Vix no suas populo</h3>' .
81
+	                                               '<h3>Vix no suas populo</h3>'.
82 82
 
83
-	                                               '<p>Vix no suas populo. Mea inani utinam ex. Duo vocibus noluisse partiendo ei. ' .
84
-	                                               'Impedit voluptatibus pro ut, ea probatus reformidans pri. ' .
85
-	                                               'An vix repudiandae complectitur, ex soluta numquam splendide nam.</p>' .
83
+	                                               '<p>Vix no suas populo. Mea inani utinam ex. Duo vocibus noluisse partiendo ei. '.
84
+	                                               'Impedit voluptatibus pro ut, ea probatus reformidans pri. '.
85
+	                                               'An vix repudiandae complectitur, ex soluta numquam splendide nam.</p>'.
86 86
 
87
-	                                               '<p>Mea ex novum contentiones, eleifend ocurreret voluptaria et usu. ' .
88
-	                                               'No mel illum nonumy maiorum, pro saperet disputando in. Cum ei tritani accusam incorrupte. ' .
89
-	                                               'Per animal saperet suavitate id, vim ex quod delicatissimi.</p>' .
87
+	                                               '<p>Mea ex novum contentiones, eleifend ocurreret voluptaria et usu. '.
88
+	                                               'No mel illum nonumy maiorum, pro saperet disputando in. Cum ei tritani accusam incorrupte. '.
89
+	                                               'Per animal saperet suavitate id, vim ex quod delicatissimi.</p>'.
90 90
 
91
-	                                               '<h3>Ea mea tantas delenit</h3>' .
91
+	                                               '<h3>Ea mea tantas delenit</h3>'.
92 92
 
93
-	                                               '<p>Ea mea tantas delenit, ut usu alii commune. ' .
94
-	                                               'Te vix decore dolore scribentur. Ad pri malis invidunt ullamcorper, ' .
95
-	                                               'qui eu laboramus vulputate scriptorem, id veri audiam integre pro. ' .
96
-	                                               'Saperet luptatum recusabo quo cu, ' .'vix facer dolores persecuti no. ' .
97
-	                                               'Eos id omnes affert possim. Vix id commune urbanitas.</p>' .
93
+	                                               '<p>Ea mea tantas delenit, ut usu alii commune. '.
94
+	                                               'Te vix decore dolore scribentur. Ad pri malis invidunt ullamcorper, '.
95
+	                                               'qui eu laboramus vulputate scriptorem, id veri audiam integre pro. '.
96
+	                                               'Saperet luptatum recusabo quo cu, '.'vix facer dolores persecuti no. '.
97
+	                                               'Eos id omnes affert possim. Vix id commune urbanitas.</p>'.
98 98
 
99
-	                                               '<p>Cu eum quod prodesset, vix sale democritum delicatissimi et, ' .
100
-	                                               'putant viderer inimicus pro ut. Sea ut tamquam hendrerit definitionem, ' .
101
-	                                               'an quo illud persecuti, debet affert vis te. Mei ea omnes saepe nostrum. ' .
99
+	                                               '<p>Cu eum quod prodesset, vix sale democritum delicatissimi et, '.
100
+	                                               'putant viderer inimicus pro ut. Sea ut tamquam hendrerit definitionem, '.
101
+	                                               'an quo illud persecuti, debet affert vis te. Mei ea omnes saepe nostrum. '.
102 102
 	                                               'In sed denique iudicabit. Id eos equidem scribentur.</p>'
103 103
 ];
Please login to merge, or discard this patch.