Skip to content

Commit

Permalink
Remove secrets masking from Debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpustulka committed Sep 8, 2014
1 parent e307ed3 commit 84ecb65
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Error/Debugger.php
Expand Up @@ -523,18 +523,6 @@ protected static function _export($var, $depth, $indent) {
* @return string Exported array.
*/
protected static function _array(array $var, $depth, $indent) {
$secrets = array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'schema' => '*****'
);
$replace = array_intersect_key($secrets, $var);
$var = $replace + $var;

$out = "[";
$break = $end = null;
if (!empty($var)) {
Expand Down

0 comments on commit 84ecb65

Please sign in to comment.