mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
Merge branch 'master' of https://github.com/top-think/framework
This commit is contained in:
@@ -20,12 +20,12 @@
|
|||||||
"topthink/think-installer": "*"
|
"topthink/think-installer": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "4.8.*",
|
||||||
"johnkary/phpunit-speedtrap": "^1.0",
|
"johnkary/phpunit-speedtrap": "^1.0",
|
||||||
"mikey179/vfsStream": "~1.6",
|
"mikey179/vfsStream": "~1.6",
|
||||||
"phploc/phploc": "*",
|
"phploc/phploc": "2.*",
|
||||||
"phpunit/phpunit": "4.8.*",
|
"sebastian/phpcpd": "2.*",
|
||||||
"sebastian/phpcpd": "*",
|
"squizlabs/php_codesniffer": "2.*",
|
||||||
"squizlabs/php_codesniffer": "2.*"
|
"phpdocumentor/reflection-docblock": "^2.0"
|
||||||
},
|
}
|
||||||
"minimum-stability": "dev"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,6 +86,9 @@ class Handle
|
|||||||
*/
|
*/
|
||||||
public function renderForConsole(Output $output, Exception $e)
|
public function renderForConsole(Output $output, Exception $e)
|
||||||
{
|
{
|
||||||
|
if (APP_DEBUG) {
|
||||||
|
$output->setVerbosity(Output::VERBOSITY_DEBUG);
|
||||||
|
}
|
||||||
(new Console)->renderException($e, $output);
|
(new Console)->renderException($e, $output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user