<commit_before><?php namespace WordPressPluginFeed;

use Carbon\Carbon;
use HTMLPurifier;
use HTMLPurifier_Config;

use Symfony\Component\DomCrawler\Crawler;

use WordPressPluginFeed\Parsers\Parser;

class Release
{
    /**
     * Unique identifier (version + stability)
     *
     * @var string
     */
    public $id;

    /**
     * Version
     *
     * @var string
     */
    public $version;

    /**
     * Plugin name and version
     *
     * @var string
     */
    public $title;

    /**
     * Changelog excerpt
     *
     * @var string
     */
    public $description;

    /**
     * Release author
     *
     * @var array|string
     */
    public $author;

    /**
     * Stability
     *
     * @var string
     */
    public $stability;

    /**
     * Permalink to release info
     *
     * @var string
     */
    public $link;
    
    /**
     * User defined categories
     *
     * @var array
     */
    public $categories = array();

    /**
     * Changelog
     *
     * @var string
     */
    public $content;

    /**
     * Publish date
     *
     * @var \Carbon\Carbon
     */
    public $created;

    /**
     * List of fixed vulnerabilities
     *
     * @var array
     */
    public $vulnerabilities;

    /**
     * Is a security release?
     */
    public $security = false;

    /**
     * Keywords that activate "Security release" message
     *
     * @var array
     */
    protected static $keywords = array
    (
        'safe', 'trusted', 'security', 'insecure', 'vulnerability', 'leak', 'attack', 'malware', 'malicious',
        'CSRF', 'SSRF', 'SQLi', 'SQL.+injection', 'XSS', 'XXE', 'LFI', 'RFI', 'MITM', 'CVE-',
    );

    /**
     * HTMLPurifier instance
     *
     * @var \HTMLPurifier
     */
    protected static $purifier = null;

    /**
     * Parser instance
     *
     * @var \WordPressPluginFeed\Parsers\Parser
     */
    protected $parser = null;

    /**
     * Instantiate dependencies
     *<commit_msg>Added "CVSS" to security keywords<commit_after><?php namespace WordPressPluginFeed;

use Carbon\Carbon;
use HTMLPurifier;
use HTMLPurifier_Config;

use Symfony\Component\DomCrawler\Crawler;

use WordPressPluginFeed\Parsers\Parser;

class Release
{
    /**
     * Unique identifier (version + stability)
     *
     * @var string
     */
    public $id;

    /**
     * Version
     *
     * @var string
     */
    public $version;

    /**
     * Plugin name and version
     *
     * @var string
     */
    public $title;

    /**
     * Changelog excerpt
     *
     * @var string
     */
    public $description;

    /**
     * Release author
     *
     * @var array|string
     */
    public $author;

    /**
     * Stability
     *
     * @var string
     */
    public $stability;

    /**
     * Permalink to release info
     *
     * @var string
     */
    public $link;
    
    /**
     * User defined categories
     *
     * @var array
     */
    public $categories = array();

    /**
     * Changelog
     *
     * @var string
     */
    public $content;

    /**
     * Publish date
     *
     * @var \Carbon\Carbon
     */
    public $created;

    /**
     * List of fixed vulnerabilities
     *
     * @var array
     */
    public $vulnerabilities;

    /**
     * Is a security release?
     */
    public $security = false;

    /**
     * Keywords that activate "Security release" message
     *
     * @var array
     */
    protected static $keywords = array
    (
        'safe', 'trusted', 'security', 'insecure', 'vulnerability', 'leak', 'attack', 'malware', 'malicious',
        'CSRF', 'SSRF', 'SQLi', 'SQL.+injection', 'XSS', 'XXE', 'LFI', 'RFI', 'MITM', 'CVE-', 'CVSS',
    );

    /**
     * HTMLPurifier instance
     *
     * @var \HTMLPurifier
     */
    protected static $purifier = null;

    /**
     * Parser instance
     *
     * @var \WordPressPluginFeed\Parsers\Parser
     */
    protected $parser = null;

    /**
     * Instantiate dependencies
     *
{'fraction_non_alphanumeric': 0.1351554663991976, 'fraction_numerical': 0.0, 'mean_word_length': 1.6735924932975872, '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': '3255334', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1249, 'n_words': 291}