File tree 2 files changed +4
-0
lines changed
tests/PHPStan/Command/ErrorFormatter
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 4
4
bootstrap=" tests/bootstrap.php"
5
5
cacheResult=" false"
6
6
colors=" true"
7
+ executionOrder=" random"
7
8
failOnRisky=" true"
8
9
failOnWarning=" true"
10
+ failOnEmptyTestSuite=" true"
9
11
beStrictAboutChangesToGlobalState=" true"
10
12
beStrictAboutCoversAnnotation=" true"
11
13
beStrictAboutOutputDuringTests=" true"
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ protected function setUp(): void
24
24
protected function tearDown (): void
25
25
{
26
26
putenv ('COLUMNS ' );
27
+ putenv ('TERM_PROGRAM ' );
27
28
}
28
29
29
30
public function dataFormatterOutputProvider (): iterable
@@ -195,6 +196,7 @@ public function testFormatErrors(
195
196
}
196
197
$ formatter = $ this ->createErrorFormatter (null );
197
198
199
+ // NOTE: extra env vars need to be cleared in tearDown()
198
200
foreach ($ extraEnvVars as $ envVar ) {
199
201
putenv ($ envVar );
200
202
}
You can’t perform that action at this time.
0 commit comments