Skip to content

v4.3.1

v4.3.1 #37

Triggered via push June 19, 2024 12:56
Status Failure
Total duration 48s
Artifacts

ci.yaml

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

Annotations

20 errors and 10 warnings
phpstan / phpstan: src/AddOn.php#L27
Class Pronamic\WordPress\Pay\Extensions\EventEspresso\AddOn extends unknown class EE_Addon.
phpstan / phpstan: src/AddOn.php#L34
Method Pronamic\WordPress\Pay\Extensions\EventEspresso\AddOn::register_addon() has no return type specified.
phpstan / phpstan: src/AddOn.php#L66
Call to static method register() on an unknown class EE_Register_Addon.
phpstan / phpstan: src/AlipayPaymentMethod.php#L41
Parameter $pm_instance of method Pronamic\WordPress\Pay\Extensions\EventEspresso\AlipayPaymentMethod::__construct() has invalid type Pronamic\WordPress\Pay\Extensions\EventEspresso\EE_Payment_Method.
phpstan / phpstan: src/AlipayPaymentMethod.php#L42
Access to an undefined property Pronamic\WordPress\Pay\Extensions\EventEspresso\AlipayPaymentMethod::$_gateway.
phpstan / phpstan: src/AlipayPaymentMethod.php#L43
Access to an undefined property Pronamic\WordPress\Pay\Extensions\EventEspresso\AlipayPaymentMethod::$_pretty_name.
phpstan / phpstan: src/AlipayPaymentMethod.php#L45
Parameter #1 $pm_instance of method Pronamic\WordPress\Pay\Extensions\EventEspresso\PaymentMethod::__construct() expects EE_Payment_Method|null, Pronamic\WordPress\Pay\Extensions\EventEspresso\EE_Payment_Method|null given.
phpstan / phpstan: src/BancontactPaymentMethod.php#L41
Parameter $pm_instance of method Pronamic\WordPress\Pay\Extensions\EventEspresso\BancontactPaymentMethod::__construct() has invalid type Pronamic\WordPress\Pay\Extensions\EventEspresso\EE_Payment_Method.
phpstan / phpstan: src/BancontactPaymentMethod.php#L42
Access to an undefined property Pronamic\WordPress\Pay\Extensions\EventEspresso\BancontactPaymentMethod::$_gateway.
phpstan / phpstan: src/BancontactPaymentMethod.php#L43
Access to an undefined property Pronamic\WordPress\Pay\Extensions\EventEspresso\BancontactPaymentMethod::$_pretty_name.
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L22
Opening brace should be on the same line as the declaration for class CronExpression_DayOfMonthField
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L23
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L24
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L25
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L26
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L27
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L28
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L34
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_DayOfMonthField.php#L35
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L17
Equals sign not aligned correctly; expected 1 space but found 12 spaces
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L20
Equals sign not aligned correctly; expected 1 space but found 11 spaces
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L57
Words in hook names should be separated using underscores. Expected: 'action_scheduler_migration_complete', but found: 'action_scheduler/migration_complete'.
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L105
Words in hook names should be separated using underscores. Expected: 'action_scheduler_migration_interval', but found: 'action_scheduler/migration_interval'.
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L114
Words in hook names should be separated using underscores. Expected: 'action_scheduler_migration_batch_size', but found: 'action_scheduler/migration_batch_size'.
phpcs / phpcs: packages/wp-pay/core/src/Payments/PaymentsModule.php#L241
Found unknown capability "edit_payments" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap(). Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L34
This comment is 67% valid code; is this commented out code?
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L39
This comment is 67% valid code; is this commented out code?