features/search/views/search.php

Summary

Maintainability
A
0 mins
Test Coverage

Line indented incorrectly; expected at least 12 spaces, found 9
Open

         echo '<h3>No Results</h3>';

Expected 1 space after IF keyword; 0 found
Open

     if(count($results) == 0) {

Line indented incorrectly; expected at least 16 spaces, found 13
Open

             echo "<td><a href=/events/$result[id]>$result[title]</a></td>";

Line indented incorrectly; expected 8 spaces, found 6
Open

      <?php

Line indented incorrectly; expected 8 spaces, found 5
Open

     if(count($results) == 0) {

Line indented incorrectly; expected 8 spaces, found 6
Open

      ?>

Line indented incorrectly; expected at least 16 spaces, found 13
Open

             echo "</tr>";

Line indented incorrectly; expected 8 spaces, found 5
Open

     } else {

Line indented incorrectly; expected 12 spaces, found 9
Open

         foreach ($results as $result) {

Line indented incorrectly; expected at least 16 spaces, found 13
Open

             echo "<td>$result[created]</td>";

Line indented incorrectly; expected at least 12 spaces, found 9
Open

         echo '</table>';

Line indented incorrectly; expected 8 spaces, found 5
Open

     }

Line indented incorrectly; expected 12 spaces, found 9
Open

         }

Line indented incorrectly; expected at least 12 spaces, found 9
Open

         echo '<table class="table table-striped">

Line indented incorrectly; expected at least 16 spaces, found 13
Open

             echo "<tr>";

There are no issues that match your filters.

Category
Status