features/history/views/diff.php

Summary

Maintainability
A
0 mins
Test Coverage

Line indented incorrectly; expected 8 spaces, found 5
Open

     if($history["why_surprised"] === null){

Line indented incorrectly; expected 8 spaces, found 5
Open

     }

Expected 1 space after IF keyword; 0 found
Open

     if($history["summary"] === null){

Line indented incorrectly; expected 8 spaces, found 5
Open

     <?php

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

         echo '<pre>' . $history["why_surprised"] . '</pre>';

Line indented incorrectly; expected 8 spaces, found 5
Open

     } else {

Line indented incorrectly; expected 8 spaces, found 5
Open

     ?>

Line indented incorrectly; expected 8 spaces, found 5
Open

     }

Expected 1 space after closing parenthesis; found 0
Open

     if($history["why_surprised"] === null){

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

         echo "<hr><h4>No Data Found</h4><br/>";

Line indented incorrectly; expected 8 spaces, found 5
Open

     ?>

Expected 1 space after IF keyword; 0 found
Open

     if($history["why_surprised"] === null){

Line indented incorrectly; expected 8 spaces, found 5
Open

     if($history["summary"] === null){

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

         echo '<pre>' . $history["summary"] . '</pre>';

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

         echo "<hr><h4>No Data Found</h4>";

Expected 1 space after closing parenthesis; found 0
Open

     if($history["summary"] === null){

Whitespace found at end of line
Open

     <?php 

Line indented incorrectly; expected 8 spaces, found 5
Open

     } else {

Line indented incorrectly; expected 8 spaces, found 5
Open

     <?php 

There are no issues that match your filters.

Category
Status