Showing 2,474 of 2,474 total issues
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public function refundCharge($charge_id, $data)
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$url = $this->base_path() . 'merchant';
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 8 Open
Open
if ('unauthorized' == $error['id'] and 'authorization' == $error['parameter']) {
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$url = sprintf('%s%s', $this->base_path(), $endpoint);
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 6 Open
Open
'headers' => array(
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$this->is_active = $is_active;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public static function get_vindi_amount($total, $currency = '')
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
{
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
return version_compare(WC_VERSION, $version, '<');
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 6 Open
Open
foreach ($subscription->get_items() as $subscription_item) {
- Exclude checks
Closing parenthesis of a multi-line function call must be on a line by itself Open
Open
sprintf('subscriptions/%s%s', filter_var($subscription_id, FILTER_SANITIZE_NUMBER_INT), $query), 'DELETE');
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
if ($response && array_key_exists('status', $response)) {
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 6 Open
Open
'payment_profiles/%s/verify',
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
public function createCustomerPaymentProfile($data)
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 10 Open
Open
return $response['payment_profile'];
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
if (false === empty($response['products'])) {
- Exclude checks
Line indented incorrectly; expected at least 12 spaces, found 8 Open
Open
'name' => $name,
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
return false;
- Exclude checks