iranianpep/code-jetter

View on GitHub
components/contact/templates/contactMessageList.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 157 characters
Open

<a type='button' class='btn btn-primary' onclick=\"checkAll(this, 'input[name=\'selectedMessages[]\']');\"><i class='fa fa-check' aria-hidden='true'></i></a>

Line exceeds 120 characters; contains 226 characters
Open

    $batchDeleteConfirmationModalHtml = $htmlUtility->generateConfirmationModal('batchDeleteConfirmationModal', 'batchDeleteConfirmationModalLabel', 'Delete', $formHandler, 'deleteForm', '/admin/contact/batch-delete-message');

Line exceeds 120 characters; contains 226 characters
Open

        <a href='#' data-toggle='modal' data-target='#batchDeleteConfirmationModal' data-callback='getCheckboxesValues' data-callbackArgs=\"input[name='selectedMessages[]']\"><span class='text-danger'>Delete Forever</span></a>

Line exceeds 120 characters; contains 169 characters
Open

        <a href='#' data-toggle='modal' data-target='#safeDeleteConfirmationModal' data-id='{$id}' data-name='{$name}'><span class='text-danger'>Delete Safely</span></a>

Line exceeds 120 characters; contains 219 characters
Open

    $safeDeleteModalHtml = $htmlUtility->generateConfirmationModal('safeDeleteConfirmationModal', 'safeDeleteConfirmationModalLabel', 'Safe Delete', $formHandler, 'safeDeleteForm', '/admin/contact/safe-delete-message');

Line exceeds 120 characters; contains 240 characters
Open

    $safeBatchDeleteModalHtml = $htmlUtility->generateConfirmationModal('safeBatchDeleteConfirmationModal', 'safeBatchDeleteConfirmationModalLabel', 'Safe Delete', $formHandler, 'safeDeleteForm', '/admin/contact/safe-batch-delete-message');

Line exceeds 120 characters; contains 229 characters
Open

        <a href='#' data-toggle='modal' data-target='#safeBatchDeleteConfirmationModal' data-callback='getCheckboxesValues' data-callbackArgs=\"input[name='selectedMessages[]']\"><span class='text-danger'>Delete Safely</span></a>

Line exceeds 120 characters; contains 130 characters
Open

  <button type='button' class='btn btn-default dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>

Line exceeds 120 characters; contains 130 characters
Open

  <button type='button' class='btn btn-default dropdown-toggle' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>

Line exceeds 120 characters; contains 166 characters
Open

        <a href='#' data-toggle='modal' data-target='#deleteConfirmationModal' data-id='{$id}' data-name='{$name}'><span class='text-danger'>Delete Forever</span></a>

Line exceeds 120 characters; contains 205 characters
Open

    $deleteConfirmationModalHtml = $htmlUtility->generateConfirmationModal('deleteConfirmationModal', 'deleteConfirmationModalLabel', 'Delete', $formHandler, 'deleteForm', '/admin/contact/delete-message');

Line indented incorrectly; expected 0 spaces, found 4
Open

    if ($numberHeadCell instanceof HeadCell) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    if (!empty($messages)) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    } else {

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 4 spaces, found 8
Open

        foreach ($messages as $message) {

Line indented incorrectly; expected 4 spaces, found 8
Open

        }

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

There are no issues that match your filters.

Category
Status