Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 1, 2022
1 parent 2514400 commit 0b3f2f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Monolog.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
$test = new ErrorHandlerExample();

$test->testInitLogger(3);
$test->testCaptureMessageForLogger('测试', 'error');
$test->testCaptureMessageForLogger('测试', 'error');
1 change: 1 addition & 0 deletions src/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ private function _sentryCaptureMessage($message, $level)
private function _formatMessage($message, $file, $line, $trace = '')
{
$message = "{$file}#{$line}: {$message}";

return <<<MSG
$message
$trace
Expand Down

0 comments on commit 0b3f2f2

Please sign in to comment.