preview implementation of the Laminas ecosystem RFC #2359
Annotations
10 errors
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L55
src/Ecosystem/Console/CreateEcosystemDatabase.php:55: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)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L56
src/Ecosystem/Console/CreateEcosystemDatabase.php:56: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)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L59
src/Ecosystem/Console/CreateEcosystemDatabase.php:59: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)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L242
src/Ecosystem/Console/CreateEcosystemDatabase.php:242:9: MixedAssignment: Unable to determine the type that $this->ghToken is being assigned to (see https://psalm.dev/032)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L248
src/Ecosystem/Console/CreateEcosystemDatabase.php:248:13: MixedAssignment: Unable to determine the type that $this->ghToken is being assigned to (see https://psalm.dev/032)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L274
src/Ecosystem/Console/CreateEcosystemDatabase.php:274: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)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L279
src/Ecosystem/Console/CreateEcosystemDatabase.php:279: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)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L338
src/Ecosystem/Console/CreateEcosystemDatabase.php:338:40: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L366
src/Ecosystem/Console/CreateEcosystemDatabase.php:366: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)
|
Psalm [8.3, locked]:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L426
src/Ecosystem/Console/CreateEcosystemDatabase.php:426:57: MixedInferredReturnType: Could not verify return type 'null|string' for GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::getSocialPreview (see https://psalm.dev/047)
|
Loading