mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix many PHPStan issues and update baseline
This commit is contained in:
parent
6ed3aeb343
commit
96486d81cb
21 changed files with 252 additions and 361 deletions
|
@ -13,6 +13,7 @@
|
|||
namespace Composer\Test\Repository\Vcs;
|
||||
|
||||
use Composer\IO\IOInterface;
|
||||
use Composer\Json\JsonFile;
|
||||
use Composer\Repository\Vcs\GitLabDriver;
|
||||
use Composer\Config;
|
||||
use Composer\Test\Mock\HttpDownloaderMock;
|
||||
|
@ -365,7 +366,7 @@ JSON;
|
|||
);
|
||||
}
|
||||
|
||||
$branchData = json_encode($branchData);
|
||||
$branchData = JsonFile::encode($branchData);
|
||||
|
||||
$this->httpDownloader->expects(
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue