Completed
Push — master ( 67d5c0...c4956f )
by Nazar
04:44
created
core/engines/DB/PostgreSQL.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
 							0,
93 93
 							strpos($table_name, '"')
94 94
 						);
95
-						$update     = preg_replace_callback(
95
+						$update = preg_replace_callback(
96 96
 							'/"([^"]+)"/',
97 97
 							function ($matches) {
98 98
 								return "\"$matches[1]\" = EXCLUDED.\"$matches[1]\"";
Please login to merge, or discard this patch.
core/traits/Page/Includes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
 		/**
408 408
 		 * Narrow the dependencies to current module only
409 409
 		 */
410
-		$dependencies    = array_unique(
410
+		$dependencies = array_unique(
411 411
 			array_merge(
412 412
 				['System'],
413 413
 				$dependencies['System'],
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
 	 * @return string[][]
482 482
 	 */
483 483
 	protected function add_versions_hash ($includes) {
484
-		$content     = array_reduce(
484
+		$content = array_reduce(
485 485
 			get_files_list(DIR.'/components', '/^meta\.json$/', 'f', true, true),
486 486
 			function ($content, $file) {
487 487
 				return $content.file_get_contents($file);
Please login to merge, or discard this patch.
core/classes/Page/Includes_processing.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@
 block discarded – undo
327 327
 				/**
328 328
 				 * If content is link to CSS file
329 329
 				 */
330
-				$css  = static::css(
330
+				$css = static::css(
331 331
 					file_get_contents("$dir/$url"),
332 332
 					"$dir/$url",
333 333
 					$not_embedded_resources
Please login to merge, or discard this patch.
service_scripts/make-php-code-coverage-phar.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
 Phar::mapPhar('php-code-coverage.phar');
13 13
 require_once 'phar://php-code-coverage.phar/autoload.php';
14 14
 __HALT_COMPILER();
15
-STUB
15
+stub
16 16
 );
17 17
 $phar->stopBuffering();
Please login to merge, or discard this patch.
core/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * Time of start of execution, is used as current time
10 10
  */
11 11
 define('MICROTIME', microtime(true)); //In seconds (float)
12
-define('TIME', floor(MICROTIME));     //In seconds (integer)
12
+define('TIME', floor(MICROTIME)); //In seconds (integer)
13 13
 //Root directory
14 14
 defined('DIR') || define('DIR', realpath(__DIR__.'/..'));
15 15
 chdir(DIR);
Please login to merge, or discard this patch.
core/functions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@
 block discarded – undo
55 55
 		 * Try to load classes from different places. If not found in one place - try in another.
56 56
 		 */
57 57
 		if (
58
-			file_exists($file = __DIR__."/classes/$namespace/$class_name.php") ||    //Core classes
58
+			file_exists($file = __DIR__."/classes/$namespace/$class_name.php") || //Core classes
59 59
 			file_exists($file = __DIR__."/thirdparty/$namespace/$class_name.php") || //Third party classes
60
-			file_exists($file = __DIR__."/traits/$namespace/$class_name.php") ||     //Core traits
61
-			file_exists($file = __DIR__."/engines/$namespace/$class_name.php") ||    //Core engines
60
+			file_exists($file = __DIR__."/traits/$namespace/$class_name.php") || //Core traits
61
+			file_exists($file = __DIR__."/engines/$namespace/$class_name.php") || //Core engines
62 62
 			file_exists($file = MODULES."/../$namespace/$class_name.php")            //Classes in modules
63 63
 		) {
64 64
 			$cache[$class] = realpath($file);
Please login to merge, or discard this patch.
ci/upload_build.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 		}
54 54
 	)
55 55
 );
56
-$themes  = array_values(
56
+$themes = array_values(
57 57
 	array_filter(
58 58
 		get_files_list(ROOT.'/themes', false, 'd'),
59 59
 		function ($theme) {
Please login to merge, or discard this patch.
modules/Static_pages/Categories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 	use
21 21
 		CRUD,
22 22
 		Singleton;
23
-	protected $data_model          = [
23
+	protected $data_model = [
24 24
 		'id'     => 'int',
25 25
 		'title'  => 'ml:text',
26 26
 		'path'   => 'ml:text',
Please login to merge, or discard this patch.
modules/Static_pages/Pages.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	use
22 22
 		CRUD,
23 23
 		Singleton;
24
-	protected $data_model                  = [
24
+	protected $data_model = [
25 25
 		'id'        => 'int',
26 26
 		'category'  => 'int',
27 27
 		'title'     => 'ml:text',
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 				$Categories->get($parent)
165 165
 			);
166 166
 		}
167
-		$pages              = $this->db()->qfas(
167
+		$pages = $this->db()->qfas(
168 168
 			[
169 169
 				"SELECT `id`
170 170
 				FROM `[prefix]static_pages`
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 			$structure['pages'][$this->get($id)['path']] = $id;
178 178
 		}
179 179
 		unset($pages);
180
-		$categories              = $this->db()->qfa(
180
+		$categories = $this->db()->qfa(
181 181
 			[
182 182
 				"SELECT
183 183
 					`id`,
Please login to merge, or discard this patch.