vindi/vindi-woocommerce

View on GitHub

Showing 2,474 of 2,474 total issues

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

      'plan' => $activatedPlan,

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

    );

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

  {

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

        return $createdProduct;

Line indented incorrectly; expected 12 spaces, found 8
Open

        } else {

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

  {
Severity: Minor
Found in src/controllers/index.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

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

Opening brace should be on a new line
Open

    public function load_plugin_textdomain() {
Severity: Minor
Found in src/i18n/Languages.php by phpcodesniffer

Line indented incorrectly; expected 4 spaces, found 2
Open

  function __construct(VindiSettings $vindi_settings)

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

    );

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

      'api_key'              => array(

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

      'testing'              => array(

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

  {
Severity: Minor
Found in src/controllers/index.php by phpcodesniffer

Space after opening parenthesis of function call prohibited
Open

      load_plugin_textdomain( 'vindi-payment-gateway', false, plugin_dir_path( __FILE__ ) . '/languages/' );
Severity: Minor
Found in src/i18n/Languages.php by phpcodesniffer

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

    $this->logger = new VindiLogger(VINDI, $this->debug);

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

    $this->get_template('admin-settings.html.php', array('settings' => $this));

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

      $name,

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

      )

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

      'vindi_synchronism'        => array(

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

    return 'text';
Severity
Category
Status
Source
Language