pago_en_linea.php
Showing 11 of 11 total issues
File pago_en_linea.php
has 268 lines of code (exceeds 250 allowed). Consider refactoring. Confirmed
Confirmed
<?php//region Includesinclude_once 'gestoria/constants.php';include_once 'gestoria/Procedure.php';include_once 'gestoria/Db.php';
- Create a ticketCreate a ticket
Call to undeclared function \get_user_meta()
Open
Open
$user_metadata = get_user_meta($user->ID, "", false);
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \get_userdata()
Open
Open
$user = get_userdata(2);
- Create a ticketCreate a ticket
- Exclude checks
Call to method get_procedure_types
from undeclared class \Procedure
Open
Open
$procedure_types = $procedure_instance->get_procedure_types();
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \wp_get_current_user()
(Did you mean \get_current_user()) Open
Open
$user = wp_get_current_user();
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \Procedure
Open
Open
$procedure_instance = new Procedure($_SESSION["email"]);
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \get_header()
(Did you mean \get_headers()) Open
Open
get_header();
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared function \get_footer()
Open
Open
get_footer();
- Create a ticketCreate a ticket
- Exclude checks
Define a constant instead of duplicating this literal "email" 3 times. Open
Open
$_SESSION["email"] = $user->user_email;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Line exceeds 120 characters; contains 148 characters Open
Open
href="https://www.bbva.com/es/que-es-el-ccv-o-cvc-en-las-tarjetas-de-credito/"><?= $text["cvc_code"]; ?></a>
- Create a ticketCreate a ticket
- Exclude checks
Expected 1 space after closing parenthesis; found 0 Open
Open
<?php foreach ($procedure_types as $procedure): ?>
- Create a ticketCreate a ticket
- Exclude checks