vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

    $vindi_customer_id = get_user_meta($user_id, 'vindi_customer_id', true);

Line indented incorrectly; expected 4 spaces, found 2
Open

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

Line indented incorrectly; expected at least 22 spaces, found 10
Open

          'name' => VINDI_PREFIX_PLAN . $data['name'],

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $routes;

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

      $phones[] = array(

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($customer->get_billing_phone()) {

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

      );

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

    ));
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 16 spaces, found 8
Open

        }

Line indented incorrectly; expected 4 spaces, found 2
Open

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

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

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

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

      return $this->create($user_id, $order);

Line indented incorrectly; expected 4 spaces, found 2
Open

  function create($user_id, $order = null)

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

      return;

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

    $phones = [];

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

    $createdUser = $this->routes->createCustomer(

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

    $deletedUser = $this->routes->deleteCustomer(

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

Line indented incorrectly; expected 4 spaces, found 2
Open

  function create($post_id, $post, $update, $recreated = false)
Severity
Category
Status
Source
Language