<commit_before><?php
namespace App\Entity;

use Doctrine\ORM\Mapping AS ORM;

/**
 * @ORM\Entity
 * @ORM\Table(
 *      name="card"
 * )
 */
class Card
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    
    /**
     * @ORM\Column(type="string", length=50)
     */
    private $title;

    /**
     * @ORM\Column(type="integer")
     */
    private $type;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $description;

    /**
     * @ORM\Column(type="integer", name="cost_in_game")
     */
    private $costInGame;

    /**
     * @ORM\Column(type="integer", name="cost_in_store")
     */
    private $costInStore;

    /**
     * @ORM\Column(type="boolean", name="is_buyable")
     */
    private $isBuyable;

    /**
     * @ORM\Column(type="string", length=30)
     */
    private $rarity;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\UserCard", mappedBy="card")
     */
    private $users;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\DeckCard", mappedBy="card")
     */
    private $decks;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Enhancement", inversedBy="unlockCards")
     */
    protected $enhancement;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\Unit", mappedBy="card")
     */
    protected $units;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\Technology", mappedBy="card")
     */
    protected $technologies;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\Trap", mappedBy="card")<commit_msg>Fixing rarity attribute type<commit_after><?php
namespace App\Entity;

use Doctrine\ORM\Mapping AS ORM;

/**
 * @ORM\Entity
 * @ORM\Table(
 *      name="card"
 * )
 */
class Card
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    
    /**
     * @ORM\Column(type="string", length=50)
     */
    private $title;

    /**
     * @ORM\Column(type="integer")
     */
    private $type;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $description;

    /**
     * @ORM\Column(type="integer", name="cost_in_game")
     */
    private $costInGame;

    /**
     * @ORM\Column(type="integer", name="cost_in_store")
     */
    private $costInStore;

    /**
     * @ORM\Column(type="boolean", name="is_buyable")
     */
    private $isBuyable;

    /**
     * @ORM\Column(type="integer")
     */
    private $rarity;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\UserCard", mappedBy="card")
     */
    private $users;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\DeckCard", mappedBy="card")
     */
    private $decks;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\Enhancement", inversedBy="unlockCards")
     */
    protected $enhancement;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\Unit", mappedBy="card")
     */
    protected $units;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\Technology", mappedBy="card")
     */
    protected $technologies;

    /**
     * @ORM\OneToMany(targetEntity="App\Entity\Trap", mappedBy="card")
{'fraction_non_alphanumeric': 0.1883464566929134, 'fraction_numerical': 0.003779527559055118, 'mean_word_length': 2.4409534127843986, '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': '7522462', 'n_tokens_mistral': 1121, 'n_tokens_neox': 1081, 'n_words': 133}