From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Thu, 20 Feb 2025 08:57:08 +0100
Subject: =?utf-8?q?Don=E2=80=99t_override_now_final_TestCase=3A=3A=5F=5Fcon?=
 =?utf-8?q?struct=28=29?=

---
 tests/CommonMarkTestStrict.php | 15 ---------------
 tests/ParsedownTest.php        | 12 ------------
 2 files changed, 27 deletions(-)

diff --git a/tests/CommonMarkTestStrict.php b/tests/CommonMarkTestStrict.php
index fb0fa05..5e4bc8c 100644
--- a/tests/CommonMarkTestStrict.php
+++ b/tests/CommonMarkTestStrict.php
@@ -24,21 +24,6 @@ class CommonMarkTestStrict extends TestCase
     /** @var Parsedown */
     protected $Parsedown;
 
-    /**
-     * @param string|null $name
-     * @param array $data
-     * @param string $dataName
-     */
-    public function __construct($name = null, array $data = [], $dataName = '')
-    {
-        $this->Parsedown = new Parsedown(new State([
-            StrictMode::enabled(),
-            InlineTypes::initial()->removing([Url::class]),
-        ]));
-
-        parent::__construct($name, $data, $dataName);
-    }
-
     /**
      * @dataProvider data
      * @param int $_
diff --git a/tests/ParsedownTest.php b/tests/ParsedownTest.php
index e7cb075..f6a6d64 100755
--- a/tests/ParsedownTest.php
+++ b/tests/ParsedownTest.php
@@ -18,18 +18,6 @@ use PHPUnit\Framework\TestCase;
 
 class ParsedownTest extends TestCase
 {
-    /**
-     * @param string|null $name
-     * @param array $data
-     * @param string $dataName
-     */
-    final public function __construct($name = null, array $data = [], $dataName = '')
-    {
-        $this->dirs = $this->initDirs();
-
-        parent::__construct($name, $data, $dataName);
-    }
-
     /** @var string[]  */
     private $dirs;
 
