vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 4 spaces, found 2
Open

  function __construct()

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

  {

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

    $this->routes = new VindiRoutes($this);

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

  {

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

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

    $prospects_url = '<a href="https://app.vindi.com.br/prospects/new" target="_blank">' . __('Não possui uma conta?', VINDI) . '</a>';

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

    return $settings_tabs;

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function settings_tab()

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

      '',

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

      'return_status'        => array(

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

      ),

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

    $vindi_plan_id     = get_post_meta($post_id, 'vindi_plan_id', true);

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

        'code' => 'WC-' . $data['id'],

Line indented incorrectly; expected 4 spaces, found 2
Open

  function trash($post_id)

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

      'product' => $inactivatedProduct,

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

    $vindi_product_id = get_post_meta($product->id, 'vindi_product_id', true);

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

    ));

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

      'product' => $activatedProduct,

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

  {
Severity
Category
Status
Source
Language