Completed
Branch master (0964ce)
by Nazar
04:13
created
build/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@
 block discarded – undo
262 262
 			"$this->root/license.txt",
263 263
 			"$this->root/Storage.php"
264 264
 		];
265
-		$files            = [];
265
+		$files = [];
266 266
 		foreach ($files_to_include as $s) {
267 267
 			if (is_file($s)) {
268 268
 				$files[] = $s;
Please login to merge, or discard this patch.
components/modules/Blockchain_payment/Transactions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 	use
23 23
 		Singleton;
24 24
 
25
-	protected $data_model     = [
25
+	protected $data_model = [
26 26
 		'id'                     => 'int',
27 27
 		'amount'                 => 'float:0',
28 28
 		'currency'               => 'text',
Please login to merge, or discard this patch.
components/modules/Blockchain_payment/admin/transactions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 		@$_GET['asc']
54 54
 	)
55 55
 );
56
-$transactions_total        = $Transactions->search(
56
+$transactions_total = $Transactions->search(
57 57
 	[
58 58
 		'total_count' => 1
59 59
 	] + (array)$_GET,
@@ -79,12 +79,12 @@  discard block
 block discarded – undo
79 79
 		h::tr(
80 80
 			array_map(
81 81
 				function ($transaction) use ($L, $Language) {
82
-					$created   = $transaction['created']
82
+					$created = $transaction['created']
83 83
 						? $L->to_locale(
84 84
 							date($Language->{TIME - $transaction['created'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['created'])
85 85
 						)
86 86
 						: '-';
87
-					$paid      = $transaction['paid']
87
+					$paid = $transaction['paid']
88 88
 						? $L->to_locale(
89 89
 							date($Language->{TIME - $transaction['paid'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['paid'])
90 90
 						)
Please login to merge, or discard this patch.
components/modules/Blogs/Sections.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 				]
107 107
 			);
108 108
 		}
109
-		$sections              = $this->db()->qfa(
109
+		$sections = $this->db()->qfa(
110 110
 			[
111 111
 				"SELECT
112 112
 					`id`,
Please login to merge, or discard this patch.
components/modules/Blogs/admin/browse_posts.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@
 block discarded – undo
15 15
 	cs\Language,
16 16
 	cs\Page,
17 17
 	cs\Route;
18
-$Config			= Config::instance();
19
-$Index			= Index::instance();
20
-$L				= Language::instance();
21
-$Index->buttons	= false;
18
+$Config = Config::instance();
19
+$Index = Index::instance();
20
+$L = Language::instance();
21
+$Index->buttons = false;
22 22
 Page::instance()->title($L->browse_posts);
23 23
 $Route			= Route::instance();
24 24
 $page			= isset($Route->route[1]) ? (int)$Route->route[1] : 1;
Please login to merge, or discard this patch.
components/modules/Blogs/admin/browse_sections.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 			cs\Index,
13 13
 			cs\Language,
14 14
 			cs\Page;
15
-$Index			= Index::instance();
16
-$L				= Language::instance();
17
-$Index->buttons	= false;
15
+$Index = Index::instance();
16
+$L = Language::instance();
17
+$Index->buttons = false;
18 18
 Page::instance()->title($L->browse_sections);
19 19
 $Index->content(
20 20
 	h::{'table.cs-table[list]'}(
Please login to merge, or discard this patch.
components/modules/Blogs/admin/delete_post.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 	cs\Language,
14 14
 	cs\Page,
15 15
 	cs\Route;
16
-$post						= Posts::instance()->get(Route::instance()->route[1]);
17
-$Index						= Index::instance();
18
-$L							= Language::instance();
16
+$post = Posts::instance()->get(Route::instance()->route[1]);
17
+$Index = Index::instance();
18
+$L = Language::instance();
19 19
 Page::instance()->title($L->deletion_of_post($post['title']));
20
-$Index->buttons				= false;
21
-$Index->cancel_button_back	= true;
22
-$Index->action				= 'admin/Blogs/browse_posts';
20
+$Index->buttons = false;
21
+$Index->cancel_button_back = true;
22
+$Index->action = 'admin/Blogs/browse_posts';
23 23
 $Index->content(
24 24
 	h::{'h2.cs-text-center'}(
25 25
 		$L->sure_to_delete_post($post['title'])
Please login to merge, or discard this patch.
components/modules/Blogs/admin/delete_section.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@
 block discarded – undo
13 13
 	cs\Language,
14 14
 	cs\Page,
15 15
 	cs\Route;
16
-$section					= Sections::instance()->get(Route::instance()->route[1]);
17
-$Index						= Index::instance();
18
-$L							= Language::instance();
16
+$section = Sections::instance()->get(Route::instance()->route[1]);
17
+$Index = Index::instance();
18
+$L = Language::instance();
19 19
 Page::instance()->title($L->deletion_of_posts_section($section['title']));
20
-$Index->buttons				= false;
21
-$Index->cancel_button_back	= true;
22
-$Index->action				= 'admin/Blogs/browse_sections';
20
+$Index->buttons = false;
21
+$Index->cancel_button_back = true;
22
+$Index->action = 'admin/Blogs/browse_sections';
23 23
 $Index->content(
24 24
 	h::{'h2.cs-text-center'}(
25 25
 		$L->sure_to_delete_posts_section($section['title'])
Please login to merge, or discard this patch.
components/modules/Blogs/admin/edit_section.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
 			'value' => $section['title']
40 40
 		]
41 41
 	).
42
-	($Config->core['simple_admin_mode'] ? false :
43
-		h::{'label info'}('section_path').
42
+	($Config->core['simple_admin_mode'] ? false : h::{'label info'}('section_path').
44 43
 		h::{'input[is=cs-input-text][name=path]'}(
45 44
 			[
46 45
 				'value' => $section['path']
Please login to merge, or discard this patch.