Completed
Push — master ( 336fc2...02522d )
by Nazar
04:22
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/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/Comments/events/enabled.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 Event::instance()->on(
20 20
 	'Comments/instance',
21 21
 	function ($data) {
22
-		$data['Comments']	= Comments::instance();
22
+		$data['Comments'] = Comments::instance();
23 23
 		return false;
24 24
 	}
25 25
 );
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
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 		'content' => null, //Is set in constructor
32 32
 		'type'    => 'set:text,html'
33 33
 	];
34
-	protected $table      = '[prefix]content';
34
+	protected $table = '[prefix]content';
35 35
 	/**
36 36
 	 * @var Prefix
37 37
 	 */
Please login to merge, or discard this patch.
components/modules/Deferred_tasks/Deferred_tasks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 		'module'       => 'text',
32 32
 		'data'         => null            //Is set in constructor
33 33
 	];
34
-	protected $table      = '[prefix]deferred_tasks_tasks';
34
+	protected $table = '[prefix]deferred_tasks_tasks';
35 35
 	/**
36 36
 	 * @var int
37 37
 	 */
Please login to merge, or discard this patch.
components/modules/Disqus/Disqus.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
 	protected	$shortname;
29 29
 
30 30
 	protected function construct () {
31
-		$this->module		= current_module();
32
-		$this->shortname	= Config::instance()->module('Disqus')->shortname;
31
+		$this->module = current_module();
32
+		$this->shortname = Config::instance()->module('Disqus')->shortname;
33 33
 	}
34 34
 	/**
35 35
 	 * Set module (current module assumed by default)
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	 * @param string	$module	Module name
38 38
 	 */
39 39
 	function set_module ($module) {
40
-		$this->module	= $module;
40
+		$this->module = $module;
41 41
 	}
42 42
 	/**
43 43
 	 * Count of comments for specified item
@@ -74,11 +74,11 @@  discard block
 block discarded – undo
74 74
 		return '<div id="disqus_thread"></div>';
75 75
 	}
76 76
 	protected function count_js () {
77
-		static	$added	= false;
77
+		static	$added = false;
78 78
 		if ($added) {
79 79
 			return;
80 80
 		}
81
-		$added		= true;
81
+		$added = true;
82 82
 		Page::instance()->js(
83 83
 			"var disqus_shortname = '$this->shortname';
84 84
 if (!window.disqus_count_items) { window.disqus_count_items = []; }",
@@ -86,11 +86,11 @@  discard block
 block discarded – undo
86 86
 		);
87 87
 	}
88 88
 	protected function block_js ($item) {
89
-		static	$added	= false;
89
+		static	$added = false;
90 90
 		if ($added) {
91 91
 			return;
92 92
 		}
93
-		$added		= true;
93
+		$added = true;
94 94
 		Page::instance()->js(
95 95
 			"var disqus_shortname = '$this->shortname', disqus_identifier = '".str_replace("'", "\'", "$this->module/$item")."';",
96 96
 			'code'
Please login to merge, or discard this patch.
components/modules/Disqus/events/enabled.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 Event::instance()->on(
20 20
 	'Comments/instance',
21 21
 	function ($data) {
22
-		$data['Comments']	= Disqus::instance();
22
+		$data['Comments'] = Disqus::instance();
23 23
 		return false;
24 24
 	}
25 25
 );
Please login to merge, or discard this patch.
components/modules/Http_server/run_server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 /**
12 12
  * Time of start of execution, is used as current time
13 13
  */
14
-define('MICROTIME', microtime(true));         //Time in seconds (float)
15
-define('TIME', floor(MICROTIME));             //Time in seconds (integer)
14
+define('MICROTIME', microtime(true)); //Time in seconds (float)
15
+define('TIME', floor(MICROTIME)); //Time in seconds (integer)
16 16
 define('DIR', realpath(__DIR__.'/../../..')); //Root directory
17 17
 chdir(DIR);
18 18
 $async = false;
Please login to merge, or discard this patch.