From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Fri, 23 Aug 2019 20:32:04 -1000
Subject: Drop useless compatibility code for older PHPUnit

---
 src/test/php/PDepend/AbstractTest.php | 36 -----------------------------------
 1 file changed, 36 deletions(-)

diff --git a/src/test/php/PDepend/AbstractTest.php b/src/test/php/PDepend/AbstractTest.php
index f813ef5..de814b7 100644
--- a/src/test/php/PDepend/AbstractTest.php
+++ b/src/test/php/PDepend/AbstractTest.php
@@ -470,42 +470,6 @@ abstract class AbstractTest extends TestCase
         self::assertEquals($graph, $actual);
     }
 
-    /**
-     * Helper method to allow PHPUnit versions < 3.5.x
-     *
-     * @param string $expected The expected class or interface.
-     * @param mixed  $actual   The actual variable/value.
-     * @param string $message  Optional error/fail message.
-     *
-     * @return void
-     * @since 0.10.2
-     */
-    public static function assertInstanceOf($expected, $actual, $message = '')
-    {
-        if (is_callable(get_parent_class(__CLASS__) . '::') . __FUNCTION__) {
-            return parent::assertInstanceOf($expected, $actual, $message);
-        }
-        return parent::assertType($expected, $actual, $message);
-    }
-
-    /**
-     * Helper method to allow PHPUnit versions < 3.5.x
-     *
-     * @param string $expected The expected internal type.
-     * @param mixed  $actual   The actual variable/value.
-     * @param string $message  Optional error/fail message.
-     *
-     * @return void
-     * @since 0.10.2
-     */
-    public static function assertInternalType($expected, $actual, $message = '')
-    {
-        if (is_callable(get_parent_class(__CLASS__) . '::') . __FUNCTION__) {
-            return parent::assertInternalType($expected, $actual, $message);
-        }
-        return parent::assertType($expected, $actual, $message);
-    }
-
     /**
      * Creates a mocked class instance without calling the constructor.
      *
