Skip to content

Commit d687184

Browse files
Thomas Lamysebastianbergmann
authored andcommitted
#4591 do not treat warnings as error in teamcity
1 parent cfb977a commit d687184

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Util/Log/TeamCity.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,7 @@ public function addError(Test $test, Throwable $t, float $time): void
8989
*/
9090
public function addWarning(Test $test, Warning $e, float $time): void
9191
{
92-
$this->printEvent(
93-
'testFailed',
94-
[
95-
'name' => $test->getName(),
96-
'message' => self::getMessage($e),
97-
'details' => self::getDetails($e),
98-
'duration' => self::toMilliseconds($time),
99-
]
100-
);
92+
$this->write(self::getMessage($e) . PHP_EOL);
10193
}
10294

10395
/**

0 commit comments

Comments
 (0)