Completed
Push — master ( 312807...b11528 )
by Nazar
04:22
created
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.
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.
modules/Composer/cli/Controller.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
   php build.php -M core -m Plupload,Static_pages
76 76
   php build.php -M core -p TinyMCE -t DarkEnergy -s custom
77 77
   php build.php -M module -m Plupload,Static_pages
78
-HELP;
78
+help;
79 79
 	} elseif ($mode == 'core') {
80 80
 		echo $Builder->core($modules, $plugins, $themes, $suffix)."\n";
81 81
 	} else {
Please login to merge, or discard this patch.
modules/Composer/Composer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 						$verbosity      => true
121 121
 					]
122 122
 				);
123
-				$output             = new Output;
123
+				$output = new Output;
124 124
 				$output->set_stream(fopen("$storage/last_execution.log", 'w'));
125 125
 				$application->setAutoExit(false);
126 126
 				$status_code = $application->run($input, $output);
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 			'repositories' => [],
192 192
 			'require'      => []
193 193
 		];
194
-		$Config   = Config::instance();
194
+		$Config = Config::instance();
195 195
 		foreach (array_keys($Config->components['modules']) as $module) {
196 196
 			if (
197 197
 				$module == $component_name &&
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
 		if (!$package['require']) {
267 267
 			return;
268 268
 		}
269
-		$composer['repositories'][]         = [
269
+		$composer['repositories'][] = [
270 270
 			'type'    => 'package',
271 271
 			'package' => $package
272 272
 		];
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
 	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.
core/traits/Singleton/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 					'alias'    => $_custom_class,
118 118
 					'path'     => $custom_class_path
119 119
 				];
120
-				$next_alias      = $custom_class;
120
+				$next_alias = $custom_class;
121 121
 			}
122 122
 			$modified_classes[$class] = [
123 123
 				'aliases'     => $aliases,
Please login to merge, or discard this patch.
core/classes/Request.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
 	 *
68 68
 	 * @throws ExitException
69 69
 	 */
70
-	public function init ($server, $query, $data, $files, $data_stream, $cookie, $request_started) {
71
-		++static::$id;
70
+	public function init ($server, $query, $data, $files, $data_stream, $cookie, $request_started) {++static::$id;
72 71
 		$this->init_server($server);
73 72
 		$this->init_query($query);
74 73
 		$this->init_data_and_files($data, $files, $data_stream);
Please login to merge, or discard this patch.
modules/Psr7/Request.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,7 @@
 block discarded – undo
18 18
 	 *
19 19
 	 * @throws \cs\ExitException
20 20
 	 */
21
-	public static function init_from_psr7 ($Psr7_request) {
22
-		++System_request::$id;
21
+	public static function init_from_psr7 ($Psr7_request) {++System_request::$id;
23 22
 		$System_request = System_request::instance();
24 23
 		self::from_psr7_server($System_request, $Psr7_request);
25 24
 		self::from_psr7_query($System_request, $Psr7_request);
Please login to merge, or discard this patch.
core/traits/App/Router/Controller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 				return true;
109 109
 			}
110 110
 		);
111
-		$methods   = _strtoupper(_substr($methods, strlen($method_name) + 1));
111
+		$methods = _strtoupper(_substr($methods, strlen($method_name) + 1));
112 112
 		natcasesort($methods);
113 113
 		return array_values($methods);
114 114
 	}
Please login to merge, or discard this patch.