From: James Valleroy <jvalleroy@mailbox.org>
Date: Mon, 18 Nov 2024 18:20:33 -0500
Subject: Update regex assertions

---
 tests/AppTest.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/AppTest.php b/tests/AppTest.php
index 1142b2c..8a79cdb 100644
--- a/tests/AppTest.php
+++ b/tests/AppTest.php
@@ -2235,7 +2235,7 @@ class AppTest extends PHPUnit\Framework\TestCase
         $resOut = $app->run(true);
 
         $this->assertEquals(500, $resOut->getStatusCode());
-        $this->assertNotRegExp('/.*middleware exception.*/', (string)$resOut);
+        $this->assertDoesNotMatchRegularExpression('/.*middleware exception.*/', (string)$resOut);
     }
 
     /**
@@ -2274,7 +2274,7 @@ class AppTest extends PHPUnit\Framework\TestCase
         $resOut = $app->run(true);
 
         $this->assertEquals(500, $resOut->getStatusCode());
-        $this->assertNotRegExp('/.*middleware exception.*/', (string)$resOut);
+        $this->assertDoesNotMatchRegularExpression('/.*middleware exception.*/', (string)$resOut);
     }
 
     /**
@@ -2472,7 +2472,7 @@ class AppTest extends PHPUnit\Framework\TestCase
         $resOut = $app->run(true);
 
         $this->assertEquals(500, $resOut->getStatusCode());
-        $this->assertRegExp('/.*middleware exception.*/', (string)$resOut);
+        $this->assertMatchesRegularExpression('/.*middleware exception.*/', (string)$resOut);
     }
 
     public function testFinalize()
