vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

      $phones[] = $mobile;

Line indented incorrectly; expected 16 spaces, found 8
Open

        }

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

      $vindi_customer_id,

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

      array(

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

    return $updatedUser;

Line indented incorrectly; expected 4 spaces, found 2
Open

  function __construct(VindiSettings $vindi_settings)

Line indented incorrectly; expected 12 spaces, found 6
Open

      foreach ($variations as $variation) {

Line indented incorrectly; expected at least 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

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

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (VindiDependencies::check()) {
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  public function add_gateway($methods)
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer

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

    $this->vindi_settings = $vindi_settings;

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (empty($vindi_customer_id)) {

Line indented incorrectly; expected 8 spaces, found 4
Open

    }

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

        'number' => preg_replace('/\D+/', '', '55' . $customer->get_billing_phone())

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

      );

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

    $name = (!$user['first_name']) ? $user['display_name'] : $user['first_name'] . ' ' . $user['last_name'];

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

    $notes = null;

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

      return;

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

        $interval_type     = $variation_product->get_meta('_subscription_period');
Severity
Category
Status
Source
Language