Code Duplication    Length = 5-5 lines in 2 locations

application.php 1 location

@@ 24-28 (lines=5) @@
21
 */
22
23
//  PHP versions below 5.4.0 are not supported
24
if (version_compare(PHP_VERSION, '5.4.0') === -1){
25
	echo 'This application requires at least PHP 5.4.0' . PHP_EOL;
26
	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.' . PHP_EOL;
27
	exit(50);
28
}
29
30
31
// symlinks are not resolved by PHP properly

index.php 1 location

@@ 26-30 (lines=5) @@
23
use Owncloud\Updater\Controller\IndexController;
24
25
//  PHP versions below 5.4.0 are not supported
26
if (version_compare(PHP_VERSION, '5.4.0') === -1){
27
	echo 'This application requires at least PHP 5.4.0' . PHP_EOL;
28
	echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.' . PHP_EOL;
29
	exit(50);
30
}
31
32
// symlinks are not resolved by PHP properly
33
// getcwd always reports source and not target