File: 0003-Don-t-override-now-final-TestCase-__construct.patch

package info (click to toggle)
php-parsedown 1.7.4-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 752 kB
  • sloc: php: 1,447; makefile: 18
file content (28 lines) | stat: -rw-r--r-- 809 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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?=

---
 test/ParsedownTest.php | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/test/ParsedownTest.php b/test/ParsedownTest.php
index 9cf7143..5306f16 100644
--- a/test/ParsedownTest.php
+++ b/test/ParsedownTest.php
@@ -7,14 +7,6 @@ use PHPUnit\Framework\TestCase;
 
 class ParsedownTest extends TestCase
 {
-    final function __construct($name = null, array $data = array(), $dataName = '')
-    {
-        $this->dirs = $this->initDirs();
-        $this->Parsedown = $this->initParsedown();
-
-        parent::__construct($name, $data, $dataName);
-    }
-
     private $dirs, $Parsedown;
 
     /**