mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/16288] PHP 8 compatibility
PHPBB3-16288
This commit is contained in:
@@ -203,6 +203,10 @@ class version_helper_remote_test extends \phpbb_test_case
|
||||
{
|
||||
$this->file_downloader->set($input);
|
||||
|
||||
// version_helper->get_versions() doesn't return a value on VERSIONCHECK_FAIL but only throws exception
|
||||
// so the $return is undefined. Define it here
|
||||
$return = false;
|
||||
|
||||
if (!$valid_data)
|
||||
{
|
||||
try {
|
||||
|
Reference in New Issue
Block a user