Fix #70 - cancel an expired payment #71
+43
−0
Open
Annotations
12 errors and 1 warning
Check for security vulnerabilities
Process completed with exit code 1.
|
Run PHPStan:
src/Abstraction/StateMachine/CompositeStateMachine.php#L11
Property FluxSE\SyliusPayumStripePlugin\Abstraction\StateMachine\CompositeStateMachine::$stateMachine has unknown class Sylius\Abstraction\StateMachine\StateMachineInterface as its type.
|
Run PHPStan:
src/Abstraction/StateMachine/CompositeStateMachine.php#L13
Parameter $stateMachine of method FluxSE\SyliusPayumStripePlugin\Abstraction\StateMachine\CompositeStateMachine::__construct() has invalid type Sylius\Abstraction\StateMachine\StateMachineInterface.
|
Run PHPStan:
src/Abstraction/StateMachine/CompositeStateMachine.php#L20
Call to method getTransitionToState() on an unknown class Sylius\Abstraction\StateMachine\StateMachineInterface.
|
Run PHPStan:
src/Abstraction/StateMachine/CompositeStateMachine.php#L25
Call to method apply() on an unknown class Sylius\Abstraction\StateMachine\StateMachineInterface.
|
Run PHPStan:
src/CommandHandler/CancelPaymentHandler.php#L19
Property FluxSE\SyliusPayumStripePlugin\CommandHandler\CancelPaymentHandler::$clock has unknown class Sylius\Calendar\Provider\DateTimeProviderInterface as its type.
|
Run PHPStan:
src/CommandHandler/CancelPaymentHandler.php#L26
Parameter $clock of method FluxSE\SyliusPayumStripePlugin\CommandHandler\CancelPaymentHandler::__construct() has invalid type Sylius\Calendar\Provider\DateTimeProviderInterface.
|
Run PHPStan:
src/CommandHandler/CancelPaymentHandler.php#L49
Call to method now() on an unknown class Sylius\Calendar\Provider\DateTimeProviderInterface.
|
Run PHPStan:
src/EventListener/Workflow/PaymentCompletedStateListener.php#L21
Parameter $event of method FluxSE\SyliusPayumStripePlugin\EventListener\Workflow\PaymentCompletedStateListener::__invoke() has invalid type Symfony\Component\Workflow\Event\CompletedEvent.
|
Run PHPStan:
src/EventListener/Workflow/PaymentCompletedStateListener.php#L24
Call to method getSubject() on an unknown class Symfony\Component\Workflow\Event\CompletedEvent.
|
Run PHPStan:
src/EventListener/Workflow/PaymentCompletedStateListener.php#L27
Call to method getTransition() on an unknown class Symfony\Component\Workflow\Event\CompletedEvent.
|
Run ECS
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading