APO-Epsilon/apo-website

View on GitHub
r8conf2016/index.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 143 characters
Open

        <a class="twitter-timeline" href="https://twitter.com/APORegionals16" data-widget-id="565319444856328196">Tweets by @APORegionals16</a>
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Line exceeds 120 characters; contains 301 characters
Open

        <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Line exceeds 120 characters; contains 185 characters
Open

    $sql = "SELECT RTRIM(CONCAT(chapter1, ' ', chapter2, ' ', chapter3)) AS chapter, COUNT(id) AS num_chapter FROM conf_contact_information GROUP BY chapter ORDER BY num_chapter DESC;";
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Line exceeds 120 characters; contains 125 characters
Open

        $chapters_data .= "{'Chapter Name': '" . $row['chapter'] . "', 'Number Registered': " . $row['num_chapter'] . "},\n";
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Space before opening parenthesis of function call prohibited
Open

require_once ('session.php');
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    while($row = mysqli_fetch_assoc($result)) {
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Line indented incorrectly; expected 0 spaces, found 4
Open

    }
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

Expected 1 space after WHILE keyword; 0 found
Open

    while($row = mysqli_fetch_assoc($result)) {
Severity: Minor
Found in r8conf2016/index.php by phpcodesniffer

There are no issues that match your filters.

Category
Status