<commit_before><?php

declare(strict_types=1);

namespace Ruwork\RuworkBundle\Security;

use Symfony\Component\Security\Core\User\UserInterface;

trait SecurityUserTrait
{
    /**
     * @deprecated Deprecated since 0.11.1 and will be removed in 0.12.0.
     * @see        UserInterface::getRoles()
     */
    public function getRoles()
    {
        return ['ROLE_USER'];
    }

    /**
     * @see UserInterface::getPassword()
     */
    public function getPassword()
    {
        return '';
    }

    /**
     * @see UserInterface::getSalt()
     */
    public function getSalt()
    {
        return null;
    }

    /**
     * @see UserInterface::eraseCredentials()
     */
    public function eraseCredentials()
    {
    }
}
<commit_msg>[RuworkBundle] Remove deprecated SecurityUserTrait::getRoles()<commit_after><?php

declare(strict_types=1);

namespace Ruwork\RuworkBundle\Security;

use Symfony\Component\Security\Core\User\UserInterface;

trait SecurityUserTrait
{
    /**
     * @see UserInterface::getPassword()
     */
    public function getPassword()
    {
        return '';
    }

    /**
     * @see UserInterface::getSalt()
     */
    public function getSalt()
    {
        return null;
    }

    /**
     * @see UserInterface::eraseCredentials()
     */
    public function eraseCredentials()
    {
    }
}

{'fraction_non_alphanumeric': 0.1279940119760479, 'fraction_numerical': 0.0074850299401197605, 'mean_word_length': 2.3848101265822783, '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': '4414877', 'n_tokens_mistral': 421, 'n_tokens_neox': 409, 'n_words': 72}