mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 12:49:04 +08:00
Tabs to spaces to be consistent
``` vendor/bin/indent --spaces -r framework/ vendor/bin/indent --tabs -r . --pattern=*.json vendor/bin/indent --spaces -r . --pattern=*.md vendor/bin/indent --spaces -r . --pattern=yii.*.js vendor/bin/indent --spaces -r . --pattern=*.css ```
This commit is contained in:
@@ -88,7 +88,7 @@ html,body{
|
||||
line-height: 1.25;
|
||||
}
|
||||
.header pre{
|
||||
margin: 10px 0;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
/* previous exceptions */
|
||||
@@ -134,8 +134,8 @@ html,body{
|
||||
color: #aaa;
|
||||
}
|
||||
.header .previous pre{
|
||||
font-size: 14px;
|
||||
margin: 10px 0;
|
||||
font-size: 14px;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
/* call stack */
|
||||
@@ -355,9 +355,9 @@ html,body{
|
||||
<?php endif; ?>
|
||||
<h2><?= nl2br($handler->htmlEncode($exception->getMessage())) ?></h2>
|
||||
|
||||
<?php if ($exception instanceof \yii\db\Exception && !empty($exception->errorInfo)) {
|
||||
echo '<pre>Error Info: ' . print_r($exception->errorInfo, true) . '</pre>';
|
||||
} ?>
|
||||
<?php if ($exception instanceof \yii\db\Exception && !empty($exception->errorInfo)) {
|
||||
echo '<pre>Error Info: ' . print_r($exception->errorInfo, true) . '</pre>';
|
||||
} ?>
|
||||
|
||||
<?= $handler->renderPreviousExceptions($exception) ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user