vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

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

      'subscription_payment_method_change',

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

    $this->init_form_fields();

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $path;
Severity: Minor
Found in src/controllers/index.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

if ( ! defined( 'ABSPATH' ) ) {

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $debug;

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

  {

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

    $this->dependencies  = new VindiDependencies;

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

    $settings_tabs['settings_vindi'] = __('Vindi', VINDI);

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

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

      'shipping_and_tax_config'  => array(

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

      'sandbox'             => array(

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

      ),

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

Expected 1 space after IF keyword; 0 found
Open

    if(isset($this->settings['return_status'])) {

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

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

    return 'yes' === $this->settings['send_nfe_information'];

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

  {

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

      'subscription_cancellation',

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

      'subscription_reactivation',
Severity
Category
Status
Source
Language