1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

PHPStan fixes

This commit is contained in:
Jordi Boggiano 2020-02-07 23:10:10 +01:00
parent fbba175874
commit 589abb06a3
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
4 changed files with 11 additions and 5 deletions

View file

@ -53,7 +53,7 @@ class PackageDependencyParserTest extends TestCase
{
$data = json_decode(file_get_contents(__DIR__.'/Fixtures/DependencyParserTestData.json'), true);
if (0 !== json_last_error()) {
throw new \PHPUnit_Framework_Exception('Invalid json file.');
throw new \PHPUnit\Framework\Exception('Invalid json file.');
}
return $data;