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:
parent
b77fce8a4f
commit
a586a753df
15 changed files with 184 additions and 268 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue