Skip to content

Fix signature for testing. #73

Fix signature for testing.

Fix signature for testing. #73

Status Failure
Total duration 47s
Artifacts

ci.yaml

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

Annotations

29 errors
phpcs / phpcs: src/Message.php#L75
Doc comment for parameter "$signing_key" missing
phpcs / phpcs: src/Message.php#L80
Missing @throws tag for "\Pronamic\WordPress\Pay\Gateways\OmniKassa2\InvalidSignatureException" exception
phpcs / phpcs: src/Message.php#L81
Method \Pronamic\WordPress\Pay\Gateways\OmniKassa2\Message::verify_signature() does not have parameter type hint nor @param annotation for its parameter $signing_key.
phpcs / phpcs: src/Message.php#L93
Spaces must be used for mid-line alignment; tabs are not allowed
phpcs / phpcs: src/Gateway.php#L563
Expected 1 @throws tag(s) in function comment; 2 found
phpcs / phpcs
Process completed with exit code 1.
phpunit / PHP 8.0 WordPress 6.1
Process completed with exit code 1.
phpunit / PHP 8.2 WordPress 6.3
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.2 WordPress 6.3
Process completed with exit code 1.
phpunit / PHP 8.2 WordPress 6.2
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.2 WordPress 6.2
Process completed with exit code 1.
phpunit / PHP 8.1 WordPress 6.1
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.1 WordPress 6.1
Process completed with exit code 1.
phpunit / PHP 8.1 WordPress 6.2
The job was canceled because "_8_0_6_1" failed.
phpunit / PHP 8.1 WordPress 6.2
Process completed with exit code 1.
coverage / coverage
Process completed with exit code 1.
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.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.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.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.
psalm / psalm
Process completed with exit code 1.
phpstan / phpstan: src/Message.php#L81
Method Pronamic\WordPress\Pay\Gateways\OmniKassa2\Message::verify_signature() has parameter $signing_key with no type specified.
phpstan / phpstan: src/Message.php#L86
Parameter #1 $signature_a of static method Pronamic\WordPress\Pay\Gateways\OmniKassa2\Security::validate_signature() expects string, string|null given.
phpstan / phpstan: src/Message.php#L92
Parameter #1 $text of function esc_html expects string, string|null given.
phpstan / phpstan
Process completed with exit code 1.