Completed
Push — master ( ab23c9...b2c69e )
by Nazar
04:24
created
core/traits/User/Management.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
 	 * Checks for unconfirmed registrations and deletes expired
283 283
 	 */
284 284
 	protected function delete_unconfirmed_users () {
285
-		$reg_date = time() - Config::instance()->core['registration_confirmation_time'] * 86400;    //1 day = 86400 seconds
285
+		$reg_date = time() - Config::instance()->core['registration_confirmation_time'] * 86400; //1 day = 86400 seconds
286 286
 		$ids      = $this->db_prime()->qfas(
287 287
 			"SELECT `id`
288 288
 			FROM `[prefix]users`
Please login to merge, or discard this patch.
core/traits/User/Data.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
 		if (!$item || $user == User::GUEST_ID) {
132 132
 			return false;
133 133
 		}
134
-		$item   = implode(
134
+		$item = implode(
135 135
 			',',
136 136
 			$this->db_prime()->s((array)$item)
137 137
 		);
Please login to merge, or discard this patch.
core/classes/Group.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
 		'title'       => 'html',
38 38
 		'description' => 'html'
39 39
 	];
40
-	protected $table      = '[prefix]groups';
40
+	protected $table = '[prefix]groups';
41 41
 	/**
42 42
 	 * @var Cache\Prefix
43 43
 	 */
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
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 		'storage'    => 'json',
82 82
 		'components' => 'json'
83 83
 	];
84
-	protected $table      = '[prefix]config';
84
+	protected $table = '[prefix]config';
85 85
 	protected function cdb () {
86 86
 		return 0;
87 87
 	}
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 				return $multilingual_options;
179 179
 			}
180 180
 		);
181
-		$this->core           = $multilingual_options + $this->core;
181
+		$this->core = $multilingual_options + $this->core;
182 182
 	}
183 183
 	/**
184 184
 	 * Get core options item
Please login to merge, or discard this patch.
core/classes/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 		'ip'          => 'text',
63 63
 		'data'        => 'json'
64 64
 	];
65
-	protected $table      = '[prefix]sessions';
65
+	protected $table = '[prefix]sessions';
66 66
 	/**
67 67
 	 * Returns database index
68 68
 	 *
Please login to merge, or discard this patch.
core/classes/Permission.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
 		'group' => 'text',
23 23
 		'label' => 'text'
24 24
 	];
25
-	protected $table      = '[prefix]permissions';
25
+	protected $table = '[prefix]permissions';
26 26
 	/**
27 27
 	 * Array of all permissions for quick selecting
28 28
 	 *
Please login to merge, or discard this patch.
core/classes/Request/File_stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	 */
52 52
 	public function stream_read ($length) {
53 53
 		fseek($this->stream, $this->position);
54
-		$bytes          = fread($this->stream, $length);
54
+		$bytes = fread($this->stream, $length);
55 55
 		$this->position += strlen($bytes);
56 56
 		return $bytes;
57 57
 	}
Please login to merge, or discard this patch.
modules/Composer/Composer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 						$verbosity              => true
123 123
 					]
124 124
 				);
125
-				$output             = new Output;
125
+				$output = new Output;
126 126
 				$Application->setAutoExit(false);
127 127
 				$status_code = $Application->run($input, $output);
128 128
 				$description = $output->get_buffer();
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 			'repositories' => [],
194 194
 			'require'      => []
195 195
 		];
196
-		$Config   = Config::instance();
196
+		$Config = Config::instance();
197 197
 		foreach (array_keys($Config->components['modules']) as $module) {
198 198
 			if (
199 199
 				$module == $component_name &&
@@ -245,13 +245,13 @@  discard block
 block discarded – undo
245 245
 			return;
246 246
 		}
247 247
 
248
-		$package                            = array_filter(
248
+		$package = array_filter(
249 249
 			$package,
250 250
 			function ($value) {
251 251
 				return $value !== [];
252 252
 			}
253 253
 		);
254
-		$composer['repositories'][]         = [
254
+		$composer['repositories'][] = [
255 255
 			'type'    => 'package',
256 256
 			'package' => $package
257 257
 		];
Please login to merge, or discard this patch.
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.