core/Group/Events/ExceptionEvent.php
Showing 13 of 13 total issues
Opening class brace must be on a line by itself Open
Open
{
- Exclude checks
Line exceeds 120 characters; contains 157 characters Open
Open
.container {margin-top: 100px; vertical-align: middle;width: 1170px;margin-right: auto;margin-left: auto;}.content {text-align: left;display: inline-block;
- Exclude checks
Line exceeds 120 characters; contains 146 characters Open
Open
<h2>啊哦!出错了:</h2> </div> <br><div class=\"content\"><h3>错误文件名:</h3><p>{$error['file']}</p></div><br><div class=\"content\">
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
if (!is_array($error)) return $error;
- Exclude checks
Inline control structures are not allowed Open
Open
if (!is_array($error)) return $error;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return $str;
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$error['trace'] = str_replace("#", "<br/>", $error['trace']);
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
$str = "<!DOCTYPE html><html><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><body><style>html, body {height: 100%;}body {margin: 0;padding: 0;width: 100%; display: table;font-weight: 100;font-family: 'Lato';}
- Exclude checks
Line exceeds 120 characters; contains 240 characters Open
Open
$str = "<!DOCTYPE html><html><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><body><style>html, body {height: 100%;}body {margin: 0;padding: 0;width: 100%; display: table;font-weight: 100;font-family: 'Lato';}
- Exclude checks
Line exceeds 120 characters; contains 220 characters Open
Open
<h3>line:{$error['line']}</h3></div><br><div class=\"content\"><h3>错误信息:</h3> <p>{$error['message']}</p></div> <br><div class=\"content\"><h3>Trace:</h3><p>{$error['trace']}</p></div><br><div class=\"content\">
- Exclude checks
Line exceeds 120 characters; contains 144 characters Open
Open
}.title {font-size: 16px;}h3{color:#a94442;}p {color:#3c763d;}</style><div class=\"container\"><div class=\"content\" style=\"color:#8a6d3b\">
- Exclude checks
Line exceeds 120 characters; contains 129 characters Open
Open
<p style=\"color:#31708f\">power by group framework @author:fucongcong;email:cc@xitongxue.com. </p></div></div></body></html>";
- Exclude checks
Whitespace found at end of line Open
Open
{
- Exclude checks