preview implementation of the Laminas ecosystem RFC #2340
continuous-integration.yml
on: pull_request
ci
/
Generate job matrix
8s
Matrix: ci / QA Checks
Annotations
10 errors
PropertyNotSetInConstructor:
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)
|
PropertyNotSetInConstructor:
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)
|
PropertyNotSetInConstructor:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L58
src/Ecosystem/Console/CreateEcosystemDatabase.php:58: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#L241
src/Ecosystem/Console/CreateEcosystemDatabase.php:241: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#L247
src/Ecosystem/Console/CreateEcosystemDatabase.php:247: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#L271
src/Ecosystem/Console/CreateEcosystemDatabase.php:271: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}, 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#L276
src/Ecosystem/Console/CreateEcosystemDatabase.php:276: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, tags: array<array-key, string>|string, type: string, updated: int, website: string}, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
PossiblyNullOperand:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L331
src/Ecosystem/Console/CreateEcosystemDatabase.php:331:40: PossiblyNullOperand: Cannot concatenate with a possibly null null|string (see https://psalm.dev/080)
|
RiskyTruthyFalsyComparison:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L357
src/Ecosystem/Console/CreateEcosystemDatabase.php:357:39: 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)
|
MixedArrayAccess:
src/Ecosystem/Console/CreateEcosystemDatabase.php#L414
src/Ecosystem/Console/CreateEcosystemDatabase.php:414:70: MixedArrayAccess: Cannot access array value on mixed variable $lastVersionData['license'] (see https://psalm.dev/051)
|