Passed
Push — master ( dd9514...58d4b8 )
by Roeland
16:11
created
lib/versioncheck.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,16 +2,16 @@
 block discarded – undo
2 2
 
3 3
 // Show warning if a PHP version below 7.1 is used,
4 4
 if (version_compare(PHP_VERSION, '7.1') === -1) {
5
-	http_response_code(500);
6
-	echo 'This version of Nextcloud requires at least PHP 7.1<br/>';
7
-	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
8
-	exit(-1);
5
+    http_response_code(500);
6
+    echo 'This version of Nextcloud requires at least PHP 7.1<br/>';
7
+    echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
8
+    exit(-1);
9 9
 }
10 10
 
11 11
 // Show warning if > PHP 7.3 is used as Nextcloud is not compatible with > PHP 7.3 for now
12 12
 if (version_compare(PHP_VERSION, '7.4.0') !== -1) {
13
-	http_response_code(500);
14
-	echo 'This version of Nextcloud is not compatible with > PHP 7.3.<br/>';
15
-	echo 'You are currently running ' . PHP_VERSION . '.';
16
-	exit(-1);
13
+    http_response_code(500);
14
+    echo 'This version of Nextcloud is not compatible with > PHP 7.3.<br/>';
15
+    echo 'You are currently running ' . PHP_VERSION . '.';
16
+    exit(-1);
17 17
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 if (version_compare(PHP_VERSION, '7.1') === -1) {
5 5
 	http_response_code(500);
6 6
 	echo 'This version of Nextcloud requires at least PHP 7.1<br/>';
7
-	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
7
+	echo 'You are currently running '.PHP_VERSION.'. Please update your PHP version.';
8 8
 	exit(-1);
9 9
 }
10 10
 
@@ -12,6 +12,6 @@  discard block
 block discarded – undo
12 12
 if (version_compare(PHP_VERSION, '7.4.0') !== -1) {
13 13
 	http_response_code(500);
14 14
 	echo 'This version of Nextcloud is not compatible with > PHP 7.3.<br/>';
15
-	echo 'You are currently running ' . PHP_VERSION . '.';
15
+	echo 'You are currently running '.PHP_VERSION.'.';
16 16
 	exit(-1);
17 17
 }
Please login to merge, or discard this patch.