vindi/vindi-woocommerce

View on GitHub
src/templates/admin-gateway-settings.html.php

Summary

Maintainability
A
0 mins
Test Coverage
Inline control structures are not allowed
Space after opening parenthesis of function call prohibited
<?php if (!defined( 'ABSPATH')) exit; ?>
 
Expected 1 space after closing parenthesis; found 0
<?php if (!$gateway->vindi_settings->check_ssl()): ?>
<div class="error">
<p>
<strong><?php _e('Vindi WooCommerce Desabilitado', VINDI); ?></strong>:
Line exceeds 120 characters; contains 220 characters
Line indented incorrectly; expected 8 spaces, found 6
<?php printf(__('É necessário um <strong> Certificado SSL </strong> para ativar este método de pagamento em modo de produção. Por favor, verifique se um certificado SSL está instalado em seu servidor !')); ?>
</p>
</div>
<?php endif; ?>
 
<h3><?php _e('Vindi', VINDI); ?></h3>
<p><?php _e('Utiliza a rede Vindi como meio de pagamento para cobranças.', VINDI); ?></p>
<table class="form-table">
Line indented incorrectly; expected 4 spaces, found 2
<?php $gateway->generate_settings_html(); ?>
</table>