Completed
Push — master ( d70dad...31122f )
by Nazar
04:40
created
modules/Blockchain_payment/admin/transactions.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 								date($L->{$time - $transaction['created'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['created'])
83 83
 							)
84 84
 							: '-';
85
-						$paid      = $transaction['paid']
85
+						$paid = $transaction['paid']
86 86
 							? $L->to_locale(
87 87
 								date($L->{$time - $transaction['paid'] < 24 * 3600 ? '_time' : '_datetime_long'}, $transaction['paid'])
88 88
 							)
@@ -94,8 +94,7 @@  discard block
 block discarded – undo
94 94
 							: '-';
95 95
 						$username  = User::instance()->username($transaction['user']);
96 96
 						$class     =
97
-							$transaction['confirmed'] ? 'cs-block-success.cs-text-success' :
98
-								($transaction['paid'] ? 'cs-block-warning.cs-text-warning' : 'cs-block-error.cs-text-error');
97
+							$transaction['confirmed'] ? 'cs-block-success.cs-text-success' : ($transaction['paid'] ? 'cs-block-warning.cs-text-warning' : 'cs-block-error.cs-text-error');
99 98
 						$tag       = "td.$class";
100 99
 						return [
101 100
 							[
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
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
 		/**
363 363
 		 * Narrow the dependencies to current module only
364 364
 		 */
365
-		$dependencies    = array_unique(
365
+		$dependencies = array_unique(
366 366
 			array_merge(
367 367
 				['System'],
368 368
 				$dependencies['System'],
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
 	 * @return string[][]
438 438
 	 */
439 439
 	protected function add_versions_hash ($includes) {
440
-		$content      = array_reduce(
440
+		$content = array_reduce(
441 441
 			get_files_list(DIR.'/components', '/^meta\.json$/', 'f', true, true),
442 442
 			function ($content, $file) {
443 443
 				return $content.file_get_contents($file);
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.