<commit_before><?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
 * User
 *
 * @ORM\Table(name="`users`")
 * @UniqueEntity("email")
 * @UniqueEntity("login")
 * @ORM\Entity()
 */
class User implements UserInterface
{
    /**
    * @ORM\Id
    * @ORM\Column(type="integer")
    * @ORM\GeneratedValue
    * @Groups({"user", "auth-token"})
    */
    protected $id;
    
    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    public $firstname;

    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    protected $lastname;

    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    public $login;

    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    protected $email;
    
    /**
     * @ORM\Column(type="string")
     */
    protected $password;

    private $plainPassword;

    /**
     * @ORM\Column(type="string")
     */
    protected $password_live;

    public function getId()
    {
        return $this->id;
    }

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getFirstname()
    {
        return $this->firstname;
    }

    public function setFirstname($firstname)
    {
        $this->firstname = $firstname;
    }

    public function getLastname()
    {
        return $this->lastname;
    }

    public function setLastname($lastname)
    {
        $this->lastname = $lastname;<commit_msg>fix BDD<commit_after><?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Serializer\Annotation\Groups;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Security\Core\User\UserInterface;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
/**
 * User
 *
 * @ORM\Table(name="`users`")
 * @UniqueEntity("email")
 * @UniqueEntity("login")
 * @ORM\Entity()
 */
class User implements UserInterface
{
    /**
    * @ORM\Id
    * @ORM\Column(type="integer")
    * @ORM\GeneratedValue
    * @Groups({"user", "auth-token"})
    */
    protected $id;
    
    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    public $firstname;

    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    protected $lastname;

    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    public $login;

    /**
    * @ORM\Column(type="string")
    * @Groups({"user", "auth-token"})
    */
    protected $email;
    
    /**
     * @ORM\Column(type="string")
     */
    protected $password;

    private $plainPassword;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    protected $password_live;

    public function getId()
    {
        return $this->id;
    }

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getFirstname()
    {
        return $this->firstname;
    }

    public function setFirstname($firstname)
    {
        $this->firstname = $firstname;
    }

    public function getLastname()
    {
        return $this->lastname;
    }

    public function setLastname($lastname)
    {
        $this->lastname = $lastname;
{'fraction_non_alphanumeric': 0.16773832820799553, 'fraction_numerical': 0.0, 'mean_word_length': 2.5815815815815815, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '4125906', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1146, 'n_words': 187}