Skip to content

Commit 5efc940

Browse files
committed
Fix report content being escaped
1 parent 3e912dc commit 5efc940

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

config/exception-notify.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
use Guanguans\LaravelExceptionNotify\Pipelines\ToHtmlPipeline;
1414
use Guanguans\LaravelExceptionNotify\Pipelines\ToMarkdownPipeline;
1515
use Guanguans\LaravelExceptionNotify\Pipelines\TrimPipeline;
16-
use Guanguans\LaravelExceptionNotify\Pipelines\VarExportPipeline;
1716

1817
return [
1918
/*
@@ -133,7 +132,6 @@
133132
|
134133
*/
135134
'pipeline' => [
136-
VarExportPipeline::class,
137135
TrimPipeline::class,
138136
],
139137

src/Collectors/Collector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ protected function applyPipeCollect()
4747

4848
public function __toString()
4949
{
50-
return (string) var_export($this->applyPipeCollect(), true);
50+
return (string) varexport($this->applyPipeCollect(), true);
5151
}
5252
}

0 commit comments

Comments
 (0)