From 077b5ffce0450ff8e2cd4d2e1cd70bd1f1eb98d8 Mon Sep 17 00:00:00 2001 From: Fabio Ivona Date: Mon, 12 Sep 2022 18:01:51 +0200 Subject: [PATCH] fix tests --- src/Logging/TeamCity.php | 1 + src/Support/ExceptionTrace.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logging/TeamCity.php b/src/Logging/TeamCity.php index d0cb85f5..5fbcbbcb 100644 --- a/src/Logging/TeamCity.php +++ b/src/Logging/TeamCity.php @@ -86,6 +86,7 @@ final class TeamCity extends DefaultResultPrinter foreach ($filteredResults as $key => $info) { $this->writeWithColor($info['color'], $info['count'] . " $key", false); + /* @phpstan-ignore-next-line */ if ($key !== array_reverse(array_keys($filteredResults))[0]) { $this->write(', '); } diff --git a/src/Support/ExceptionTrace.php b/src/Support/ExceptionTrace.php index ac6ec980..ec17afc8 100644 --- a/src/Support/ExceptionTrace.php +++ b/src/Support/ExceptionTrace.php @@ -44,7 +44,6 @@ final class ExceptionTrace */ public static function removePestReferences(Throwable $t): void { - /* @phpstan-ignore-next-line */ if (!property_exists($t, 'serializableTrace')) { return; }