vindi.php
<?php /** * Plugin Name: Vindi WooCommerce 2 * Plugin URI: https://github.com/vindi/vindi-woocommerce * Description: Adiciona o gateway de pagamento da Vindi para o WooCommerce. * Author: Vindi * Author URI: https://www.vindi.com.br * Version: 1.3.7 * Requires at least: 4.4 * Tested up to: 6.4 * Text Domain: vindi-payment-gateway * * Domain Path: ./src/languages/ * * @package Vindi * */ if (!defined('ABSPATH')) {Line indented incorrectly; expected at least 4 spaces, found 2 exit; // Exit if accessed directly.} // Adding the development variablesExpected 1 space after IF keyword; 0 foundif(file_exists(plugin_dir_path(__FILE__) . '.env.php')) {Line indented incorrectly; expected at least 4 spaces, found 2 include plugin_dir_path(__FILE__) . '.env.php';} // Adding the variablesrequire plugin_dir_path(__FILE__) . '/src/utils/DefinitionVariables.php'; // Adding dependency validatorrequire_once plugin_dir_path(__FILE__) . '/src/validators/Dependencies.php'; require_once VINDI_PATH . 'src/VindiWoocommerce.php'; if (!defined('VINDI_TESTS')) { // In tests we run the instance manually. // $GLOBALS['vindi'] = WcVindiPayment::get_instance();}