Skip to content

Commit

Permalink
Replaced heredoc by nowdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrukowski committed Oct 10, 2018
1 parent b3cdcb4 commit 82182b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/StackTraceFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function providerStackTrace()
}

$eval
= <<<EVAL
= <<<'EVAL'
if (!function_exists('awesomite_test_function')) {
function awesomite_test_function () {
throw new \LogicException('Test exception 2');
Expand Down
4 changes: 2 additions & 2 deletions tests/StackTraceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function providerToString()
array('file' => __FILE__, 'line' => 15, 'function' => 'run', 'type' => '->', 'class' => 'Awesomite\MyApp'),
array('file' => __FILE__, 'line' => 23, 'function' => 'handleHttp', 'type' => '->', 'class' => 'Awesomite\MyApp\Http\Handler'),
),
<<<OUTPUT
<<<'OUTPUT'
#0 Awesomite\MyApp->run() at %file%:15
#1 Awesomite\MyApp\Http\Handler->handleHttp() at %file%:23
OUTPUT
Expand All @@ -128,7 +128,7 @@ public function providerToString()
array('file' => __FILE__ . '.test', 'line' => 15, 'function' => 'run', 'type' => '->', 'class' => 'Awesomite\MyApp'),
array('file' => __FILE__ . '.test', 'line' => 23, 'function' => 'handleHttp', 'type' => '->', 'class' => 'Awesomite\MyApp\Http\Handler'),
),
<<<OUTPUT
<<<'OUTPUT'
#0 Awesomite\MyApp->run()
#1 Awesomite\MyApp\Http\Handler->handleHttp()
OUTPUT
Expand Down

0 comments on commit 82182b0

Please sign in to comment.