1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix all remaining php8.1 test suite deprecations

This commit is contained in:
Jordi Boggiano 2021-08-19 13:00:30 +02:00
parent b77fce8a4f
commit a586a753df
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
15 changed files with 184 additions and 268 deletions

View file

@ -93,8 +93,9 @@ class GitLabTest extends TestCase
$httpDownloader
->expects($this->exactly(5))
->method('get')
->will($this->throwException(new TransportException('', 401)))
->will($this->throwException($e = new TransportException('', 401)))
;
$e->setResponse('{}');
$config = $this->getConfigMock();
$config