Skip to content

Fix "All output should be run through an escaping function". #749

Fix "All output should be run through an escaping function".

Fix "All output should be run through an escaping function". #749

Triggered via push October 5, 2023 09:44
Status Failure
Total duration 1m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yaml

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

Annotations

12 errors
phpcs / phpcs: src/Fields/Field.php#L135
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$this'.
phpcs / phpcs
Process completed with exit code 1.
phpstan / phpstan: views/error.php#L11
Variable $pay_error might not be defined.
phpstan / phpstan: views/error.php#L31
Class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Error not found.
phpstan / phpstan: views/error.php#L37
Call to method get_code() on an unknown class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Error.
phpstan / phpstan: views/error.php#L40
Call to method get_message() on an unknown class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Error.
phpstan / phpstan: views/error.php#L43
Call to method get_detail() on an unknown class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Error.
phpstan / phpstan: views/error.php#L46
Call to method get_suggested_action() on an unknown class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Error.
phpstan / phpstan: views/error.php#L49
Call to method get_consumer_message() on an unknown class Pronamic\WordPress\Pay\Gateways\IDealAdvancedV3\Error.
phpstan / phpstan: views/exception.php#L11
Variable $exception might not be defined.
phpstan / phpstan: views/form.php#L14
Variable $action_url might not be defined.
phpstan / phpstan: views/form.php#L17
Variable $payment might not be defined.