Skip to content

Commit 8d1a090

Browse files
committed
IHF: isTravis helper used.
1 parent df5122e commit 8d1a090

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/format/BacktraceAsStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class BacktraceAsStringTest extends TestCase
55
/** @test */
66
public function it_returns_backtrace_as_string_without_args()
77
{
8-
$travis = getenv('TRAVIS') ? '.travis' : '';
8+
$travis = $this->isTravis() ? '.travis' : '';
99
$path = __DIR__ . "/BacktraceAsStringTest/backtrace{$travis}.txt";
1010

1111
$start = file_get_contents($path);

tests/format/MinimizedBacktraceAsStringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class MinimizedBacktraceAsStringTest extends TestCase
55
/** @test */
66
public function it_returns_minimized_backtrace_as_string()
77
{
8-
$travis = getenv('TRAVIS') ? '.travis' : '';
8+
$travis = $this->isTravis() ? '.travis' : '';
99
$path = __DIR__ . "/MinimizedBacktraceAsStringTest/backtrace{$travis}.txt";
1010

1111
$start = file_get_contents($path);

0 commit comments

Comments
 (0)