Skip to content

Lock file maintenance #217

Lock file maintenance

Lock file maintenance #217

Triggered via push July 17, 2023 06:53
Status Failure
Total duration 1m 57s
Artifacts
ci  /  Generate job matrix
7s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

17 errors
InvalidReturnType: src/Collection.php#L218
src/Collection.php:218:16: InvalidReturnType: The declared return type 'Laminas\ComponentInstaller\Collection<int, TValue:Laminas\ComponentInstaller\Collection as mixed>' for Laminas\ComponentInstaller\Collection::toOrderedCollection is incorrect, got 'Laminas\ComponentInstaller\Collection<int<0, max>, TValue:Laminas\ComponentInstaller\Collection as mixed>' (see https://psalm.dev/011)
InvalidReturnStatement: src/Collection.php#L222
src/Collection.php:222:16: InvalidReturnStatement: The inferred type 'Laminas\ComponentInstaller\Collection<int<0, max>, TValue:Laminas\ComponentInstaller\Collection as mixed>' does not match the declared return type 'Laminas\ComponentInstaller\Collection<int, TValue:Laminas\ComponentInstaller\Collection as mixed>' for Laminas\ComponentInstaller\Collection::toOrderedCollection (see https://psalm.dev/128)
UnusedPsalmSuppress: src/ComponentInstaller.php#L411
src/ComponentInstaller.php:411:33: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
InvalidReturnType: src/ComponentInstaller.php#L427
src/ComponentInstaller.php:427:16: InvalidReturnType: The declared return type 'Laminas\ComponentInstaller\Collection<0|1|2|3|4, non-empty-string>' for Laminas\ComponentInstaller\ComponentInstaller::marshalPackageTypes is incorrect, got 'Laminas\ComponentInstaller\Collection<int<0, 2>, 'component'|'config-provider'|'module'>' (see https://psalm.dev/011)
InvalidReturnStatement: src/ComponentInstaller.php#L432
src/ComponentInstaller.php:432:16: InvalidReturnStatement: The inferred type 'Laminas\ComponentInstaller\Collection<int<0, 2>, 'component'|'config-provider'|'module'>' does not match the declared return type 'Laminas\ComponentInstaller\Collection<0|1|2|3|4, non-empty-string>' for Laminas\ComponentInstaller\ComponentInstaller::marshalPackageTypes (see https://psalm.dev/128)
UnusedPsalmSuppress: src/ComponentInstaller.php#L461
src/ComponentInstaller.php:461:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/ComponentInstaller.php#L648
src/ComponentInstaller.php:648:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
InvalidArgument: src/ComponentInstaller.php#L1021
src/ComponentInstaller.php:1021:17: InvalidArgument: Argument 1 of Laminas\ComponentInstaller\ConfigDiscovery::getAvailableConfigOptions expects Laminas\ComponentInstaller\Collection<int<0, max>, 0|1|2|3|4>, but Laminas\ComponentInstaller\Collection<int<0, max>, int<0, 2>> provided (see https://psalm.dev/004)
InvalidReturnType: src/ConfigDiscovery.php#L60
src/ConfigDiscovery.php:60:16: InvalidReturnType: The declared return type 'Laminas\ComponentInstaller\Collection<int, Laminas\ComponentInstaller\ConfigOption>' for Laminas\ComponentInstaller\ConfigDiscovery::getAvailableConfigOptions is incorrect, got 'Laminas\ComponentInstaller\Collection<int<0, max>, Laminas\ComponentInstaller\ConfigOption>|Laminas\ComponentInstaller\Collection<never, never>' (see https://psalm.dev/011)
InvalidReturnStatement: src/ConfigDiscovery.php#L103
src/ConfigDiscovery.php:103:16: InvalidReturnStatement: The inferred type 'Laminas\ComponentInstaller\Collection<int<0, max>, Laminas\ComponentInstaller\ConfigOption>' does not match the declared return type 'Laminas\ComponentInstaller\Collection<int, Laminas\ComponentInstaller\ConfigOption>' for Laminas\ComponentInstaller\ConfigDiscovery::getAvailableConfigOptions (see https://psalm.dev/128)