Skip to content

v4.3.0

v4.3.0 #33

Triggered via push June 7, 2024 11:44
Status Failure
Total duration 46s
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_MonthField.php#L9
Opening brace should be on the same line as the declaration for class CronExpression_MonthField
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L10
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L11
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L12
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L13
Tabs must be used to indent lines; spaces are not allowed
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L13
Expected 1 spaces after opening parenthesis; 0 found
phpcs / phpcs: packages/woocommerce/action-scheduler/lib/cron-expression/CronExpression_MonthField.php#L13
Expected 1 spaces before closing parenthesis; 0 found
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?
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php#L39
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/DryRun_ActionMigrator.php#L24
Words in hook names should be separated using underscores. Expected: 'action_scheduler_migrate_action_dry_run', but found: 'action_scheduler/migrate_action_dry_run'.
phpcs / phpcs: packages/wp-pay/core/src/LicenseManager.php#L281
wp_remote_get() is highly discouraged. Please use vip_safe_wp_remote_get() instead which is designed to more gracefully handle failure than wp_remote_get() does.
phpcs / phpcs: packages/wp-pay/core/src/LicenseManager.php#L329
wp_remote_get() is highly discouraged. Please use vip_safe_wp_remote_get() instead which is designed to more gracefully handle failure than wp_remote_get() does.
phpcs / phpcs: packages/wp-pay/core/src/LicenseManager.php#L353
wp_remote_get() is highly discouraged. Please use vip_safe_wp_remote_get() instead which is designed to more gracefully handle failure than wp_remote_get() does.
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/ActionMigrator.php#L63
Words in hook names should be separated using underscores. Expected: 'action_scheduler_no_action_to_migrate', but found: 'action_scheduler/no_action_to_migrate'.
phpcs / phpcs: packages/woocommerce/action-scheduler/classes/migration/ActionMigrator.php#L75
Words in hook names should be separated using underscores. Expected: 'action_scheduler_migrate_action_failed', but found: 'action_scheduler/migrate_action_failed'.