Completed
Push — master ( 7fb517...9fce75 )
by Nazar
06:56 queued 02:26
created
components/modules/Shop/admin/orders.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 		@$_GET['asc']
56 56
 	)
57 57
 );
58
-$orders_total   = $Orders->search(
58
+$orders_total = $Orders->search(
59 59
 	[
60 60
 		'total_count' => 1
61 61
 	] + (array)$_GET,
Please login to merge, or discard this patch.
core/classes/Config/Module_Properties.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 use
10 10
 	cs\Config;
11 11
 /**
12
- * Class for getting of db and storage configuration of module
13
- */
12
+	 * Class for getting of db and storage configuration of module
13
+	 */
14 14
 class Module_Properties {
15 15
 	const ENABLED     = 1;
16 16
 	const DISABLED    = 0;
Please login to merge, or discard this patch.
build/cli.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.
components/modules/Shop/orders_.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 $page           = @$_GET['page'] ?: 1;
26 26
 $count          = @$_GET['count'] ?: Config::instance()->module('Shop')->items_per_page;
27 27
 if ($Session->user()) {
28
-	$orders       = $Orders->get(
28
+	$orders = $Orders->get(
29 29
 		$Orders->search(
30 30
 			[
31 31
 				'user' => $Session->get_user()
Please login to merge, or discard this patch.
core/traits/Singleton.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
 use
10 10
 	cs\Singleton\Base;
11 11
 /**
12
- * @inheritdoc
13
- */
12
+	 * @inheritdoc
13
+	 */
14 14
 trait Singleton {
15 15
 	use Base;
16 16
 }
Please login to merge, or discard this patch.
components/modules/WebSockets/Connection_properties_injector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	public function onOpen (ConnectionInterface $conn, RequestInterface $request = null) {
28 28
 		$L = Language::instance();
29 29
 		/** @noinspection PhpUndefinedFieldInspection */
30
-		$ip               = $this->ip(
30
+		$ip = $this->ip(
31 31
 			[
32 32
 				$conn->remoteAddress,
33 33
 				$request->getHeader('X-Forwarded-For'),
Please login to merge, or discard this patch.
core/traits/Request/Route.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@
 block discarded – undo
281 281
 					$module_data['active'] == Config\Module_Properties::ENABLED;
282 282
 			}
283 283
 		);
284
-		$L       = Language::instance();
284
+		$L = Language::instance();
285 285
 		foreach ($modules as $module => &$localized_name) {
286 286
 			$localized_name = path($L->$module);
287 287
 		}
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 			 * If match was not found - mirror is not allowed!
109 109
 			 */
110 110
 			if ($this->mirror_index === -1) {
111
-				throw new ExitException("Mirror $this->host not allowed", 400);
111
+				throw new ExitException("mirror $this->host not allowed", 400);
112 112
 			}
113 113
 			$results = $this->analyze_route_path($this->path);
114 114
 			$this->handle_redirect($Config, $results['path_normalized']);
Please login to merge, or discard this patch.
core/classes/Request.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
 	 *
55 55
 	 * @throws ExitException
56 56
 	 */
57
-	function init ($server, $query, $data, $files, $data_stream, $cookie, $request_started) {
58
-		++static::$id;
57
+	function init ($server, $query, $data, $files, $data_stream, $cookie, $request_started) {++static::$id;
59 58
 		$this->init_server($server);
60 59
 		$this->init_query($query);
61 60
 		$this->init_data_and_files($data, $files, $data_stream);
Please login to merge, or discard this patch.
components/modules/System/api/Controller/admin/blocks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
 	 *
218 218
 	 * @return array|false
219 219
 	 */
220
-	protected static function &get_block_by_index ($index) {
220
+	protected static function &get_block_by_index($index) {
221 221
 		foreach (Config::instance()->components['blocks'] as &$block) {
222 222
 			if ($block['index'] == $index) {
223 223
 				return $block;
Please login to merge, or discard this patch.