vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

          $product->get_meta('_subscription_trial_period')

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

          array(

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

          'status' => ($data['status'] == 'publish') ? 'active' : 'inactive',

Line indented incorrectly; expected at least 22 spaces, found 14
Open

              'product_id' => $createdProduct['id']

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

        $variations_products[$variation['variation_id']] = $createdProduct;

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

    $trigger_day = VindiConversions::convertTriggerToDay(

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

      $product->get_meta('_subscription_trial_period')

Line indented incorrectly; expected 12 spaces, found 6
Open

      if (empty($vindi_plan_id)) {

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

      $variations = $product->get_available_variations();

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

        $variation_product = wc_get_product($variation['variation_id']);

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

          $product->get_meta('_subscription_trial_period')

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

            'pricing_schema' => array(

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

      );

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

      $product->get_meta('_subscription_trial_period')

Line indented incorrectly; expected 12 spaces, found 10
Open

          }

Multi-line function call not indented correctly; expected 16 spaces but found 14
Open

              array(

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

        $updatedProduct = $this->routes->updateProduct(

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

        $variations_plans[$variation['variation_id']] = $updatedPlan;

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

        'product' => $variations_products,

Line indented incorrectly; expected 8 spaces, found 4
Open

    if ($product->get_type() == 'subscription') {
Severity
Category
Status
Source
Language