<commit_before><?php

declare(strict_types=1);

namespace Psalm\Plugin\EventHandler\Event;

use Psalm\Issue\CodeIssue;

class BeforeAddIssueEvent
{
    /**
     * @var CodeIssue
     */
    private CodeIssue $issue;

    /**
     * @var bool
     */
    private bool $fixable;

    public function __construct(CodeIssue $issue, bool $fixable)
    {
        $this->issue = $issue;
        $this->fixable = $fixable;
    }

    public function getIssue(): CodeIssue
    {
        return $this->issue;
    }

    public function isFixable(): bool
    {
        return $this->fixable;
    }
}<commit_msg>[TASK] Use final event class declarations<commit_after><?php

declare(strict_types=1);

namespace Psalm\Plugin\EventHandler\Event;

use Psalm\Issue\CodeIssue;

final class BeforeAddIssueEvent
{
    /**
     * @var CodeIssue
     */
    private CodeIssue $issue;

    /**
     * @var bool
     */
    private bool $fixable;

    public function __construct(CodeIssue $issue, bool $fixable)
    {
        $this->issue = $issue;
        $this->fixable = $fixable;
    }

    public function getIssue(): CodeIssue
    {
        return $this->issue;
    }

    public function isFixable(): bool
    {
        return $this->fixable;
    }
}
{'fraction_non_alphanumeric': 0.11993517017828201, 'fraction_numerical': 0.0016207455429497568, 'mean_word_length': 2.3651226158038146, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '4112197', 'n_tokens_mistral': 413, 'n_tokens_neox': 383, 'n_words': 86}