Skip to content

preview implementation of the Laminas ecosystem RFC #2398

preview implementation of the Laminas ecosystem RFC

preview implementation of the Laminas ecosystem RFC #2398

Triggered via pull request December 13, 2024 10:01
Status Failure
Total duration 1m 5s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
6s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
PropertyNotSetInConstructor: src/Ecosystem/Console/CreateEcosystemDatabase.php#L56
src/Ecosystem/Console/CreateEcosystemDatabase.php:56:24: PropertyNotSetInConstructor: Property GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::$curl is not defined in constructor of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase or in any private or final methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: src/Ecosystem/Console/CreateEcosystemDatabase.php#L57
src/Ecosystem/Console/CreateEcosystemDatabase.php:57:24: PropertyNotSetInConstructor: Property GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::$githubCurl is not defined in constructor of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase or in any private or final methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: src/Ecosystem/Console/CreateEcosystemDatabase.php#L60
src/Ecosystem/Console/CreateEcosystemDatabase.php:60:22: PropertyNotSetInConstructor: Property GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::$mapper is not defined in constructor of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase or in any private or final methods called in the constructor (see https://psalm.dev/074)
MixedAssignment: src/Ecosystem/Console/CreateEcosystemDatabase.php#L243
src/Ecosystem/Console/CreateEcosystemDatabase.php:243:9: MixedAssignment: Unable to determine the type that $this->ghToken is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Ecosystem/Console/CreateEcosystemDatabase.php#L249
src/Ecosystem/Console/CreateEcosystemDatabase.php:249:13: MixedAssignment: Unable to determine the type that $this->ghToken is being assigned to (see https://psalm.dev/032)
InvalidArgument: src/Ecosystem/Console/CreateEcosystemDatabase.php#L275
src/Ecosystem/Console/CreateEcosystemDatabase.php:275:49: InvalidArgument: Argument 1 of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::getPackageData expects array{category: string, githubUrl: string, homepage: string, keywords: array<array-key, string>, packagistUrl: string, usage: string}, but array{categories: array<array-key, mixed>, githubUrl: string, homepage: string, packagistUrl: string} with additional array shape fields (categories) was provided (see https://psalm.dev/004)
MixedArgumentTypeCoercion: src/Ecosystem/Console/CreateEcosystemDatabase.php#L280
src/Ecosystem/Console/CreateEcosystemDatabase.php:280:63: MixedArgumentTypeCoercion: Argument 1 of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::createEcosystemPackageFromArray expects array{abandoned: int, category: string, created: int, description: string, downloads: int, id: string, image: null|string, issues: int, keywords: array<array-key, string>|string, license: string, name: string, packagistUrl: string, repository: string, stars: int, type: string, updated: int, usage: string, website: string}, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
PossiblyNullOperand: src/Ecosystem/Console/CreateEcosystemDatabase.php#L339
src/Ecosystem/Console/CreateEcosystemDatabase.php:339:40: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
RiskyTruthyFalsyComparison: src/Ecosystem/Console/CreateEcosystemDatabase.php#L367
src/Ecosystem/Console/CreateEcosystemDatabase.php:367:43: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RedundantConditionGivenDocblockType: src/Ecosystem/Console/CreateEcosystemDatabase.php#L429
src/Ecosystem/Console/CreateEcosystemDatabase.php:429:17: RedundantConditionGivenDocblockType: Docblock-defined type string for $<tmp coalesce var>13152 is never null (see https://psalm.dev/156)
ci / Generate job matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636