It is recommended not to use reserved keyword "class". #21
ci.yaml
on: push
phpcs
/
phpcs
14s
phpstan
/
phpstan
25s
Matrix: phplint / phplint
Annotations
12 errors and 1 warning
phpcs / phpcs:
src/Client.php#L91
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$xml'.
|
phpcs / phpcs
Process completed with exit code 1.
|
phpstan / phpstan:
src/Customer.php#L16
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$locale has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L18
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$ip_address has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L20
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$forwarded_ip has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L22
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$first_name has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L24
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$last_name has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L26
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$address_1 has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L28
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$address_2 has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L30
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$house_number has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L32
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$zip_code has no typehint specified.
|
phpstan / phpstan:
src/Customer.php#L34
Property Pronamic\WordPress\Pay\Gateways\MultiSafepay\Customer::$city has no typehint specified.
|
phpcs / phpcs:
src/Methods.php#L194
It is recommended not to use reserved keyword "default" as function parameter name. Found: $default
|