mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Merge branch '3.3.x'
This commit is contained in:
@@ -60,7 +60,7 @@ class file_downloader
|
|||||||
* @param string $host File host
|
* @param string $host File host
|
||||||
* @param string $directory Directory file is in
|
* @param string $directory Directory file is in
|
||||||
* @param string $filename Filename of file to retrieve
|
* @param string $filename Filename of file to retrieve
|
||||||
* @param int $port Port to connect to; default: 80
|
* @param int $port Port to connect to; default: 443
|
||||||
* @param int $timeout Connection timeout in seconds; default: 6
|
* @param int $timeout Connection timeout in seconds; default: 6
|
||||||
*
|
*
|
||||||
* @return false|string File data as string if file can be read and there is no
|
* @return false|string File data as string if file can be read and there is no
|
||||||
|
@@ -47,7 +47,7 @@ class version_helper_remote_test extends \phpbb_test_case
|
|||||||
|
|
||||||
$this->cache->expects($this->any())
|
$this->cache->expects($this->any())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with($this->anything())
|
->withAnyParameters()
|
||||||
->will($this->returnValue(false));
|
->will($this->returnValue(false));
|
||||||
|
|
||||||
$this->guzzle_mock = $this->getMockBuilder('\GuzzleHttp\Client')
|
$this->guzzle_mock = $this->getMockBuilder('\GuzzleHttp\Client')
|
||||||
|
Reference in New Issue
Block a user