<commit_before><?php

namespace AppBundle\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use AppBundle\Entity\User;
use Gedmo\Mapping\Annotation as Gedmo;

/**
 * CreationAudit Trait, usable with PHP >= 5.4
 *
 */
trait CreationAudit
{
    /**
     * Created by
     *
     * @var \AppBundle\Entity\User
     *
     * @JMS\Type("AppBundle\Entity\User")
     * @JMS\Groups({"notes"})
     * @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", fetch="EAGER")
     * @ORM\JoinColumn(name="created_by", referencedColumnName="id", nullable=true)
     */
    protected $createdBy;

    /**
     * Created on
     *
     * @var \DateTime
     *
     * @JMS\Type("DateTime")
     * @JMS\Groups({"notes"})
     * @ORM\Column(type="datetime", name="created_on", nullable=true)
     * @Gedmo\Timestampable(on="create")
     */
    protected $createdOn;

    /**
     * @return \AppBundle\Entity\User
     */<commit_msg>DDPB-814-upload add documents JMS to createdOn<commit_after><?php

namespace AppBundle\Entity\Traits;

use Doctrine\ORM\Mapping as ORM;
use AppBundle\Entity\User;
use Gedmo\Mapping\Annotation as Gedmo;

/**
 * CreationAudit Trait, usable with PHP >= 5.4
 *
 */
trait CreationAudit
{
    /**
     * Created by
     *
     * @var \AppBundle\Entity\User
     *
     * @JMS\Type("AppBundle\Entity\User")
     * @JMS\Groups({"notes"})
     * @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", fetch="EAGER")
     * @ORM\JoinColumn(name="created_by", referencedColumnName="id", nullable=true)
     */
    protected $createdBy;

    /**
     * Created on
     *
     * @var \DateTime
     *
     * @JMS\Type("DateTime")
     * @JMS\Groups({"notes", "documents"})
     * @ORM\Column(type="datetime", name="created_on", nullable=true)
     * @Gedmo\Timestampable(on="create")
     */
    protected $createdOn;

    /**
     * @return \AppBundle\Entity\User
     */
{'fraction_non_alphanumeric': 0.16434689507494646, 'fraction_numerical': 0.003747323340471092, 'mean_word_length': 2.8220858895705523, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7650719', 'n_tokens_mistral': 659, 'n_tokens_neox': 642, 'n_words': 102}