<commit_before><?php

/*
 * This file is part of the sfDomFeedPlugin package.
 * (c) 2009 <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * sfRssDomFeed.
 *
 * @package    sfDomFeed
 * @author     <NAME> <<EMAIL>>
 */
class sfRssDomFeed extends sfDomFeed 
{
  protected $family='rss';
  protected $xpath_item='/rss/channel/item';
  protected $xpath_channel='/rss/channel[1]';

  public function __construct($feed_array=array(),$version='1.0',$encoding='UTF-8')
  { 
      parent::__construct($feed_array);
      $this->decorate_rules = Array(
          'feed' => Array(
              '/rss/attribute::version'  => "2.0",
              '/rss/channel/lastBuildDate'  =>
                  Array(create_function('$obj','$d=new DateTime();return $d;')),<commit_msg>changed the constructor prototype to match parent<commit_after><?php

/*
 * This file is part of the sfDomFeedPlugin package.
 * (c) 2009 <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * sfRssDomFeed.
 *
 * @package    sfDomFeed
 * @author     <NAME> <<EMAIL>>
 */
class sfRssDomFeed extends sfDomFeed 
{
  protected $family='rss';
  protected $xpath_item='/rss/channel/item';
  protected $xpath_channel='/rss/channel[1]';

  public function __construct($feed_array=array(),$extensions=array())
  { 
      parent::__construct($feed_array,$extensions);
      $this->decorate_rules = Array(
          'feed' => Array(
              '/rss/attribute::version'  => "2.0",
              '/rss/channel/lastBuildDate'  =>
                  Array(create_function('$obj','$d=new DateTime();return $d;')),
{'fraction_non_alphanumeric': 0.15284827975183304, 'fraction_numerical': 0.009588268471517203, 'mean_word_length': 3.2953995157384988, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2943248', 'n_tokens_mistral': 556, 'n_tokens_neox': 543, 'n_words': 129}