From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 6 Mar 2023 08:16:37 +0100
Subject: Drop PHPUnit compatibility code

---
 tests/PhpseclibTestCase.php | 49 ---------------------------------------------
 1 file changed, 49 deletions(-)

diff --git a/tests/PhpseclibTestCase.php b/tests/PhpseclibTestCase.php
index f1739ba..3f00446 100644
--- a/tests/PhpseclibTestCase.php
+++ b/tests/PhpseclibTestCase.php
@@ -131,53 +131,4 @@ abstract class PhpseclibTestCase extends TestCase
         $method->setAccessible(true);
         return $method->invokeArgs($obj, $params);
     }
-
-    // assertIsArray was not introduced until PHPUnit 8
-    public static function assertIsArray($actual, $message = ''): void
-    {
-        parent::assertInternalType('array', $actual, $message);
-    }
-
-    // assertIsString was not introduced until PHPUnit 8
-    public static function assertIsString($actual, $message = ''): void
-    {
-        parent::assertInternalType('string', $actual, $message);
-    }
-
-    // assertIsResource was not introduced until PHPUnit 8
-    public static function assertIsResource($actual, $message = ''): void
-    {
-        parent::assertInternalType('resource', $actual, $message);
-    }
-
-    // assertIsObject was not introduced until PHPUnit 8
-    public static function assertIsObject($actual, $message = ''): void
-    {
-        parent::assertInternalType('object', $actual, $message);
-    }
-
-    // assertContains is deprecated for strings in PHPUnit 8
-    public static function assertStringContainsString($needle, $haystack, $message = ''): void
-    {
-        parent::assertContains($needle, $haystack, $message);
-    }
-
-    // assertNotContains is deprecated for strings in PHPUnit 8
-    public static function assertStringNotContainsString($needle, $haystack, $message = ''): void
-    {
-        parent::assertNotContains($needle, $haystack, $message);
-    }
-
-    /**
-     * assertRegExp() was deprecated in favor of assertMatchesRegularExpression().
-     *
-     * @param string $pattern
-     * @param string $string
-     * @param string $message
-     * @return void
-     */
-    public static function assertMatchesRegularExpression($pattern, $string, $message = ''): void
-    {
-        parent::assertRegExp($pattern, $string, $message);
-    }
 }
