Skip to content

Escape var values in exception messages. #64

Escape var values in exception messages.

Escape var values in exception messages. #64

Triggered via push January 23, 2024 10:56
Status Failure
Total duration 38s
Artifacts

ci.yaml

on: push
Matrix: phplint / phplint
Matrix: phpunit / phpunit
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 10 warnings
phpunit / PHP 8.0 WordPress 6.1
Process completed with exit code 1.
coverage / coverage
Script "coverage" is not defined in this package
coverage / coverage
Process completed with exit code 1.
phpcs / phpcs
Process completed with exit code 1.
phpunit / PHP 8.0 WordPress 6.3
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.0 WordPress 6.3
The operation was canceled.
phpunit / PHP 8.0 WordPress 6.2
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.0 WordPress 6.2
The operation was canceled.
phpunit / PHP 8.1 WordPress 6.1
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.1 WordPress 6.1
The operation was canceled.
phpunit / PHP 8.2 WordPress 6.1
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.2 WordPress 6.1
The operation was canceled.
phpunit / PHP 8.2 WordPress 6.3
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.2 WordPress 6.3
The operation was canceled.
phpunit / PHP 8.1 WordPress 6.2
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.1 WordPress 6.2
The operation was canceled.
phpunit / PHP 8.2 WordPress 6.2
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.2 WordPress 6.2
The operation was canceled.
phpunit / PHP 8.1 WordPress 6.3
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.1 WordPress 6.3
The operation was canceled.
phpstan / phpstan: src/Address.php#L128
Parameter #1 $text of function esc_html expects string, int given.
phpstan / phpstan: src/Address.php#L168
Parameter #1 $text of function esc_html expects string, int given.
phpstan / phpstan: src/BrowserInformation.php#L348
Return type of Pronamic\WordPress\Pay\Gateways\Adyen\BrowserInformation::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
phpstan / phpstan: src/Client.php#L76
Parameter #1 $text of function esc_html expects string, int|string given.
phpstan / phpstan: src/Gateway.php#L84
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / phpstan: src/Gateway.php#L119
Method Pronamic\WordPress\Pay\Gateways\Adyen\Gateway::get_payment_methods() has parameter $args with no value type specified in iterable type array.
phpstan / phpstan: src/Gateway.php#L135
Parameter #1 $string of function md5 expects string, string|false given.
phpstan / phpstan: src/Gateway.php#L150
Parameter #1 $id of method Pronamic\WordPress\Pay\Core\Gateway::get_payment_method() expects string, string|null given.
phpstan / phpstan: src/Gateway.php#L221
Parameter #1 $type of class Pronamic\WordPress\Pay\Gateways\Adyen\PaymentMethodDetails constructor expects string, string|null given.
phpstan / phpstan: src/Gateway.php#L247
Parameter #1 $text of function esc_html expects string, string|null given.
phpcs / phpcs: src/ObjectAccess.php#L29
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/PaymentResponseAction.php#L56
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/PaymentResponse.php#L46
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/Error.php#L76
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/PaymentSessionResponse.php#L73
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/PaymentDetailsResponse.php#L30
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/ServiceException.php#L104
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/PaymentMethodsResponse.php#L55
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/BrowserInformation.php#L271
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object
phpcs / phpcs: src/ResponseObject.php#L39
It is recommended not to use reserved keyword "object" as function parameter name. Found: $object