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

Fix more warnings

This commit is contained in:
Jordi Boggiano 2020-09-11 11:27:26 +02:00
parent 711d4792ce
commit d942c65e0c
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
10 changed files with 22 additions and 18 deletions

View file

@ -36,7 +36,7 @@ class ArchiveDownloaderTest extends TestCase
->will($this->returnValue('/vendor'));
$first = $method->invoke($downloader, $packageMock, '/path');
$this->assertRegExp('#/vendor/composer/tmp-[a-z0-9]+\.js#', $first);
$this->assertMatchesRegularExpression('#/vendor/composer/tmp-[a-z0-9]+\.js#', $first);
$this->assertSame($first, $method->invoke($downloader, $packageMock, '/path'));
}