1
0
Fork 0

Merge branch '2.2' into main

pull/10729/head
Jordi Boggiano 2022-04-13 17:10:07 +02:00
commit d7ad2093f6
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ GIT;
public function testFileGetContentInvalidIdentifier(): void
{
$this->expectException('\RuntimeException');
self::expectException('\RuntimeException');
$process = $this->getProcessExecutorMock();
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();

View File

@ -104,7 +104,7 @@ HG_BOOKMARKS;
public function testFileGetContentInvalidIdentifier(): void
{
$this->expectException('\RuntimeException');
self::expectException('\RuntimeException');
$process = $this->getProcessExecutorMock();
$driver = new HgDriver(array('url' => 'https://example.org/acme.git'), $this->io, $this->config, $this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(), $process);