Skip to content

vendor/bin/phpcbf

vendor/bin/phpcbf #40

Triggered via push October 11, 2023 12:10
Status Failure
Total duration 40s
Artifacts

ci.yaml

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

Annotations

15 errors and 5 warnings
phpcs / phpcs: src/Client.php#L186
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
phpcs / phpcs: src/Client.php#L186
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$name'.
phpcs / phpcs: src/Gateway.php#L169
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$payment_method'.
phpcs / phpcs: src/Integration.php#L171
Processing form data without nonce verification.
phpcs / phpcs: src/Integration.php#L175
Processing form data without nonce verification.
phpcs / phpcs: src/Integration.php#L190
Processing form data without nonce verification.
phpcs / phpcs: src/Integration.php#L195
Processing form data without nonce verification.
phpcs / phpcs: src/Integration.php#L210
Processing form data without nonce verification.
phpcs / phpcs: src/Integration.php#L215
Processing form data without nonce verification.
phpcs / phpcs: src/Integration.php#L230
Processing form data without nonce verification.
phpstan / phpstan: src/Gateway.php#L203
Parameter #1 $id of method Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Transaction::set_purchase_id() expects string|null, int|string|null given.
phpstan / phpstan: src/Integration.php#L510
Parameter #1 $post_id of function get_post_meta expects int, string given.
phpstan / phpstan: src/Integration.php#L548
Parameter #1 $post_id of function get_post_meta expects int, string given.
phpstan / phpstan: src/XmlSigner.php#L140
Parameter #3 $private_key of function openssl_sign expects array|OpenSSLAsymmetricKey|OpenSSLCertificate|string, OpenSSLAsymmetricKey|resource given.
phpstan / phpstan
Process completed with exit code 1.
phpcs / phpcs: src/XML/Message.php#L121
It is recommended not to use reserved keyword "parent" as function parameter name. Found: $parent
phpcs / phpcs: src/XML/Message.php#L141
It is recommended not to use reserved keyword "parent" as function parameter name. Found: $parent
phpcs / phpcs: src/Integration.php#L195
Detected usage of a non-sanitized input variable: $_POST[$name]
phpcs / phpcs: src/Integration.php#L215
Detected usage of a non-sanitized input variable: $_POST[$name]
phpcs / phpcs: src/Integration.php#L235
Detected usage of a non-sanitized input variable: $_POST[$name]