features/jira/views/jira.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        echo "<td><span id=\"jira-$ticket_attributes[id]\" class='close editable_hidden' style='display:none;'>&times;</span></td>";
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    }
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

        echo "<td>$ticket_attributes[assignee]</td>";
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

        $style = "jira_" . str_replace(" ", "_", strtolower($ticket_attributes['status']));
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

        echo "<td><a href=$ticket_attributes[ticket_url] class=\"$style\">$ticket_key</a></td>";
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

        echo "<td>$ticket_attributes[summary]</td>";
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 6
Open

      ?>
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    } else {
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

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

Line indented incorrectly; expected 8 spaces, found 6
Open

      foreach ($jira_tickets as $ticket_key => $ticket_attributes) {
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 6
Open

      <?php
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

            echo "<td>$ticket_attributes[$k]</td>";
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

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

        echo "<tr class=\"jira-row\">";
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 8
Open

        }
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 8 spaces, found 6
Open

      }
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    if ($ticket_ids['status'] == Jira::OK) {
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

Line indented incorrectly; expected 12 spaces, found 8
Open

        foreach ($jira_client->getAdditionalIssueFields() as $k => $v) {
Severity: Minor
Found in features/jira/views/jira.php by phpcodesniffer

There are no issues that match your filters.

Category
Status