Merge pull request #575 from fabio-ivona/1.x-fix-tests

1.x fix tests
This commit is contained in:
Fabio Ivona
2022-09-12 18:21:07 +02:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@ -86,6 +86,7 @@ final class TeamCity extends DefaultResultPrinter
foreach ($filteredResults as $key => $info) { foreach ($filteredResults as $key => $info) {
$this->writeWithColor($info['color'], $info['count'] . " $key", false); $this->writeWithColor($info['color'], $info['count'] . " $key", false);
/* @phpstan-ignore-next-line */
if ($key !== array_reverse(array_keys($filteredResults))[0]) { if ($key !== array_reverse(array_keys($filteredResults))[0]) {
$this->write(', '); $this->write(', ');
} }

View File

@ -44,7 +44,6 @@ final class ExceptionTrace
*/ */
public static function removePestReferences(Throwable $t): void public static function removePestReferences(Throwable $t): void
{ {
/* @phpstan-ignore-next-line */
if (!property_exists($t, 'serializableTrace')) { if (!property_exists($t, 'serializableTrace')) {
return; return;
} }