vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

      array(

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

      );

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

        $notes = '';

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

          $product->get_meta('_subscription_trial_length'),

Line indented incorrectly; expected 4 spaces, found 2
Open

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

Line indented incorrectly; expected 4 spaces, found 2
Open

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

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 16 spaces, found 8
Open

        $name = $order->get_billing_company();

Line indented incorrectly; expected 12 spaces, found 6
Open

      }

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

      array(

Line indented incorrectly; expected 8 spaces, found 4
Open

    foreach ($vindiUser['phones'] as $phone) {

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

        $this->vindi_settings->logger->log(sprintf('Order cpf -> %s', $cpf_or_cnpj));

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

      array(

Line indented incorrectly; expected 8 spaces, found 4
Open

    if (!$vindiUser) {

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

    return $deletedUser;

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

    $this->logger = $vindi_settings->logger;

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($product->get_type() == 'variable-subscription') {

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

        $interval_count    = $variation_product->get_meta('_subscription_period_interval');

Line indented incorrectly; expected 4 spaces, found 2
Open

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

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

    $this->subscription_status_handler = new VindiSubscriptionStatusHandler($this->settings);
Severity: Minor
Found in src/VindiWoocommerce.php by phpcodesniffer
Severity
Category
Status
Source
Language