Skip to content

Lock file maintenance #204

Lock file maintenance

Lock file maintenance #204

Triggered via push May 24, 2023 11:34
Status Failure
Total duration 1m 31s
Artifacts
ci  /  Generate job matrix
10s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 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)
PossiblyNullArgument: src/ComponentInstaller.php#L289
src/ComponentInstaller.php:289:71: PossiblyNullArgument: Argument 3 of Laminas\ComponentInstaller\ComponentInstaller::mapAutoloaders cannot be null, possibly null value provided (see https://psalm.dev/078)
UnusedPsalmSuppress: src/ComponentInstaller.php#L406
src/ComponentInstaller.php:406:33: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
InvalidReturnType: src/ComponentInstaller.php#L422
src/ComponentInstaller.php:422: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#L427
src/ComponentInstaller.php:427: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#L456
src/ComponentInstaller.php:456:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
UnusedPsalmSuppress: src/ComponentInstaller.php#L643
src/ComponentInstaller.php:643:32: UnusedPsalmSuppress: This suppression is never used (see https://psalm.dev/207)
InvalidArgument: src/ComponentInstaller.php#L1016
src/ComponentInstaller.php:1016: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#L56
src/ConfigDiscovery.php:56: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)