summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorUrban Müller2021-03-05 15:33:13 +0100
committerUrban Müller2021-03-05 15:34:09 +0100
commit9eb57908a66a9090f33fc87a6376880d50708ee8 (patch)
treebdafd55c83a3c8d64f9c378d19f8e2c156e35f61 /it_debug.class
parent0712917cc50e0b09ba82b2accfaca2525f6f42fe (diff)
downloaditools-9eb57908a66a9090f33fc87a6376880d50708ee8.tar.gz
itools-9eb57908a66a9090f33fc87a6376880d50708ee8.tar.bz2
itools-9eb57908a66a9090f33fc87a6376880d50708ee8.zip
var_export no longer has a trailing blank after =>
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index b6ebeba..4105f1d 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -135,7 +135,7 @@ static function dump($args)
$item = preg_replace('#class (\S+) \{\s+([^({,;]+;)?\s+\}#', 'class $1 { $2 }', $item); # 1-element objects on 1 line
#$item = preg_replace('#\{\s*var \$attr#', '{ var $attr', $item); # move $attr on same line
$item = preg_replace("#\\(\s*\n\s*\\)#", "()", $item); # empty arrays on 1 line
- $item = preg_replace("# => \n\s+\(object\) array\(\n#", " => (object) array(\n", $item);
+ $item = preg_replace("# =>\s*\n\s+\(object\) array\(\n#", " => (object) array(\n", $item);
#$item = preg_replace('#\s+var \$_(.|\n)*?;\s*\n#', "", $item);
$item = "$red$item$nored";