<commit_before><?php

namespace PROCERGS\OAuthBundle\Entity;

use PROCERGS\LoginCidadao\CoreBundle\Entity\Authorization;
use FOS\OAuthServerBundle\Entity\Client as BaseClient;
use Doctrine\ORM\Mapping as ORM;
use PROCERGS\LoginCidadao\CoreBundle\Entity\Notification\Notification;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Validator\Constraints as Assert;
use JMS\Serializer\Tests\Fixtures\Publisher;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use JMS\Serializer\Annotation as JMS;
use OAuth2\OAuth2;
/**
 * @ORM\Entity
 * @ORM\Table(name="client")
 * @ORM\HasLifecycleCallbacks
 * @UniqueEntity("name")
 * @JMS\ExclusionPolicy("all")
 */
class Client extends BaseClient
{

    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $id;

    /**
     * @ORM\Column(type="string", nullable=false, unique=true)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $name;

    /**
     * @ORM\Column(type="text", nullable=false)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $description;

    /**
     * @ORM\Column(type="integer", nullable=false)
     */
    protected $maxNotificationLevel;

    /**
     * @ORM\Column(type="string", nullable=true)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $landingPageUrl;

    /**
     * @ORM\Column(type="text", nullable=false)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $termsOfUseUrl;

    /**
     * @ORM\Column(type="array", nullable=false)
     */
    protected $allowedScopes;

    /**
     * @ORM\OneToMany(targetEntity="PROCERGS\LoginCidadao\CoreBundle\Entity\Authorization", mappedBy="client", cascade={"remove"}, orphanRemoval=true)
     */
    protected $authorizations;

    /**
     * @ORM\Column(type="string")
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $siteUrl;

    /**
     * @ORM\OneToMany(targetEntity="PROCERGS\LoginCidadao\CoreBundle\Entity\Notification\Notification", mappedBy="sender")
     */
    protected $notifications;

    /**
     * @ORM\OneToMany(targetEntity="PROCERGS\LoginCidadao\CoreBundle\Entity\Notification\Category", mappedBy="client")
     */
    protected $categories;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    protected $picturePath;
    protected $tempPicturePath;

    /**
     * @Assert\File(maxSize="6000000")
     */
    protected $pictureFile;

    /**<commit_msg>size o columns<commit_after><?php

namespace PROCERGS\OAuthBundle\Entity;

use PROCERGS\LoginCidadao\CoreBundle\Entity\Authorization;
use FOS\OAuthServerBundle\Entity\Client as BaseClient;
use Doctrine\ORM\Mapping as ORM;
use PROCERGS\LoginCidadao\CoreBundle\Entity\Notification\Notification;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Symfony\Component\Validator\Constraints as Assert;
use JMS\Serializer\Tests\Fixtures\Publisher;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use JMS\Serializer\Annotation as JMS;
use OAuth2\OAuth2;
/**
 * @ORM\Entity
 * @ORM\Table(name="client")
 * @ORM\HasLifecycleCallbacks
 * @UniqueEntity("name")
 * @JMS\ExclusionPolicy("all")
 */
class Client extends BaseClient
{

    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $id;

    /**
     * @ORM\Column(type="string", nullable=false, unique=true)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $name;

    /**
     * @ORM\Column(type="string", length=4000, nullable=false)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $description;

    /**
     * @ORM\Column(type="integer", nullable=false)
     */
    protected $maxNotificationLevel;

    /**
     * @ORM\Column(type="string", length=2000, nullable=true)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $landingPageUrl;

    /**
     * @ORM\Column(type="string", length=2000, nullable=false)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $termsOfUseUrl;

    /**
     * @ORM\Column(type="array", nullable=false)
     */
    protected $allowedScopes;

    /**
     * @ORM\OneToMany(targetEntity="PROCERGS\LoginCidadao\CoreBundle\Entity\Authorization", mappedBy="client", cascade={"remove"}, orphanRemoval=true)
     */
    protected $authorizations;

    /**
     * @ORM\Column(type="string", length=2000)
     * @JMS\Expose
     * @JMS\Groups({"public"})
     */
    protected $siteUrl;

    /**
     * @ORM\OneToMany(targetEntity="PROCERGS\LoginCidadao\CoreBundle\Entity\Notification\Notification", mappedBy="sender")
     */
    protected $notifications;

    /**
     * @ORM\OneToMany(targetEntity="PROCERGS\LoginCidadao\CoreBundle\Entity\Notification\Category", mappedBy="client")
     */
    protected $categories;

    /**
     * @ORM\Column(type="string", length=255, nullable=true)
     */
    protected $picturePath;
    protected $tempPicturePath;

    /**
     * @Assert\File(maxSize="6000000")
     */
    protected $pictureFile;

    /**
{'fraction_non_alphanumeric': 0.16123499142367068, 'fraction_numerical': 0.007623403849818944, 'mean_word_length': 3.2562854825628547, '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': '2223524', 'n_tokens_mistral': 1801, 'n_tokens_neox': 1720, 'n_words': 224}