<commit_before><?php

declare(strict_types=1);

namespace Harentius\BlogBundle\Controller;

use Doctrine\ORM\EntityManagerInterface;
use Harentius\BlogBundle\Entity\Article;
use Harentius\BlogBundle\ViewsCounter;
use Symfony\Component\HttpFoundation\JsonResponse;

class ViewCountController
{
    /**
     * @var ViewsCounter
     */
    private $viewsCounter;
    /**
     * @var EntityManagerInterface
     */
    private $entityManager;

    /**
     * @param ViewsCounter $viewsCounter<commit_msg>cs fixes<commit_after><?php

declare(strict_types=1);

namespace Harentius\BlogBundle\Controller;

use Doctrine\ORM\EntityManagerInterface;
use Harentius\BlogBundle\Entity\Article;
use Harentius\BlogBundle\ViewsCounter;
use Symfony\Component\HttpFoundation\JsonResponse;

class ViewCountController
{
    /**
     * @var ViewsCounter
     */
    private $viewsCounter;

    /**
     * @var EntityManagerInterface
     */
    private $entityManager;

    /**
     * @param ViewsCounter $viewsCounter
{'fraction_non_alphanumeric': 0.10220440881763528, 'fraction_numerical': 0.002004008016032064, 'mean_word_length': 3.9211822660098523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '3014392', 'n_tokens_mistral': 306, 'n_tokens_neox': 289, 'n_words': 50}