@@ 44-48 (lines=5) @@ | ||
41 | ||
42 | // Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now |
|
43 | // @see https://github.com/nextcloud/docker-ci/issues/10 |
|
44 | if (version_compare(PHP_VERSION, '7.1.0') !== -1) { |
|
45 | echo 'This version of Nextcloud is not compatible with PHP 7.1.<br/>'; |
|
46 | echo 'You are currently running ' . PHP_VERSION . '.'; |
|
47 | return; |
|
48 | } |
|
49 | ||
50 | function exceptionHandler($exception) { |
|
51 | echo "An unhandled exception has been thrown:" . PHP_EOL; |
@@ 38-42 (lines=5) @@ | ||
35 | ||
36 | // Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now |
|
37 | // @see https://github.com/nextcloud/docker-ci/issues/10 |
|
38 | if (version_compare(PHP_VERSION, '7.1.0') !== -1) { |
|
39 | echo 'This version of Nextcloud is not compatible with PHP 7.1.<br/>'; |
|
40 | echo 'You are currently running ' . PHP_VERSION . '.'; |
|
41 | return; |
|
42 | } |
|
43 | ||
44 | try { |
|
45 |
@@ 42-46 (lines=5) @@ | ||
39 | ||
40 | // Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now |
|
41 | // @see https://github.com/nextcloud/docker-ci/issues/10 |
|
42 | if (version_compare(PHP_VERSION, '7.1.0') !== -1) { |
|
43 | echo 'This version of Nextcloud is not compatible with PHP 7.1.<br/>'; |
|
44 | echo 'You are currently running ' . PHP_VERSION . '.'; |
|
45 | return; |
|
46 | } |
|
47 | ||
48 | try { |
|
49 |