From e0c392b7da0df63a0f1def49bbb36289718b4aeb Mon Sep 17 00:00:00 2001
From: Peter Fox <peter@amiqus.co>
Date: Thu, 10 Oct 2024 12:35:44 +0100
Subject: [PATCH] Allow PHPUnit Deprecations to be hidden

---
 src/WrapperRunner/ResultPrinter.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/WrapperRunner/ResultPrinter.php b/src/WrapperRunner/ResultPrinter.php
index 31ce159f..fceaba66 100644
--- a/src/WrapperRunner/ResultPrinter.php
+++ b/src/WrapperRunner/ResultPrinter.php
@@ -199,7 +199,7 @@ public function printResults(TestResult $testResult, array $teamcityFiles, array
             $this->printer,
             true,
             true,
-            true,
+            $this->options->configuration->displayDetailsOnPhpunitDeprecations(),
             true,
             true,
             true,
@@ -219,7 +219,7 @@ public function printResults(TestResult $testResult, array $teamcityFiles, array
                 $this->printer,
                 true,
                 true,
-                true,
+                $this->options->configuration->displayDetailsOnPhpunitDeprecations(),
                 false,
                 false,
                 false,