File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
tests/PHPStan/Command/ErrorFormatter Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 44 bootstrap=" tests/bootstrap.php"
55 cacheResult=" false"
66 colors=" true"
7+ executionOrder=" random"
78 failOnRisky=" true"
89 failOnWarning=" true"
10+ failOnEmptyTestSuite=" true"
911 beStrictAboutChangesToGlobalState=" true"
1012 beStrictAboutCoversAnnotation=" true"
1113 beStrictAboutOutputDuringTests=" true"
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ protected function setUp(): void
2424 protected function tearDown (): void
2525 {
2626 putenv ('COLUMNS ' );
27+ putenv ('TERM_PROGRAM ' );
2728 }
2829
2930 public function dataFormatterOutputProvider (): iterable
@@ -195,6 +196,7 @@ public function testFormatErrors(
195196 }
196197 $ formatter = $ this ->createErrorFormatter (null );
197198
199+ // NOTE: extra env vars need to be cleared in tearDown()
198200 foreach ($ extraEnvVars as $ envVar ) {
199201 putenv ($ envVar );
200202 }
You can’t perform that action at this time.
0 commit comments