Skip to content

Fix types for transaction events and responses #65

Fix types for transaction events and responses

Fix types for transaction events and responses #65

Triggered via push September 2, 2024 10:26
Status Failure
Total duration 31s
Artifacts
Static Analysis
24s
Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Static Analysis: src/Client.php#L236
Method Sebdesign\VivaPayments\Client::withEnvironment() throws checked exception TypeError but it's missing from the PHPDoc @throws tag.
Static Analysis: src/Client.php#L236
Method Sebdesign\VivaPayments\Client::withEnvironment() throws checked exception ValueError but it's missing from the PHPDoc @throws tag.
Static Analysis: src/Events/WebhookEvent.php#L32
Method Sebdesign\VivaPayments\Events\WebhookEvent::create() throws checked exception TypeError but it's missing from the PHPDoc @throws tag.
Static Analysis: src/Events/WebhookEvent.php#L32
Method Sebdesign\VivaPayments\Events\WebhookEvent::create() throws checked exception ValueError but it's missing from the PHPDoc @throws tag.
Static Analysis: src/Services/Card.php#L37
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Static Analysis: src/Services/ISV/Order.php#L37
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Static Analysis: src/Services/Order.php#L38
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Static Analysis: tests/Functional/Services/ISV/OrderTest.php#L32
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Static Analysis: tests/Functional/Services/ISV/OrderTest.php#L33
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.
Static Analysis: tests/Functional/Services/ISV/OrderTest.php#L46
Parameter #1 $value of function strval expects bool|float|int|resource|string|null, mixed given.