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

      $this->webhooks, 'handle'
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

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

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

    $methods[] = new VindiBankSlipGateway($this->settings, $this->controllers);
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

        'phone_type' => 'mobile',

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

      );

Line indented incorrectly; expected 12 spaces, found 6
Open

      if ('2' === $order->get_meta('_billing_persontype')) {

Line indented incorrectly; expected 4 spaces, found 2
Open

  function update($user_id, $order = null)

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (!$vindiUser) {

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

    $user = $customer->get_data();

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

    $this->init();
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($customer->get_billing_phone()) {

Line indented incorrectly; expected 12 spaces, found 6
Open

      } else {

Line indented incorrectly; expected 16 spaces, found 8
Open

        }

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

    add_action('woocommerce_api_' . self::WC_API_CALLBACK, array(
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

    $updatedUser = $this->routes->updateCustomer(

Multi-line function call not indented correctly; expected 8 spaces but found 6
Open

      $vindi_customer_id,

Multi-line function call not indented correctly; expected 8 spaces but found 6
Open

      )

Line indented incorrectly; expected 4 spaces, found 2
Open

  public static function get_instance()
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  function delete($user_id)
Severity
Category
Status
Source
Language