Code Duplication    Length = 5-5 lines in 2 locations

cron.php 1 location

@@ 34-38 (lines=5) @@
31
 */
32
33
// Show warning if a PHP version below 5.6.0 is used
34
if (version_compare(PHP_VERSION, '5.6.0') === -1) {
35
	echo 'This version of Nextcloud requires at least PHP 5.6.0<br/>';
36
	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
37
	return;
38
}
39
40
try {
41

index.php 1 location

@@ 30-34 (lines=5) @@
27
28
// Show warning if a PHP version below 5.6.0 is used, this has to happen here
29
// because base.php will already use 5.6 syntax.
30
if (version_compare(PHP_VERSION, '5.6.0') === -1) {
31
	echo 'This version of Nextcloud requires at least PHP 5.6.0<br/>';
32
	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.';
33
	return;
34
}
35
36
try {
37