<commit_before><?php
// src/CVThequeBundle/Entity/Advertisement

namespace CVThequeBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity(repositoryClass="CVThequeBundle\Repository\AdvertisementRepository")
 * @ORM\Table(name="advertisement")
 * @ORM\HasLifecycleCallbacks()
 */
class Advertisement 
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    
    
    /**
     * @ORM\Column(name="published", type="boolean")
     */
    private $published;
    
    
    /**
     * @ORM\Column(type="datetime")
     * 
     */
    protected $created;
    
    
    /**
     * @ORM\Column(type="datetime")
     * 
     */
    protected $updated;
    
    
    /**
     * @ORM\Column(type="string")
     * @Assert\Length(min=8, max=128)
     */
    protected $title;
    
    
    /**
     * @ORM\Column(type="string", length=100)
     * @Assert\Length(min=3, max=12)
     */
    protected $author;
    
    /**
     * @ORM\Column(type="text")
     * @Assert\NotBlank()
     */
    protected $content;

        
    /**
     * @Gedmo\Slug(fields={"title"})
     * @ORM\Column(length=128, unique=true)
     */
    private $slug;
    
    
    /**
     * @ORM\OneToOne(targetEntity="MG\UserBundle\Entity\Image", cascade={"persist", "merge", "remove"})
     * @ORM\joinColumn(nullable=true)
     */
    private $image;
    
    
    /**
     * @ORM\OneToMany(targetEntity="AdvertSkill", mappedBy="advertisement", cascade={"persist", "remove"}, orphanRemoval=true)
     * @Assert\Valid()
     */
    private $advertSkills;<commit_msg>test compatibilité windows linux<commit_after><?php
// src/CVThequeBundle/Entity/Advertisement

namespace CVThequeBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Gedmo\Mapping\Annotation as Gedmo;
use Symfony\Component\Validator\Constraints as Assert;

/**
 * @ORM\Entity(repositoryClass="CVThequeBundle\Repository\AdvertisementRepository")
 * @ORM\Table(name="advertisement")
 * @ORM\HasLifecycleCallbacks()
 */
class Advertisement 
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    
    
    /**
     * @ORM\Column(name="published", type="boolean")
     */
    private $published;
    
    
    /**
     * @ORM\Column(type="datetime")
     * 
     */
    protected $created;
    
    
    /**
     * @ORM\Column(type="datetime")
     * 
     */
    protected $updated;
    
    
    /**
     * @ORM\Column(type="string")
     * @Assert\Length(min=8, max=128)
     */
    protected $title;
    
    
    /**
     * @ORM\Column(type="string", length=100)
     * @Assert\Length(min=3, max=12)
     */
    protected $author;
    
    /**
     * @ORM\Column(type="text")
     * @Assert\NotBlank()
     */
    protected $content;

        
    /**
     * @Gedmo\Slug(fields={"title"})
     * @ORM\Column(length=128, unique=true)
     */
    private $slug;
    
    
    /**
     * @ORM\OneToOne(targetEntity="MG/UserBundle/Entity/Image", cascade={"persist", "merge", "remove"})
     * @ORM\joinColumn(nullable=true)
     */
    private $image;
    
    
    /**
     * @ORM\OneToMany(targetEntity="AdvertSkill", mappedBy="advertisement", cascade={"persist", "remove"}, orphanRemoval=true)
     * @Assert\Valid()
     */
    private $advertSkills;
{'fraction_non_alphanumeric': 0.16709003669206887, 'fraction_numerical': 0.00733841377363816, 'mean_word_length': 2.4745098039215687, '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': '3509950', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1172, 'n_words': 148}