vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

    $this->languages = new VindiLanguages();
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  function __construct(VindiSettings $vindi_settings)

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

  {

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($customer->get_meta('billing_cellphone')) {

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

  {

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

      $phones[] = $landline;

Line indented incorrectly; expected 12 spaces, found 6
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 at least 12 spaces, found 6
Open

      $variations_products = $variations_plans = [];

Multi-line function call not indented correctly; expected 26 spaces but found 22
Open

                      array(

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

    add_filter('woocommerce_payment_gateways', array(&$this, 'add_gateway'));
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

    return plugin_dir_path(__FILE__);
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 6
Open

      if (null == self::$instance) {
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

      return self::$instance;
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  private $vindi_settings;

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

    $user = $customer->get_data();

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

      $phones[] = array(

Line indented incorrectly; expected 8 spaces, found 4
Open

    }
Severity
Category
Status
Source
Language