<commit_before><?php
/**
 * This file is part of the FastFeed package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace FastFeed;

use DateTime;

/**
 * Node
 */
class Item
{
    /**
     * @var string
     */
    protected $id;

    /**
     * @var string
     */
    protected $name;

    /**
     * @var string
     */
    protected $intro;

    /**
     * @var string
     */
    protected $content;

    /**
     * @var string
     */
    protected $source;

    /**
     * @var string
     */
    protected $author;

    /**
     * @var string
     */
    protected $image;

    /**
     * @var DateTime
     */
    protected $date;

    /**
     * @var array
     */
    protected $tags = array();

    /**
     * @param string $id
     */
    public function setId($id)
    {
        $this->id = (string)$id;
    }

    /**
     * @return string
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = (string)$name;
    }

    /**
     * @param string $intro
     */
    public function setIntro($intro)
    {
        $this->intro = (string)$intro;
    }
<commit_msg>improved code quality for FastFeed/Item<commit_after><?php
/**
 * This file is part of the FastFeed package.
 *
 * (c) <NAME> <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace FastFeed;

use DateTime;

/**
 * Node
 */
class Item
{
    /**
     * @var string
     */
    protected $itemId;

    /**
     * @var string
     */
    protected $name;

    /**
     * @var string
     */
    protected $intro;

    /**
     * @var string
     */
    protected $content;

    /**
     * @var string
     */
    protected $source;

    /**
     * @var string
     */
    protected $author;

    /**
     * @var string
     */
    protected $image;

    /**
     * @var DateTime
     */
    protected $date;

    /**
     * @var array
     */
    protected $tags = array();

    /**
     * @param string $id
     */
    public function setId($id)
    {
        $this->itemId = (string)$id;
    }

    /**
     * @return string
     */
    public function getId()
    {
        return $this->itemId;
    }

    /**
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = (string)$name;
    }

    /**
     * @param string $intro
     */
    public function setIntro($intro)
    {
        $this->intro = (string)$intro;
    }

{'fraction_non_alphanumeric': 0.14653397391901166, 'fraction_numerical': 0.0, 'mean_word_length': 1.5172711571675301, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '5410021', 'n_tokens_mistral': 937, 'n_tokens_neox': 901, 'n_words': 230}