Completed
Push — master ( ee2b89...6ff0bb )
by Nazar
06:47 queued 02:21
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/Posts.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 	use
25 25
 		CRUD,
26 26
 		Singleton;
27
-	protected $data_model                  = [
27
+	protected $data_model = [
28 28
 		'id'      => 'int:0',
29 29
 		'user'    => 'int:0',
30 30
 		'date'    => 'int:0',
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 						FROM `$this->table_sections`
85 85
 						WHERE `id` = $id"
86 86
 					);
87
-					$data['tags']          = $this->db()->qfas(
87
+					$data['tags'] = $this->db()->qfas(
88 88
 						"SELECT DISTINCT `tag`
89 89
 						FROM `$this->table_tags`
90 90
 						WHERE
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 							`lang`	= '$L->clang'"
93 93
 					);
94 94
 					if (!$data['tags']) {
95
-						$l            = $this->db()->qfs(
95
+						$l = $this->db()->qfs(
96 96
 							"SELECT `lang`
97 97
 							FROM `$this->table_tags`
98 98
 							WHERE `id` = $id
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @return array|false
139 139
 	 */
140 140
 	function get_as_json_ld ($id) {
141
-		$post = $this->get($id);;
141
+		$post = $this->get($id); ;
142 142
 		if (!$post) {
143 143
 			return false;
144 144
 		}
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.