vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 0 spaces, found 2
Open

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

Expected 0 spaces after opening bracket; 1 found
Open

if ( ! defined( 'ABSPATH' ) ) {

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

    $this->vindi_settings = $vindi_settings;

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $token;

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

      'send_nfe_information' => array(

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

      ),

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

      ),

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

    );

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

      return;

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

    $product = wc_get_product($post_id);

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (empty($vindi_product_id) || empty($vindi_plan_id)) {

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

          return $this->update($post_id);

Line indented incorrectly; expected 12 spaces, found 10
Open

          } else {

Multi-line function call not indented correctly; expected 12 spaces but found 10
Open

          $vindi_product_id,

Expected 0 spaces before closing bracket; 1 found
Open

      load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
Severity: Minor
Found in src/i18n/Languages.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function product_status_notifier()

Expected 1 space after IF keyword; 0 found
Open

    if(empty(get_transient('vindi_product_message')))

Line indented incorrectly; expected 4 spaces, found 2
Open

  }

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

  {

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

      'debug'                => array(
Severity
Category
Status
Source
Language