Skip to content

Happy 2024.

Happy 2024. #38

Triggered via push August 9, 2024 14:31
Status Failure
Total duration 51s
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/classes/migration/Scheduler.php#L26
Short array syntax must be used to define arrays
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L33
Short array syntax must be used to define arrays
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L89
Short array syntax must be used to define arrays
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Scheduler.php#L128
The closing brace for the class must go on the next line after the body
phpcs / phpcs: packages/woocommerce/action-scheduler/deprecated/ActionScheduler_Abstract_QueueRunner_Deprecated.php#L19
Inline comments must end in full-stops, exclamation marks, or question marks
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/woocommerce/action-scheduler/classes/migration/Controller.php#L53
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Controller.php#L71
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/Controller.php#L145
Words in hook names should be separated using underscores. Expected: 'action_scheduler_migration_config', but found: 'action_scheduler/migration_config'.
phpcs / phpcs: packages/wp-pay/core/views/page-dashboard.php#L24
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/classes/ActionScheduler_FatalErrorMonitor.php#L10
Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space