iranianpep/code-jetter

View on GitHub
components/user/templates/memberGroupList.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 132 characters
Open

        <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>

Line exceeds 120 characters; contains 216 characters
Open

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

Line exceeds 120 characters; contains 124 characters
Open

    $updateModalHtml = "<div class='modal fade' id='editModal' tabindex='-1' role='dialog' aria-labelledby='editModalLabel'>

Line exceeds 120 characters; contains 224 characters
Open

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

Line exceeds 120 characters; contains 202 characters
Open

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

Line exceeds 120 characters; contains 155 characters
Open

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

Line exceeds 120 characters; contains 227 characters
Open

        <a href='#' data-toggle='modal' data-target='#safeBatchDeleteConfirmationModal' data-callback='getCheckboxesValues' data-callbackArgs=\"input[name='selectedGroups[]']\"><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 179 characters
Open

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

Line exceeds 120 characters; contains 136 characters
Open

      <form class='addForm' data-url='/admin/add-group-member' data-submitter='global' data-close-on-success='true' data-refresh='true'>

Line exceeds 120 characters; contains 132 characters
Open

        <button type='button' class='close' data-dismiss='modal' aria-label='Close'><span aria-hidden='true'>&times;</span></button>

Line exceeds 120 characters; contains 176 characters
Open

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

Line exceeds 120 characters; contains 223 characters
Open

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

Line exceeds 120 characters; contains 237 characters
Open

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

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 160 characters
Open

      <form class='updateForm' data-url='/admin/update-group-member' data-submitter='global' data-refresh='true' data-populate='true' data-appendwhitelist='id'>

Line exceeds 120 characters; contains 122 characters
Open

                    <button type='button' class='btn btn-primary' data-toggle='modal' data-target='#addModal'>New</button>

Line exceeds 120 characters; contains 179 characters
Open

  <a type='button' class='btn btn-primary' href='#' data-toggle='modal' data-target='#editModal'data-id='{$groupId}' data-name='{$groupName}' data-status='{$groupStatus}'>Edit</a>

Line indented incorrectly; expected 4 spaces, found 8
Open

        foreach ($groups as $group) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    if (!empty($groups)) {

Line indented incorrectly; expected 0 spaces, found 4
Open

    }

Line indented incorrectly; expected 0 spaces, found 4
Open

    if ($numberHeadCell instanceof HeadCell) {

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

        }

There are no issues that match your filters.

Category
Status