Merge branch 'main' into mollie-components #125
ci.yaml
on: push
phpcs
/
phpcs
16s
phpstan
/
phpstan
28s
coverage
/
coverage
29s
Matrix: phplint / phplint
Matrix: phpunit / phpunit
Annotations
12 errors and 2 warnings
phpcs / phpcs:
src/ComponentsField.php#L22
Missing @var tag in member variable comment
|
phpcs / phpcs:
src/ComponentsField.php#L72
There must not be a space before the colon in a return type declaration
|
phpcs / phpcs:
src/ComponentsField.php#L88
There must not be a space before the colon in a return type declaration
|
phpcs / phpcs:
src/ComponentsField.php#L124
There must not be a space before the colon in a return type declaration
|
phpcs / phpcs:
src/Gateway.php#L144
Empty CATCH statement detected
|
phpcs / phpcs
Process completed with exit code 1.
|
phpstan / phpstan:
src/ComponentsField.php#L73
Call to an undefined static method Pronamic\WordPress\Pay\Fields\Field::get_html_attributes().
|
phpstan / phpstan:
src/ComponentsField.php#L82
Method Pronamic\WordPress\Pay\Gateways\Mollie\ComponentsField::get_html_attributes() should return array<string, string> but returns array<string, string|true|null>.
|
phpstan / phpstan:
src/ComponentsField.php#L112
Parameter #1 $post of function get_post_type expects int|WP_Post|null, int|false given.
|
phpstan / phpstan:
src/ComponentsField.php#L124
Method Pronamic\WordPress\Pay\Gateways\Mollie\ComponentsField::jsonSerialize() return type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Gateway.php#L747
Access to an undefined property Pronamic\WordPress\Mollie\PaymentRequest::$card_token.
|
phpstan / phpstan
Process completed with exit code 1.
|
phpcs / phpcs:
src/ComponentsField.php#L34
Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.
|
phpcs / phpcs:
src/Gateway.php#L130
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
|