Completed
Push — master ( b84cc6...d91f33 )
by Nazar
06:59
created
components/modules/OAuth2/token.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 	->header('cache-control', 'no-store')
19 19
 	->header('pragma', 'no-cache');
20 20
 /**
21
- * Errors processing
22
- */
21
+	 * Errors processing
22
+	 */
23 23
 if (!isset($_POST['grant_type'])) {
24 24
 	$e = new ExitException(
25 25
 		[
Please login to merge, or discard this patch.
components/modules/WebSockets/functions.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 	React\EventLoop\Factory as Loop_factory,
14 14
 	cs\Config;
15 15
 /**
16
- * @return bool
17
- */
16
+	 * @return bool
17
+	 */
18 18
 function is_server_running () {
19 19
 	$connected = false;
20 20
 	$servers   = Pool::instance()->get_all();
Please login to merge, or discard this patch.
components/modules/Static_pages/index.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
 use
10 10
 	cs\Page;
11 11
 /**
12
- * Remove automatically added module name from title
13
- */
12
+	 * Remove automatically added module name from title
13
+	 */
14 14
 array_pop(Page::instance()->Title);
Please login to merge, or discard this patch.
components/modules/HybridAuth/events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 						return strtolower($provider);
30 30
 				}
31 31
 			};
32
-			$providers     = [];
32
+			$providers = [];
33 33
 			foreach ($Config->module('HybridAuth')->providers as $provider => $provider_settings) {
34 34
 				if ($provider_settings['enabled']) {
35 35
 					$providers[$provider] = [
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
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 		'group' => 'text',
25 25
 		'label' => 'text'
26 26
 	];
27
-	protected $table      = '[prefix]permissions';
27
+	protected $table = '[prefix]permissions';
28 28
 	/**
29 29
 	 * Array of all permissions for quick selecting
30 30
 	 * @var array
Please login to merge, or discard this patch.
components/modules/Content/Content.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
 	use
26 26
 		CRUD,
27 27
 		Singleton;
28
-	protected $data_model                  = [
28
+	protected $data_model = [
29 29
 		'id'       => 'int:0',
30 30
 		'user'     => 'int:0',
31 31
 		'date'     => 'int:0',
Please login to merge, or discard this patch.
components/modules/Shop/Categories.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
 	use
26 26
 		CRUD,
27 27
 		Singleton;
28
-	protected $data_model                  = [
28
+	protected $data_model = [
29 29
 		'id'       => 'int:0',
30 30
 		'user'     => 'int:0',
31 31
 		'date'     => 'int:0',
Please login to merge, or discard this patch.
core/classes/Language/Prefix.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\Language;
11 11
 /**
12
- * Class for simplified work with translations, when using common prefix
13
- */
12
+	 * Class for simplified work with translations, when using common prefix
13
+	 */
14 14
 class Prefix {
15 15
 	/**
16 16
 	 * @var string
Please login to merge, or discard this patch.
core/traits/Page/Includes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 		/**
372 372
 		 * Narrow the dependencies to current module only
373 373
 		 */
374
-		$dependencies          = array_merge(
374
+		$dependencies = array_merge(
375 375
 			isset($dependencies[$current_module]) ? $dependencies[$current_module] : [],
376 376
 			$dependencies['System']
377 377
 		);
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
 	 * @return string[][]
426 426
 	 */
427 427
 	protected function add_versions_hash ($includes) {
428
-		$content     = array_reduce(
428
+		$content = array_reduce(
429 429
 			get_files_list(DIR.'/components', '/^meta\.json$/', 'f', true, true),
430 430
 			function ($content, $file) {
431 431
 				return $content.file_get_contents($file);
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
 			).
456 456
 			h::style($this->core_css['plain'].$this->css['plain'] ?: false);
457 457
 		/** @noinspection NestedTernaryOperatorInspection */
458
-		$scripts      =
458
+		$scripts =
459 459
 			array_reduce(
460 460
 				array_merge($this->core_js['path'], $this->js['path']),
461 461
 				function ($content, $src) {
Please login to merge, or discard this patch.