Completed
Push — master ( 312807...b11528 )
by Nazar
04:22
created
modules/Http_server/cli/Controller.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
   php build.php -M core -m Plupload,Static_pages
76 76
   php build.php -M core -p TinyMCE -t DarkEnergy -s custom
77 77
   php build.php -M module -m Plupload,Static_pages
78
-HELP;
78
+help;
79 79
 	} elseif ($mode == 'core') {
80 80
 		echo $Builder->core($modules, $plugins, $themes, $suffix)."\n";
81 81
 	} else {
Please login to merge, or discard this patch.
core/classes/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 		'storage'    => 'json',
77 77
 		'components' => 'json'
78 78
 	];
79
-	protected $table      = '[prefix]config';
79
+	protected $table = '[prefix]config';
80 80
 	protected function cdb () {
81 81
 		return 0;
82 82
 	}
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 				return $multilingual_options;
165 165
 			}
166 166
 		);
167
-		$this->core           = $multilingual_options + $this->core;
167
+		$this->core = $multilingual_options + $this->core;
168 168
 	}
169 169
 	/**
170 170
 	 * Applying settings without saving changes into db
Please login to merge, or discard this patch.
core/classes/Config/Options.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 				return $Config->module($module) && file_exists_with_extension(MODULES."/$module/index", ['php', 'html', 'json']);
38 38
 			}
39 39
 		);
40
-		$themes                 = get_files_list(THEMES, false, 'd');
40
+		$themes = get_files_list(THEMES, false, 'd');
41 41
 		asort($themes);
42 42
 		return static::get_formatting_normalize(
43 43
 			[
Please login to merge, or discard this patch.
modules/Blockchain_payment/admin/transactions.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 								date($L->{$time - $transaction['created'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['created'])
83 83
 							)
84 84
 							: '-';
85
-						$paid      = $transaction['paid']
85
+						$paid = $transaction['paid']
86 86
 							? $L->to_locale(
87 87
 								date($L->{$time - $transaction['paid'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['paid'])
88 88
 							)
@@ -94,8 +94,7 @@  discard block
 block discarded – undo
94 94
 							: '-';
95 95
 						$username  = User::instance()->username($transaction['user']);
96 96
 						$class     =
97
-							$transaction['confirmed'] ? 'cs-block-success.cs-text-success' :
98
-								($transaction['paid'] ? 'cs-block-warning.cs-text-warning' : 'cs-block-error.cs-text-error');
97
+							$transaction['confirmed'] ? 'cs-block-success.cs-text-success' : ($transaction['paid'] ? 'cs-block-warning.cs-text-warning' : 'cs-block-error.cs-text-error');
99 98
 						$tag       = "td.$class";
100 99
 						return [
101 100
 							[
Please login to merge, or discard this patch.