Skip to content

Commit 6da117a

Browse files
Merge branch '8.5' into 9.5
2 parents ef1b6b1 + 038d419 commit 6da117a

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

ChangeLog-8.5.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes of the PHPUnit 8.5 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
44

5+
## [8.5.15] - 2021-03-17
6+
7+
### Fixed
8+
9+
* [#4591](https://github.com/sebastianbergmann/phpunit/issues/4591): TeamCity logger logs warnings as test failures
10+
511
## [8.5.14] - 2021-01-17
612

713
### Fixed
@@ -124,6 +130,7 @@ All notable changes of the PHPUnit 8.5 release series are documented in this fil
124130
* [#3967](https://github.com/sebastianbergmann/phpunit/issues/3967): Cannot double interface that extends interface that extends `\Throwable`
125131
* [#3968](https://github.com/sebastianbergmann/phpunit/pull/3968): Test class run in a separate PHP process are passing when `exit` called inside
126132

133+
[8.5.15]: https://github.com/sebastianbergmann/phpunit/compare/8.5.14...8.5.15
127134
[8.5.14]: https://github.com/sebastianbergmann/phpunit/compare/8.5.13...8.5.14
128135
[8.5.13]: https://github.com/sebastianbergmann/phpunit/compare/8.5.12...8.5.13
129136
[8.5.12]: https://github.com/sebastianbergmann/phpunit/compare/8.5.11...8.5.12

src/Util/Log/TeamCity.php

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

10092
/**

0 commit comments

Comments
 (0)