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

Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch (#10474)

This commit is contained in:
Jordi Boggiano 2022-01-21 12:48:16 +01:00 committed by GitHub
parent e103ee0249
commit e3d99cac59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 118 additions and 182 deletions

View file

@ -15,6 +15,7 @@ namespace Composer\Test\Plugin;
use Composer\Composer;
use Composer\Config;
use Composer\Installer\PluginInstaller;
use Composer\Package\CompleteAliasPackage;
use Composer\Package\CompletePackage;
use Composer\Package\Loader\JsonLoader;
use Composer\Package\Loader\ArrayLoader;
@ -44,7 +45,7 @@ class PluginInstallerTest extends TestCase
protected $autoloadGenerator;
/**
* @var CompletePackage[]
* @var array<CompletePackage|CompleteAliasPackage>
*/
protected $packages;
@ -274,7 +275,7 @@ class PluginInstallerTest extends TestCase
/**
* @param string $newPluginApiVersion
* @param CompletePackage[] $plugins
* @param array<CompletePackage|CompleteAliasPackage> $plugins
*
* @return void
*/