<commit_before><?php
/**
 * Created by PhpStorm.
 * User: mathieu
 * Date: 27/02/16
 * Time: 15:35
 */

namespace CentraleLille\CustomFosUserBundle\Entity;

use FOS\UserBundle\Model\Group as BaseGroup;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass="CentraleLille\CustomFosUserBundle\Repository\ProjectRepository")
 * @ORM\Table(name="project")
 */
class Project
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @var string
     * @ORM\Column(name="name", type="string", length=40, nullable=false)
     */
    protected $name;

    /**
     * @var string
     * @ORM\Column(name="dateBegin", type="string")
     */
    protected $dateBegin;

    /**
     * @var string
     * @ORM\Column(name="dateEnd", type="string")
     */
    protected $dateEnd;

    /**
     * @var string
     * @ORM\Column(name="dateUpdate", type="string")
     */
    protected $dateUpdate;

    /**
     * @var string
     * @ORM\Column(name="picture", type="string", length=80)
     */
    protected $picture;

    /**
     * @var string
     * @ORM\Column(name="summary", type="string", length=500)
     */
    protected $summary;

    /**
     * @var string
     * @ORM\Column(name="description", type="string")
     */
    protected $description;
        


    /**
     * @var Collection
     * @ORM\OneToMany(targetEntity="CentraleLille\CustomFosUserBundle\Entity\ProjectUser", mappedBy="user")
     */
    protected $projectUsers;


    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * Set dateBegin
     *
     * @param \DateTime $dateBegin
     *
     * @return Project
     */
    public function setDateBegin($dateBegin)
    {
        $this->dateBegin = $dateBegin;

        return $this;
    }

    /**
     * Get dateBegin
     *
     * @return \DateTime
     */
    public function getDateBegin()
    {
        return $this->dateBegin;
    }

    /**
     * Set dateEnd
     *
     * @param \DateTime $dateEnd
     *
     * @return Project
     */
    public function setDateEnd($dateEnd)
    {
        $this->dateEnd = $dateEnd;

        return $this;
    }

    /**
     * Get dateEnd
     *
     * @return \DateTime
     */
    public function getDateEnd()
    {
        return $this->dateEnd;
    }

    /**
     * Add projectUser
     *
     * @param \CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser
     *
     * @return Project
     */
    public function addProjectUser(\CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser)
    {
        $this->projectUsers[] = $projectUser;

        return $this;
    }

    /**
     * Remove projectUser
     *
     * @param \CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser
     */
    public function removeProjectUser(\CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser)
    {
        $this->projectUsers->removeElement($projectUser);
    }

    /**
     * Get projectUsers
     *
     * @return \Doctrine\Common\Collections\Collection
     */
    public function getProjectUsers()
    {
        return $this->projectUsers;
    }

    /**
     * Set dateUpdate
     *
     * @param \DateTime $dateUpdate
     *
     * @return Project
     */
    public function setDateUpdate($dateUpdate)
    {
        $this->dateUpdate = $dateUpdate;

        return $this;
    }

    /**
     * Get dateUpdate
     *
     * @return \DateTime
     */
    public function getDateUpdate()
    {
        return $this->dateUpdate;
    }

    /**
     * Set picture
     *
     * @param string $picture
     *
     * @return Project
     */
    public function setPicture($picture)
    {
        $this->picture = $picture;

        return $this;
    }

    /**
     * Get picture
     *
     * @return string
     */
    public function getPicture()
    {
        return $this->picture;
    }

    /**
     * Set summary
     *
     * @param string $summary
     *
     * @return Project
     */
    public function setSummary($summary)
    {
        $this->summary = $summary;

        return $this;
    }

    /**
     * Get summary
     *
     * @return string
     */
    public function getSummary()
    {
        return $this->summary;
    }

    /**
     * Set description
     *
     * @param string $description
     *
     * @return Project
     */
    public function setDescription($description)
    {
        $this->description = $description;

        return $this;
    }

    /**
     * Get description
     *
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }
}
<commit_msg>modification des champs : non requis sauf le nom<commit_after><?php
/**
 * Created by PhpStorm.
 * User: mathieu
 * Date: 27/02/16
 * Time: 15:35
 */

namespace CentraleLille\CustomFosUserBundle\Entity;

use FOS\UserBundle\Model\Group as BaseGroup;
use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Entity(repositoryClass="CentraleLille\CustomFosUserBundle\Repository\ProjectRepository")
 * @ORM\Table(name="project")
 */
class Project
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;

    /**
     * @var string
     * @ORM\Column(name="name", type="string", length=40, nullable=false)
     */
    protected $name;

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

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

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

    /**
     * @var string
     * @ORM\Column(name="picture", type="string", length=80, nullable=true)
     */
    protected $picture;

    /**
     * @var string
     * @ORM\Column(name="summary", type="string", length=500, nullable=true)
     */
    protected $summary;

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


    /**
     * @var Collection
     * @ORM\OneToMany(targetEntity="CentraleLille\CustomFosUserBundle\Entity\ProjectUser", mappedBy="user")
     */
    protected $projectUsers;


    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * Set dateBegin
     *
     * @param \DateTime $dateBegin
     *
     * @return Project
     */
    public function setDateBegin($dateBegin)
    {
        $this->dateBegin = $dateBegin;

        return $this;
    }

    /**
     * Get dateBegin
     *
     * @return \DateTime
     */
    public function getDateBegin()
    {
        return $this->dateBegin;
    }

    /**
     * Set dateEnd
     *
     * @param \DateTime $dateEnd
     *
     * @return Project
     */
    public function setDateEnd($dateEnd)
    {
        $this->dateEnd = $dateEnd;

        return $this;
    }

    /**
     * Get dateEnd
     *
     * @return \DateTime
     */
    public function getDateEnd()
    {
        return $this->dateEnd;
    }

    /**
     * Add projectUser
     *
     * @param \CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser
     *
     * @return Project
     */
    public function addProjectUser(\CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser)
    {
        $this->projectUsers[] = $projectUser;

        return $this;
    }

    /**
     * Remove projectUser
     *
     * @param \CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser
     */
    public function removeProjectUser(\CentraleLille\CustomFosUserBundle\Entity\ProjectUser $projectUser)
    {
        $this->projectUsers->removeElement($projectUser);
    }

    /**
     * Get projectUsers
     *
     * @return \Doctrine\Common\Collections\Collection
     */
    public function getProjectUsers()
    {
        return $this->projectUsers;
    }

    /**
     * Set dateUpdate
     *
     * @param \DateTime $dateUpdate
     *
     * @return Project
     */
    public function setDateUpdate($dateUpdate)
    {
        $this->dateUpdate = $dateUpdate;

        return $this;
    }

    /**
     * Get dateUpdate
     *
     * @return \DateTime
     */
    public function getDateUpdate()
    {
        return $this->dateUpdate;
    }

    /**
     * Set picture
     *
     * @param string $picture
     *
     * @return Project
     */
    public function setPicture($picture)
    {
        $this->picture = $picture;

        return $this;
    }

    /**
     * Get picture
     *
     * @return string
     */
    public function getPicture()
    {
        return $this->picture;
    }

    /**
     * Set summary
     *
     * @param string $summary
     *
     * @return Project
     */
    public function setSummary($summary)
    {
        $this->summary = $summary;

        return $this;
    }

    /**
     * Get summary
     *
     * @return string
     */
    public function getSummary()
    {
        return $this->summary;
    }

    /**
     * Set description
     *
     * @param string $description
     *
     * @return Project
     */
    public function setDescription($description)
    {
        $this->description = $description;

        return $this;
    }

    /**
     * Get description
     *
     * @return string
     */
    public function getDescription()
    {
        return $this->description;
    }
}

{'fraction_non_alphanumeric': 0.13462852679878942, 'fraction_numerical': 0.003319340037098506, 'mean_word_length': 1.8259310344827586, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 43, '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': '5322143', 'n_tokens_mistral': 3205, 'n_tokens_neox': 3124, 'n_words': 579}