1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-13 04:04:12 +02:00

[ticket/14948] Update requirements and travis build matrix

PHPBB3-14948
This commit is contained in:
Marc Alexander
2018-12-30 12:31:26 +01:00
parent c6cc6ba8d8
commit 75757a7db4
9 changed files with 28 additions and 35 deletions

View File

@@ -98,7 +98,7 @@ class check_server_environment extends \phpbb\install\task_base
{
$php_version = PHP_VERSION;
if (version_compare($php_version, '5.4') < 0)
if (version_compare($php_version, '7.1') < 0)
{
$this->response_helper->add_error_message('PHP_VERSION_REQD', 'PHP_VERSION_REQD_EXPLAIN');

View File

@@ -42,13 +42,6 @@ class asset
*/
public function set_url($url)
{
if (version_compare(PHP_VERSION, '5.4.7') < 0 && substr($url, 0, 2) === '//')
{
// Workaround for PHP 5.4.6 and older bug #62844 - add fake scheme and then remove it
$this->components = parse_url('http:' . $url);
$this->components['scheme'] = '';
return;
}
$this->components = parse_url($url);
}