v4.3.2 #40
ci.yaml
on: push
phpcs
/
phpcs
30s
phpstan
/
phpstan
26s
Matrix: phplint / phplint
Annotations
20 errors and 14 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/ActionScheduler_ActionFactory.php#L1
Missing file doc comment
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L15
There must be a single blank line after a tag group
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L21
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L72
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L86
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L102
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L117
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L135
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L151
Short array syntax must be used to define arrays
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_ActionFactory.php#L174
Short array syntax must be used to define arrays
|
phplint / PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phplint / PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phpstan / phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phpcs / phpcs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phpcs / phpcs:
packages/pronamic/wp-http/src/Response.php#L189
file_get_contents() is uncached. If the function is being used to fetch a remote file (e.g. a URL starting with https://), please use wpcom_vip_file_get_contents() to ensure the results are cached. For more details, please see: https://docs.wpvip.com/technical-references/code-quality-and-best-practices/retrieving-remote-data/
|
phpcs / phpcs:
packages/wp-pay/core/src/Subscriptions/SubscriptionsNotificationsController.php#L280
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/wp-pay/core/includes/functions.php#L87
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/wp-pay/core/includes/functions.php#L95
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/wp-pay/core/includes/functions.php#L179
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/wp-pay/core/includes/functions.php#L237
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/wp-pay/core/includes/functions.php#L244
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/wp-pay/core/includes/functions.php#L306
Detected usage of meta_query, possible slow query.
|
phpcs / phpcs:
packages/woocommerce/action-scheduler/classes/ActionScheduler_QueueRunner.php#L189
Stand-alone post-increment statement found. Use pre-increment instead: ++$processed_actions.
|
phpcs / phpcs:
packages/pronamic/wp-http/src/Handler.php#L54
Please ensure that the timeout being filtered is not greater than 3s since remote requests require the user to wait for completion before the rest of the page will load. Manual inspection required.
|