<commit_before><?php

namespace Okto\MediaBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use JMS\Serializer\Annotation as JMS;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;

/**
 * Tag
 * @JMS\AccessType("public_method")
 * @JMS\ExclusionPolicy("all")
 * @UniqueEntity("text")
 * @ORM\Table()
 * @ORM\HasLifecycleCallbacks()
 * @ORM\MappedSuperclass()
 */
class Tag
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @JMS\Expose
     * @JMS\Type("string")
     * @JMS\Groups({"okto"})
     * @Assert\Length(min = 3, max = 30, maxMessage = "okto_media.max_tag_limit", minMessage = "okto_media.min_tag_limit")
     * @ORM\Column(name="text", type="string", length=30, unique=true)
     */
    private $text;

    /**
     * @JMS\Expose
     * @JMS\Type("string")
     * @JMS\Groups({"okto"})
     * @ORM\Column(length=32, unique=true)
     * @Gedmo\Slug(fields={"text"}, updatable=false, separator="_")
     */
    private $slug;<commit_msg>increased tag length<commit_after><?php

namespace Okto\MediaBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use JMS\Serializer\Annotation as JMS;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;

/**
 * Tag
 * @JMS\AccessType("public_method")
 * @JMS\ExclusionPolicy("all")
 * @UniqueEntity("text")
 * @ORM\Table()
 * @ORM\HasLifecycleCallbacks()
 * @ORM\MappedSuperclass()
 */
class Tag
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @JMS\Expose
     * @JMS\Type("string")
     * @JMS\Groups({"okto"})
     * @Assert\Length(min = 3, max = 30, maxMessage = "okto_media.max_tag_limit", minMessage = "okto_media.min_tag_limit")
     * @ORM\Column(name="text", type="string", length=70, unique=true)
     */
    private $text;

    /**
     * @JMS\Expose
     * @JMS\Type("string")
     * @JMS\Groups({"okto"})
     * @ORM\Column(length=72, unique=true)
     * @Gedmo\Slug(fields={"text"}, updatable=false, separator="_")
     */
    private $slug;
{'fraction_non_alphanumeric': 0.1783761043331931, 'fraction_numerical': 0.005889777029869584, 'mean_word_length': 3.379373848987109, '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': '293665', 'n_tokens_mistral': 871, 'n_tokens_neox': 850, 'n_words': 131}