preview implementation of the Laminas ecosystem RFC #2302
continuous-integration.yml
on: push
ci
/
Generate job matrix
5s
Matrix: ci / QA Checks
Annotations
10 errors
PropertyNotSetInConstructor:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L50
src/Ecosystem/Console/CreateEcosystemDatabase.php:50: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)
|
MixedArgumentTypeCoercion:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L238
src/Ecosystem/Console/CreateEcosystemDatabase.php:238:49: MixedArgumentTypeCoercion: Argument 1 of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::getPackageData expects array{categories: array<array-key, string>, githubUrl: string, homepage: string, packagistUrl: string}, but parent type array{categories: array<array-key, mixed>, githubUrl: string, homepage: string, packagistUrl: string} provided (see https://psalm.dev/194)
|
MixedArgumentTypeCoercion:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L243
src/Ecosystem/Console/CreateEcosystemDatabase.php:243:63: MixedArgumentTypeCoercion: Argument 1 of GetLaminas\Ecosystem\Console\CreateEcosystemDatabase::createEcosystemPackageFromArray expects array{abandoned: int, categories: array<array-key, string>|string, created: int, description: string, downloads: int, forks: int, id: string, issues: int, license: string, name: string, packagistUrl: string, repository: string, stars: int, tags: array<array-key, string>|string, updated: int, watchers: int, website: string}, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
MixedArrayAccess:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L359
src/Ecosystem/Console/CreateEcosystemDatabase.php:359:70: MixedArrayAccess: Cannot access array value on mixed variable $lastVersionData['license'] (see https://psalm.dev/051)
|
MixedArgumentTypeCoercion:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L378
src/Ecosystem/Console/CreateEcosystemDatabase.php:378:71: MixedArgumentTypeCoercion: Argument 2 of implode expects array<array-key, null|object{__tostring()}|scalar>, but parent type non-empty-array<array-key, mixed> provided (see https://psalm.dev/194)
|
MixedArgumentTypeCoercion:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L381
src/Ecosystem/Console/CreateEcosystemDatabase.php:381:71: MixedArgumentTypeCoercion: Argument 2 of implode expects array<array-key, null|object{__tostring()}|scalar>, but parent type non-empty-array<array-key, mixed> provided (see https://psalm.dev/194)
|
PropertyNotSetInConstructor:
src/Ecosystem/Console/SeedEcosystemDatabase.php#L42
src/Ecosystem/Console/SeedEcosystemDatabase.php:42:24: PropertyNotSetInConstructor: Property GetLaminas\Ecosystem\Console\SeedEcosystemDatabase::$curl is not defined in constructor of GetLaminas\Ecosystem\Console\SeedEcosystemDatabase or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
src/Ecosystem/Console/SeedEcosystemDatabase.php#L43
src/Ecosystem/Console/SeedEcosystemDatabase.php:43:22: PropertyNotSetInConstructor: Property GetLaminas\Ecosystem\Console\SeedEcosystemDatabase::$mapper is not defined in constructor of GetLaminas\Ecosystem\Console\SeedEcosystemDatabase or in any private or final methods called in the constructor (see https://psalm.dev/074)
|
InvalidArgument:
src/Ecosystem/Console/SeedEcosystemDatabase.php#L107
src/Ecosystem/Console/SeedEcosystemDatabase.php:107:50: InvalidArgument: Argument 1 of GetLaminas\Ecosystem\Console\SeedEcosystemDatabase::getPackageData expects array<array-key, mixed>, but int|string provided (see https://psalm.dev/004)
|
MixedArgumentTypeCoercion:
src/Ecosystem/Console/SeedEcosystemDatabase.php#L108
src/Ecosystem/Console/SeedEcosystemDatabase.php:108:34: MixedArgumentTypeCoercion: Argument 1 of GetLaminas\Ecosystem\Console\SeedEcosystemDatabase::updatePackage expects array{abandoned: string, description: string, downloads: array{daily: int, monthly: int, total: int}, forks: int, id: string, issues: int, license: string, name: string, repository: string, stars: int, tags: array<array-key, string>|string, updated: int, watchers: int}, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|