Make dumpType() more consistent with PHPDoc types #17037
Annotations
5 errors
PHPStan:
src/Composer/Autoload/AutoloadGenerator.php#L583
Method Composer\Autoload\AutoloadGenerator::parseAutoloads() should return array{'psr-0': array<string, array<string>>, 'psr-4': array<string, array<string>>, classmap: array<int, string>, files: array<string, string>, 'exclude-from-classmap': array<int, string>} but returns array{'psr-0': array<int|string, array<string>|string>, 'psr-4': array<int|string, array<string>|string>, classmap: array<int|string, array<string>|string>, files: array<int|string, array<string>|string>, 'exclude-from-classmap': array<int|string, array<string>|string>}.
|
PHPStan:
src/Composer/Downloader/PerforceDownloader.php#L79
Parameter #1 $repoConfig of static method Composer\Util\Perforce::create() expects array{'unique_perforce_client_name'?: string, depot?: string, branch?: string, p4user?: string, p4password?: string}, array<string, mixed>|null given.
|
PHPStan:
src/Composer/InstalledVersions.php#L321
Call to function method_exists() with "Composer\\Autoload…" and 'getRegisteredLoaders' will always evaluate to true.
|
PHPStan:
src/Composer/PHPStan/ConfigReturnTypeExtension.php#L68
Call to deprecated method selectSingle() of class PHPStan\Reflection\ParametersAcceptorSelector:
See https://github.com/phpstan/phpstan-src/blob/2.0.x/UPGRADING.md#removed-deprecated-parametersacceptorselectorselectsingle
|
PHPStan
Process completed with exit code 1.
|
Loading