Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Below code isn't fixed, actually is opposite.
This one:
// get the vendor ID
$vendor_name = variable_get(PAYPOINT_SETTING_VENDOR_NAME);
if(isset($order->data['paypoint_overrides']['Vendor'])) {
$vendor_name = $order->data['paypoint_overrides']['Vendor'];
}
is converted into:
// get the vendor ID
$vendor_name = variable_get(PAYPOINT_SETTING_VENDOR_NAME);
if(isset($order->data['paypoint_overrides']['Vendor'])) {
$vendor_name = $order->data['paypoint_overrides']['Vendor'];
}
Command I'm testing:
phpcbf --standard=Drupal commerce_paypoint/advanced_payments
Comments
Comment #2
klausifor me it gets fixed to
Which is also not great, but it is hard to fix if there is a broken 4 space indentation already. Do you have a more complete sample where the 4 space indentation is used?
Comment #3
klausiPlease reopen if this is still an issue.