vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      throw new Exception(sprintf(__('Pendência criada com o item do tipo "%s" não processada!', VINDI), $item_type));
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $order->add_order_note(sprintf(
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 6
Open

      try {
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 4 spaces, found 2
Open

  {
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $order = wc_get_order($id);
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      'post_status' => 'any',
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 6
Open

      "week" => 7,
Severity: Minor
Found in src/utils/Conversions.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  function __construct() {

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (VindiHelpers::is_wc_lt('3.0')) {
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 6
Open

      return array();
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected at least 12 spaces, found 6
Open

      return (object) array(
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }, $order_items);
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $store_postcode = get_option('woocommerce_store_postcode');
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $order   = wc_get_order($order_id);
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }
Severity: Minor
Found in src/utils/PaymentGateway.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  }
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer

Line indented incorrectly; expected at least 8 spaces, found 4
Open

    $args = array(
Severity: Minor
Found in src/services/Webhooks.php by phpcodesniffer
Severity
Category
Status
Source
Language