<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Bug found in Text_Diff Mapped class, incorrect call to parent constructor</title> 
  <pubDate>Fri, 10 Apr 2026 18:58:36 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/13253</link> 
  <atom:link rel="self" type="application/rss+xml" title="Bug found in Text_Diff Mapped class, incorrect call to parent constructor" href="https://bugs.horde.org/ticket/13253/rss" /> 
  <description>Bug found in Text_Diff Mapped class, incorrect call to parent constructor</description> 
 
   
   
  <item> 
   <title>In the Horde\Text\Diff\Mapped.php constructor, the call to i</title> 
   <description>In the Horde\Text\Diff\Mapped.php constructor, the call to its parent constructor is wrong:

parent::__construct($mapped_from_lines, $mapped_to_lines);

This produces a Fatal error: Class &#039;Horde_Text_Diff_Engine_&#039; not found since the parent constructor expects a string and an array.

The line should be changed to:

parent::__construct(&#039;auto&#039;, array($mapped_from_lines, $mapped_to_lines));

I checked the history of the file and this seems to have been a bug for a while.</description> 
   <pubDate>Sun, 08 Jun 2014 02:56:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13253#t84051</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit f9a96dc30f27</title> 
   <description>Changes have been made in Git (master):

commit f9a96dc30f279137aa3eeecb9dccf869fbe8e43c
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jun 10 13:47:13 2014 +0200

    [jan] Fix signature of Horde_Text_Diff_Mapped constructor (BC break!) (Bug #13253).

 framework/Text_Diff/lib/Horde/Text/Diff/Mapped.php |   23 +++++++++----------
 framework/Text_Diff/package.xml                    |   17 +++++++-------
 2 files changed, 19 insertions(+), 21 deletions(-)

http://github.com/horde/horde/commit/f9a96dc30f279137aa3eeecb9dccf869fbe8e43c</description> 
   <pubDate>Tue, 10 Jun 2014 11:47:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/13253#t84089</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
