mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Update PHPUnit to 8.5
This commit is contained in:
parent
d2ede370be
commit
2a771dfb2d
58 changed files with 1385 additions and 749 deletions
|
@ -18,13 +18,13 @@ use Composer\Test\TestCase;
|
|||
|
||||
class StreamContextFactoryTest extends TestCase
|
||||
{
|
||||
protected function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
unset($_SERVER['HTTP_PROXY'], $_SERVER['http_proxy'], $_SERVER['HTTPS_PROXY'], $_SERVER['https_proxy'], $_SERVER['NO_PROXY'], $_SERVER['no_proxy']);
|
||||
ProxyManager::reset();
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
unset($_SERVER['HTTP_PROXY'], $_SERVER['http_proxy'], $_SERVER['HTTPS_PROXY'], $_SERVER['https_proxy'], $_SERVER['NO_PROXY'], $_SERVER['no_proxy']);
|
||||
ProxyManager::reset();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue