src/templates/admin-settings.html.php
Showing 19 of 19 total issues
Spaces must be used to indent lines; tabs are not allowed Open
Open
</div>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</h3>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<p><?php _e('Copie esse link e utilize-o para configurar os eventos nos Webhooks da Vindi.', VINDI);?></p>
- Exclude checks
Line exceeds 120 characters; contains 221 characters Open
Open
<?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!', VINDI));?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
</script>
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
<p><?php echo sprintf(__('Falha na conexão! <br><strong>%s</strong>', VINDI), $settings->api->last_error); ?></p>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<div class="test-return-infos">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php _e('Link de configuração dos Eventos da Vindi', VINDI);?>
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<h3 class="wc-settings-sub-title title-1">
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
Open
jQuery('.wc-settings-sub-title').parent().append('<div class="alert alert-info">Aguarde! Reconectando ao Vindi.</div>');
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
<?php endif;?>
- Exclude checks
Line exceeds 120 characters; contains 128 characters Open
Open
<?php if (isset($api_key) && strlen($api_key) === 43 && $settings->api->last_error !== "unauthorized|authorization"): ?>
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php if ($merchant): ?>
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php if (isset($api_key) && strlen($api_key) === 43 && $settings->api->last_error !== "unauthorized|authorization"): ?>
- Exclude checks
Closing brace indented incorrectly; expected 8 spaces, found 10 Open
Open
<?php endif;?>
- Exclude checks
Expected 1 space after ELSE keyword; 0 found Open
Open
<?php else: ?>
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 2 Open
Open
<?php $settings->generate_settings_html();?>
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
if (!$settings->check_ssl()): ?>
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 10 Open
Open
<?php endif;?>
- Exclude checks