Fix phpcs
Some checks are pending
CI / PHP 7.4 (push) Waiting to run
CI / PHP 8.0 (push) Waiting to run
CI / PHP 8.1 (push) Waiting to run
CI / PHP 8.2 (push) Waiting to run
CI / PHP 8.3 (push) Waiting to run
CI / PHP 8.4 (push) Waiting to run
PR Playground Demo / prepare_version (push) Waiting to run
PR Playground Demo / build_plugin (push) Blocked by required conditions
PR Playground Demo / create_archive (push) Blocked by required conditions
PR Playground Demo / Comment on PR with Playground details (push) Blocked by required conditions

This commit is contained in:
Alex P. 2025-08-29 14:28:41 +03:00
parent c92969e0d4
commit 58e6f3beb7
No known key found for this signature in database
GPG key ID: 68E4DCB139B18520
2 changed files with 6 additions and 6 deletions

View file

@ -375,7 +375,7 @@ class ButtonModule implements ServiceModule, ExtendingModule, ExecutableModule {
*/
add_filter(
'woocommerce_order_received_verify_known_shoppers',
static function( $result ) {
static function ( $result ) {
if ( ! is_order_received_page() ) {
return $result;
}
@ -417,8 +417,8 @@ class ButtonModule implements ServiceModule, ExtendingModule, ExecutableModule {
add_filter(
'woocommerce_order_email_verification_required',
static function (
$email_verification_required,
$order
$email_verification_required,
$order
) {
if ( ! $order instanceof WC_Order ) {
return $email_verification_required;

View file

@ -244,13 +244,13 @@ class TodosDefinition {
),
'priority' => 14,
),
'pay_later_messaging_is_auto_enabled' => array(
'pay_later_messaging_is_auto_enabled' => array(
'title' => __( 'PayPal Pay Later messaging successfully enabled', 'woocommerce-paypal-payments' ),
'description' => __( 'PayPal is now displaying this flexible payment option earlier in the shopping experience. This update was made based on your “Stay Updated” preference and the messaging can be customized or disabled through the Pay Later settings.', 'woocommerce-paypal-payments' ),
'isEligible' => $eligibility_checks['pay_later_messaging_is_auto_enabled'],
'action' => array(
'type' => 'tab',
'tab' => 'pay_later_messaging',
'type' => 'tab',
'tab' => 'pay_later_messaging',
),
'priority' => 15,
),