mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
PHPStan fixes
This commit is contained in:
parent
fbba175874
commit
589abb06a3
4 changed files with 11 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue