Skip to content

fix: Process --path flag in the get command (#70) #321

fix: Process --path flag in the get command (#70)

fix: Process --path flag in the get command (#70) #321

Triggered via push August 29, 2025 13:18
Status Failure
Total duration 26s
Artifacts
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

5 errors
psalm (ubuntu-latest, 8.2, locked)
Process completed with exit code 2.
MixedArgument: src/Command/Get.php#L146
src/Command/Get.php:146:17: MixedArgument: Argument 2 of Internal\DLoad\Command\Get::parseSoftware cannot be mixed, expecting null|string (see https://psalm.dev/030)
ArgumentTypeCoercion: src/Command/Get.php#L145
src/Command/Get.php:145:17: ArgumentTypeCoercion: Argument 1 of Internal\DLoad\Command\Get::parseSoftware expects non-empty-string, but parent type string provided (see https://psalm.dev/193)
LessSpecificReturnStatement: src/Command/Get.php#L143
src/Command/Get.php:143:16: LessSpecificReturnStatement: The type 'array<array-key, Internal\DLoad\Module\Config\Schema\Action\Download>' is more general than the declared return type 'list<Internal\DLoad\Module\Config\Schema\Action\Download>' for Internal\DLoad\Command\Get::getDownloadActions (see https://psalm.dev/129)
MixedAssignment: src/Command/Get.php#L141
src/Command/Get.php:141:9: MixedAssignment: Unable to determine the type that $destinationPath is being assigned to (see https://psalm.dev/032)