<commit_before><?php

namespace Lexik\Bundle\CurrencyBundle\Entity;

use Symfony\Component\Validator\Constraints as Assert;

/**
 * @author <NAME> <<EMAIL>>
 */
class Currency
{
    /**
     * @var int
     */
    protected $id;

    /**
     * @Assert\MinLength(3)
     * @Assert\MaxLength(3)
     * @Assert\NotBlank()
     * @Assert\Type(type="string")
     *
     * @var string
     */
    protected $code;

    /**
     * @Assert\NotBlank()
     * @Assert\Type(type="numeric")
     *
     * @var string
     */
    protected $rate;<commit_msg>Changed deprecated calls to MaxLength and MinLength<commit_after><?php

namespace Lexik\Bundle\CurrencyBundle\Entity;

use Symfony\Component\Validator\Constraints as Assert;

/**
 * @author <NAME> <<EMAIL>>
 */
class Currency
{
    /**
     * @var int
     */
    protected $id;

    /**
     * @Assert\Length(min=3)
     * @Assert\Length(max=3)
     * @Assert\NotBlank()
     * @Assert\Type(type="string")
     *
     * @var string
     */
    protected $code;

    /**
     * @Assert\NotBlank()
     * @Assert\Type(type="numeric")
     *
     * @var string
     */
    protected $rate;
{'fraction_non_alphanumeric': 0.164021164021164, 'fraction_numerical': 0.003527336860670194, 'mean_word_length': 2.2521489971346704, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '6394072', 'n_tokens_mistral': 384, 'n_tokens_neox': 381, 'n_words': 65}