<commit_before><?php

namespace FOS\RestBundle\Examples;

use FOS\RestBundle\View\View,
    FOS\RestBundle\View\ViewHandler,
    Symfony\Bridge\Monolog\Logger,
    Symfony\Component\HttpFoundation\Request,
    Symfony\Component\HttpFoundation\Response;
    ;
/**
 * This is an example RSS ViewHandler.
 * It also shows how to handle exceptions within the ViewHandler so that the 
 * client can get a decent response. 
 * 
 * Please note that you will need to install the Zend library to use this
 * handler.
 *
 * Configuration: 
 * services:
 *   my.rss_handler:
 *    class: FOS\RestBundle\Examples\RssHandler
 *    arguments:
 *      logger: @logger
 * @author <NAME> (tarjei - at scanmine.com)
 */
class RssHandler
{
    private $log;

    public function __construct(Logger $logger) 
    {
        $this->log = $logger;
    }<commit_msg>Add newline<commit_after><?php

namespace FOS\RestBundle\Examples;

use FOS\RestBundle\View\View,
    FOS\RestBundle\View\ViewHandler,
    Symfony\Bridge\Monolog\Logger,
    Symfony\Component\HttpFoundation\Request,
    Symfony\Component\HttpFoundation\Response;
    ;
/**
 * This is an example RSS ViewHandler.
 * It also shows how to handle exceptions within the ViewHandler so that the 
 * client can get a decent response. 
 * 
 * Please note that you will need to install the Zend library to use this
 * handler.
 *
 * Configuration: 
 * services:
 *   my.rss_handler:
 *    class: FOS\RestBundle\Examples\RssHandler
 *    arguments:
 *      logger: @logger
 *
 * @author <NAME> (tarjei - at scanmine.com)
 */
class RssHandler
{
    private $log;

    public function __construct(Logger $logger) 
    {
        $this->log = $logger;
    }
{'fraction_non_alphanumeric': 0.09910979228486647, 'fraction_numerical': 0.0, 'mean_word_length': 3.1323529411764706, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1771650', 'n_tokens_mistral': 529, 'n_tokens_neox': 507, 'n_words': 145}