app/View/Components/Global/ConfirmationModal.php
Method js
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function js()
{
return <<<'JS'
document.getElementById('confirmationModalConfirmButton').addEventListener('click', function (event) {
window.submitConfirmationForm(event);