add support for Gitlab #92
Merged
Annotations
10 errors
|
🔍 Run static analysis using vimeo/psalm:
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php#L32
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php:32:42: PossiblyUndefinedArrayOffset: Possibly undefined array key $responseData['message'] on array{0?: string, 1?: string, documentation_url?: string, message?: string} (see https://psalm.dev/167)
|
|
🔍 Run static analysis using vimeo/psalm:
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php#L32
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php:32:22: PossiblyNullArgument: Argument 2 of Internal\DLoad\Module\Repository\Internal\GitHub\Exception\GitHubRateLimitException::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
|
🔍 Run static analysis using vimeo/psalm:
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php#L31
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php:31:51: PossiblyUndefinedArrayOffset: Possibly undefined array key $responseData['documentation_url'] on array{0?: string, 1?: string, documentation_url?: string, message?: string} (see https://psalm.dev/167)
|
|
🔍 Run static analysis using vimeo/psalm:
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php#L31
src/Module/Repository/Internal/GitHub/Exception/GitHubRateLimitException.php:31:31: PossiblyNullArgument: Argument 1 of Internal\DLoad\Module\Repository\Internal\GitHub\Exception\GitHubRateLimitException::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
|
|
🔍 Run static analysis using vimeo/psalm:
src/Module/Repository/Internal/GitHub/Api/Client.php#L93
src/Module/Repository/Internal/GitHub/Api/Client.php:93:65: MixedArgumentTypeCoercion: Argument 1 of Internal\DLoad\Module\Repository\Internal\GitHub\Exception\GitHubRateLimitException::fromApiResponse expects array{0?: string, 1?: string, documentation_url?: string, message?: string}, but parent type non-empty-array<array-key, mixed> provided (see https://psalm.dev/194)
|
|
🔍 Run static analysis using vimeo/psalm:
src/Module/Repository/Internal/GitHub/Api/Client.php#L91
src/Module/Repository/Internal/GitHub/Api/Client.php:91:34: MixedArgument: Argument 1 of str_contains cannot be mixed, expecting string (see https://psalm.dev/030)
|
|
🔍 Run static analysis using vimeo/psalm:
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)
|
|
🔍 Run static analysis using vimeo/psalm:
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)
|
|
🔍 Run static analysis using vimeo/psalm:
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)
|
|
🔍 Run static analysis using vimeo/psalm:
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)
|
Loading