<commit_before><?php

namespace OAGM\FacebookBundle\Service;

use Symfony\Component\HttpFoundation\Session\SessionInterface;


/**
 * Test service for debugging purposes
 */
class TestFacebookService extends FacebookService
{
    public function __construct (SessionInterface $session)
    {
        parent::__construct(
            $session,
            $this->getAppId(),
            "123",
            "https://www.facebook.com/onanygivenmonday",
            array()
        );
    }


    public function getUserId ()
    {
        return 143524653;
    }<commit_msg>Adjusted TestFacebook service to the new FacebookService interface<commit_after><?php

namespace OAGM\FacebookBundle\Service;

use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Routing\RouterInterface;


/**
 * Test service for debugging purposes
 */
class TestFacebookService extends FacebookService
{
    public function __construct (SessionInterface $session, RouterInterface $router)
    {
        parent::__construct(
            $session,
            $router,
            $this->getAppId(),
            "123",
            "https://www.facebook.com/onanygivenmonday",
            array()
        );
    }


    public function getUserId ()
    {
        return 143524653;
    }
{'fraction_non_alphanumeric': 0.09472049689440994, 'fraction_numerical': 0.018633540372670808, 'mean_word_length': 2.521857923497268, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4204063', 'n_tokens_mistral': 361, 'n_tokens_neox': 333, 'n_words': 72}