<commit_before><?php

namespace TLH\ContactBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Validator\ExecutionContext;

/**
 * TLH\ContactBundle\Entity\Contact
 *
 * @ORM\Table(name="contact", indexes={@ORM\Index(name="email_idx", columns={"email"})})
 * @ORM\Entity()
 */
class Contact
{
    /**
     * @var bigint $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

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

    /**
     * @var message
     *
     * @ORM\Column(name="message", type="text", nullable=false)
     */
    private $message;

    /**
     * @var datetime
     *
     * @ORM\Column(name="creation", type="datetime", nullable=false)<commit_msg>Make Contact Entity a MappedSupperclass<commit_after><?php

namespace TLH\ContactBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Validator\ExecutionContext;

/**
 * TLH\ContactBundle\Entity\Contact
 *
 * @ORM\MappedSuperclass()
 */
class Contact
{
    /**
     * @var bigint $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

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

    /**
     * @var message
     *
     * @ORM\Column(name="message", type="text", nullable=false)
     */
    private $message;

    /**
     * @var datetime
     *
     * @ORM\Column(name="creation", type="datetime", nullable=false)
{'fraction_non_alphanumeric': 0.16955791829882486, 'fraction_numerical': 0.003357582540570789, 'mean_word_length': 2.8869565217391306, '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': '610794', 'n_tokens_mistral': 594, 'n_tokens_neox': 584, 'n_words': 98}