phpsysinfo/index.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 20 and the first side effect is on line 23. Open
Open
<?php
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- Exclude checks
Terminating statement must be indented to the same level as the CASE body Open
Open
break;
- 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 at least 8 spaces, found 4 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
echo $tpl->fetch();
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
case "xml":
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
case "json":
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage = new Webpage("bootstrap");
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$defaultdisplay = strtolower(PSI_DEFAULT_DISPLAY_MODE);
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 4 Open
Open
default:
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
case "static":
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
case "bootstrap":
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$tpl = new Template("/templates/html/index_all.html");
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$json = $webpage->getJsonString();
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
switch ($defaultdisplay) {
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$webpage = new WebpageXSLT();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$tpl = new Template("/templates/html/index_all.html");
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage = new WebpageXML("complete");
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
case "auto":
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
default:
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 4 Open
Open
case "bootstrap":
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$webpage = new Webpage("bootstrap");
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 0 Open
Open
case "dynamic":
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage = new WebpageXML("complete");
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 4 Open
Open
case "dynamic":
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
header("Content-Type: application/json\n\n");
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
header("Cache-Control: no-cache, must-revalidate\n");
- Exclude checks
Line indented incorrectly; expected 8 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage = new WebpageXSLT();
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 4 Open
Open
case "static":
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$webpage->run();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
echo $json;
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
$webpage = new Webpage();
- Exclude checks
Line indented incorrectly; expected at least 16 spaces, found 8 Open
Open
echo $tpl->fetch();
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
$webpage = new Webpage();
- Exclude checks