<commit_before><?php

namespace DCS\Security\CoreBundle\Provider;

use DCS\User\CoreBundle\Model\User;
use DCS\User\CoreBundle\Model\UserInterface as DCSUserInterface;
use DCS\User\CoreBundle\Repository\UserRepositoryInterface;
use DCS\Security\CoreBundle\DCSSecurityCoreEvents;
use DCS\Security\CoreBundle\Event\UserLoadedEvent;
use DCS\Security\CoreBundle\Event\UsernameBeforeLoadEvent;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Core\User\UserInterface;

class UserProvider implements UserProviderInterface
{
    /**
     * @var UserRepositoryInterface
     */
    private $userRepository;

    /**
     * @var EventDispatcherInterface
     */
    private $eventDispatcher;<commit_msg>Optimize imports<commit_after><?php

namespace DCS\Security\CoreBundle\Provider;

use DCS\Security\CoreBundle\DCSSecurityCoreEvents;
use DCS\Security\CoreBundle\Event\UserLoadedEvent;
use DCS\Security\CoreBundle\Event\UsernameBeforeLoadEvent;
use DCS\User\CoreBundle\Model\User;
use DCS\User\CoreBundle\Model\UserInterface as DCSUserInterface;
use DCS\User\CoreBundle\Repository\UserRepositoryInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
use Symfony\Component\Security\Core\Exception\UsernameNotFoundException;
use Symfony\Component\Security\Core\User\UserInterface;

class UserProvider implements UserProviderInterface
{
    /**
     * @var UserRepositoryInterface
     */
    private $userRepository;

    /**
     * @var EventDispatcherInterface
     */
    private $eventDispatcher;
{'fraction_non_alphanumeric': 0.08911449520586577, 'fraction_numerical': 0.0, 'mean_word_length': 5.71969696969697, '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': '7563154', 'n_tokens_mistral': 496, 'n_tokens_neox': 487, 'n_words': 74}