Completed
Push — master ( 77bd5e...c97259 )
by Nazar
04:13
created
components/modules/Shop/admin/items.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,7 @@
 block discarded – undo
109 109
 								)
110 110
 							],
111 111
 							[
112
-								'class' => $item['listed'] ? 'cs-block-success cs-text-success' :
113
-									($item['in_stock'] || $item['soon'] ? 'cs-block-warning cs-text-warning' : 'cs-block-error cs-text-error')
112
+								'class' => $item['listed'] ? 'cs-block-success cs-text-success' : ($item['in_stock'] || $item['soon'] ? 'cs-block-warning cs-text-warning' : 'cs-block-error cs-text-error')
114 113
 							]
115 114
 						];
116 115
 					},
Please login to merge, or discard this patch.
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.
core/traits/DB/Accessor.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 use
10 10
 	cs\DB;
11 11
 /**
12
- * Accessor trait
13
- *
14
- * Provides db() and db_prime() methods for simplified for with DB
15
- */
12
+	 * Accessor trait
13
+	 *
14
+	 * Provides db() and db_prime() methods for simplified for with DB
15
+	 */
16 16
 trait Accessor {
17 17
 	/**
18 18
 	 * Link to db object
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/plugins/Composer_assets/Assets_processing.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 <FilesMatch "\.css$">
89 89
 	Header set Content-Type text/css
90 90
 </FilesMatch>
91
-HTACCESS
91
+htaccess
92 92
 			);
93 93
 		}
94 94
 		foreach ($files as $file) {
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.
install.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 	define('DIR', __DIR__);
21 21
 }
22 22
 mb_internal_encoding('utf-8');
23
-define('ROOT', getcwd());    //Path to site root
23
+define('ROOT', getcwd()); //Path to site root
24 24
 $fs = json_decode(file_get_contents(DIR.'/fs.json'), true);
25 25
 /**
26 26
  * Special autoloader for installer
@@ -38,10 +38,10 @@  discard block
 block discarded – undo
38 38
 		 * Try to load classes from different places. If not found in one place - try in another.
39 39
 		 */
40 40
 		if (
41
-			strlen($file = @$fs[str_replace('//', '/', "core/classes/$namespace/$class_name.php")]) ||    //Core classes
41
+			strlen($file = @$fs[str_replace('//', '/', "core/classes/$namespace/$class_name.php")]) || //Core classes
42 42
 			strlen($file = @$fs[str_replace('//', '/', "core/thirdparty/$namespace/$class_name.php")]) || //Third party classes
43
-			strlen($file = @$fs[str_replace('//', '/', "core/traits/$namespace/$class_name.php")]) ||     //Core traits
44
-			strlen($file = @$fs[str_replace('//', '/', "core/engines/$namespace/$class_name.php")]) ||    //Core engines
43
+			strlen($file = @$fs[str_replace('//', '/', "core/traits/$namespace/$class_name.php")]) || //Core traits
44
+			strlen($file = @$fs[str_replace('//', '/', "core/engines/$namespace/$class_name.php")]) || //Core engines
45 45
 			strlen($file = @$fs[str_replace('//', '/', "components/$namespace/$class_name.php")])         //Classes in modules and plugins
46 46
 		) {
47 47
 			require_once DIR."/fs/$file";
Please login to merge, or discard this patch.