<commit_before><?php

class ArrayHasValueConstraint extends PHPUnit_Framework_Constraint
{
    /**
     * @var mixed
     */
    protected $expected;

    public function __construct($expected)
    {
        parent::__construct();

        $this->expected = $expected;
    }

    public function matches(array $input)
    {
        return in_array($this->expected, $input);
    }

    public function toString()
    {
        return 'has the value '.$this->expected;
    }
}
<commit_msg>Fix ArrayHasValueConstraint matches method signature<commit_after><?php

class ArrayHasValueConstraint extends PHPUnit_Framework_Constraint
{
    /**
     * @var mixed
     */
    protected $expected;

    public function __construct($expected)
    {
        parent::__construct();

        $this->expected = $expected;
    }

    public function matches($input)
    {
        return in_array($this->expected, $input);
    }

    public function toString()
    {
        return 'has the value '.$this->expected;
    }
}

{'fraction_non_alphanumeric': 0.1112214498510427, 'fraction_numerical': 0.0, 'mean_word_length': 2.574468085106383, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6711049', 'n_tokens_mistral': 280, 'n_tokens_neox': 275, 'n_words': 63}