views/content/frontpage.php

Summary

Maintainability
A
0 mins
Test Coverage

Space after opening parenthesis of function call prohibited
Open

      $tz = new DateTimeZone( getUserTimezone() );
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        echo "<td>$event[severity]</td>";
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 6
Open

      ?>
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 6
Open

      }
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Expected 0 spaces before closing bracket; 1 found
Open

      $tz = new DateTimeZone( getUserTimezone() );
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        echo "<td>$end</td>";
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        $end->setTimezone($tz);
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        $start = new DateTime("@".$event["starttime"]);
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        $start->setTimezone($tz);
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        $end = $end->format('m/d/Y G:ia');
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        $start = $start->format('m/d/Y G:ia');
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        $end = new DateTime("@".$event["endtime"]);
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        echo "<tr>";
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        echo "<td><a href=/events/$event[id]>$event[title]</a></td>";
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        echo "<td>$start</td>";
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

Line indented incorrectly; expected at least 10 spaces, found 8
Open

        echo "</tr>";
Severity: Minor
Found in views/content/frontpage.php by phpcodesniffer

There are no issues that match your filters.

Category
Status