phpsysinfo/language/language.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 40 and the first side effect is on line 19. Open
Open
<?php
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License version 2, or (at your option) any later version
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 3 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 7 Open
Open
$plugin = strtolower($_GET['plugin']);
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 3 Open
Open
if ((trim($_GET['plugin'])!=="") && !preg_match('/[^A-Za-z]/', $_GET['plugin'])) {
- Exclude checks