vindi/vindi-woocommerce

View on GitHub

Adição de Botão para Gerar Link de Pagamento e Ajustes em Faturas de Renovação
#181

lucastgama wants to merge lucastgama:apiki_links_pagamento into vindi:master
All good!
No new issues were found.

Method __construct has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Fixed

Severity: Minor
Found in src/includes/gateways/CreditPayment.php - About 1 hr to fix

    Method init_form_fields has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Fixed

    Severity: Major
    Found in src/includes/gateways/CreditPayment.php - About 2 hrs to fix

      Avoid unused local variables such as '$index'.
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpmd

      UnusedLocalVariable

      Since: 0.2

      Detects when a local variable is declared and/or assigned, but not used.

      Example

      class Foo {
          public function doSomething()
          {
              $i = 5; // Unused
          }
      }

      Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

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

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

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

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

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

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

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

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

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

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

      Line indented incorrectly; expected 8 spaces, found 4
      Fixed

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

      Line indented incorrectly; expected 12 spaces, found 6
      Fixed

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

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

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

      Line indented incorrectly; expected 12 spaces, found 6
      Fixed

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

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

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

      Line indented incorrectly; expected 8 spaces, found 4
      Fixed

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

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

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

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

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

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

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

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

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

      Line indented incorrectly; expected 4 spaces, found 2
      Fixed

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

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

      Line exceeds 120 characters; contains 167 characters
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

      Line exceeds 120 characters; contains 132 characters
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

      Multi-line function call not indented correctly; expected 10 spaces but found 8
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

      Multi-line function call not indented correctly; expected 10 spaces but found 8
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

      Multi-line function call not indented correctly; expected 10 spaces but found 8
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

      Line indented incorrectly; expected 8 spaces, found 6
      Fixed

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/includes/gateways/CreditPayment.php by phpcodesniffer

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

      Severity: Minor
      Found in src/services/Webhooks.php by phpcodesniffer

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

      Severity: Minor
      Found in src/services/Webhooks.php by phpcodesniffer

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

      Severity: Minor
      Found in src/services/Webhooks.php by phpcodesniffer

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

      Severity: Minor
      Found in src/services/Webhooks.php by phpcodesniffer

      There are no issues that match your filters.

      Category
      Status