Passed
Push — master ( 2b7c2a...b2f53b )
by Joas
13:14 queued 14s
created
lib/versioncheck.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,16 +24,16 @@
 block discarded – undo
24 24
  */
25 25
 // Show warning if a PHP version below 7.3 is used,
26 26
 if (PHP_VERSION_ID < 70300) {
27
-	http_response_code(500);
28
-	echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
29
-	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
30
-	exit(-1);
27
+    http_response_code(500);
28
+    echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
29
+    echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
30
+    exit(-1);
31 31
 }
32 32
 
33 33
 // Show warning if > PHP 8.0 is used as Nextcloud is not compatible with > PHP 8.0 for now
34 34
 if (PHP_VERSION_ID >= 80100) {
35
-	http_response_code(500);
36
-	echo 'This version of Nextcloud is not compatible with > PHP 8.0.<br/>';
37
-	echo 'You are currently running ' . PHP_VERSION . '.';
38
-	exit(-1);
35
+    http_response_code(500);
36
+    echo 'This version of Nextcloud is not compatible with > PHP 8.0.<br/>';
37
+    echo 'You are currently running ' . PHP_VERSION . '.';
38
+    exit(-1);
39 39
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 if (PHP_VERSION_ID < 70300) {
27 27
 	http_response_code(500);
28 28
 	echo 'This version of Nextcloud requires at least PHP 7.3<br/>';
29
-	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
29
+	echo 'You are currently running '.PHP_VERSION.'. Please update your PHP version.';
30 30
 	exit(-1);
31 31
 }
32 32
 
@@ -34,6 +34,6 @@  discard block
 block discarded – undo
34 34
 if (PHP_VERSION_ID >= 80100) {
35 35
 	http_response_code(500);
36 36
 	echo 'This version of Nextcloud is not compatible with > PHP 8.0.<br/>';
37
-	echo 'You are currently running ' . PHP_VERSION . '.';
37
+	echo 'You are currently running '.PHP_VERSION.'.';
38 38
 	exit(-1);
39 39
 }
Please login to merge, or discard this patch.
version.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,12 +35,12 @@
 block discarded – undo
35 35
 $OC_VersionString = '21.0.0 alpha';
36 36
 
37 37
 $OC_VersionCanBeUpgradedFrom = [
38
-	'nextcloud' => [
39
-		'20.0' => true,
40
-		'21.0' => true,
41
-	],
42
-	'owncloud' => [
43
-	],
38
+    'nextcloud' => [
39
+        '20.0' => true,
40
+        '21.0' => true,
41
+    ],
42
+    'owncloud' => [
43
+    ],
44 44
 ];
45 45
 
46 46
 // default Nextcloud channel
Please login to merge, or discard this patch.