login.php
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 21 and the first side effect is on line 2. Open
Open
<?php
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "True" Open
Open
$active_page = True;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "False" Open
Open
$public_page = False;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "False" Open
Open
$exec_page = False;
- Exclude checks
End of line character is invalid; expected "\n" but found "\r\n" Open
Open
<?php
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
echo "</div>";
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
echo "<div class=\"small-12 columns\">";
- Exclude checks
Space before opening parenthesis of function call prohibited Open
Open
require_once ('session.php');
- Exclude checks
Line indented incorrectly; expected at least 4 spaces, found 2 Open
Open
echo "<h3><a href='./logout.php'>Logout</a></h3>";
- Exclude checks
Opening brace should be on a new line Open
Open
function show_active() {
- Exclude checks