Skip to content

PPSYL-111 - Trigger capture auto from a command #192

PPSYL-111 - Trigger capture auto from a command

PPSYL-111 - Trigger capture auto from a command #192

Triggered via pull request December 9, 2024 14:10
Status Failure
Total duration 1m 25s
Artifacts

analysis.yaml

on: pull_request
sonarcloud
9s
sonarcloud
Matrix: analysis
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
sonarcloud
Process completed with exit code 1.
PHP 8.2 Symfony 6.2.*: src/Checker/CanSaveCardChecker.php#L32
Method PayPlug\SyliusPayPlugPlugin\Checker\CanSaveCardChecker::isAllowed() should return bool but return statement is missing.
PHP 8.2 Symfony 6.2.*: src/Command/CaptureAuthorizedPaymentCommand.php#L48
Parameter #1 $days of method PayPlug\SyliusPayPlugPlugin\Repository\PaymentRepositoryInterface::findAllAuthorizedOlderThanDays() expects int, mixed given.
PHP 8.2 Symfony 6.2.*: src/Controller/IntegratedPaymentController.php#L31
PHPDoc tag @var for property PayPlug\SyliusPayPlugPlugin\Controller\IntegratedPaymentController::$paymentMethodRepository contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Core\Model\PaymentMethodInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
PHP 8.2 Symfony 6.2.*: src/Controller/IntegratedPaymentController.php#L41
PHPDoc tag @param for parameter $paymentMethodRepository contains generic type Sylius\Component\Resource\Repository\RepositoryInterface<Sylius\Component\Core\Model\PaymentMethodInterface> but interface Sylius\Component\Resource\Repository\RepositoryInterface is not generic.
PHP 8.2 Symfony 6.2.*: src/PaymentProcessing/CaptureAuthorizedPaymentProcessor.php#L34
Call to an undefined method Sylius\Component\Payment\Model\PaymentMethodInterface::getGatewayConfig().
PHP 8.2 Symfony 6.2.*: src/PaymentProcessing/CaptureAuthorizedPaymentProcessor.php#L48
Parameter #1 $paymentMethod of method PayPlug\SyliusPayPlugPlugin\ApiClient\PayPlugApiClientFactory::createForPaymentMethod() expects Sylius\Component\Core\Model\PaymentMethodInterface, Sylius\Component\Payment\Model\PaymentMethodInterface given.
PHP 8.2 Symfony 6.2.*: src/PaymentProcessing/CaptureAuthorizedPaymentProcessor.php#L49
Parameter #1 $paymentId of method PayPlug\SyliusPayPlugPlugin\ApiClient\PayPlugApiClientInterface::retrieve() expects string, mixed given.
PHP 8.2 Symfony 6.2.*: src/Repository/PaymentRepository.php#L48
Method PayPlug\SyliusPayPlugPlugin\Repository\PaymentRepository::findAllAuthorizedOlderThanDays() should return array<Sylius\Component\Core\Model\PaymentInterface> but returns mixed.
PHP 8.2 Symfony 6.2.*: src/Resolver/PaymentStateResolver.php#L97
Parameter #1 $timestamp of method DateTimeImmutable::setTimestamp() expects int, mixed given.
PHP 8.2 Symfony 6.2.*
Process completed with exit code 1.
PHP 8.2 Symfony 6.2.*
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
SonarScanner
Running this GitHub Action without SONAR_TOKEN is not recommended
PHP 8.2 Symfony 6.2.*
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2 Symfony 6.2.*
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/