<commit_before><?php

namespace Gentry;

use ReflectionFunction;
use zpt\anno\Annotations;

class Group
{
    private $tests = [];

    public function __construct($target, $inject, array $tests)
    {
        foreach ($tests as $test) {
            $reflection = new ReflectionFunction($test);
            $this->tests[] = new Test($target, $reflection, $inject);
        }
    }

    public function run(&$passed, &$failed)
    {
        foreach ($this->tests as $test) {
            $test->run($passed, $failed);
        }
    }
}
<commit_msg>pass as array<commit_after><?php

namespace Gentry;

use ReflectionFunction;
use zpt\anno\Annotations;

class Group
{
    private $tests = [];

    public function __construct($target, $inject, array $tests)
    {
        foreach ($tests as $test) {
            $reflection = new ReflectionFunction($test);
            $this->tests[] = new Test($target, $reflection, $inject);
        }
    }

    public function run(&$passed, array &$failed)
    {
        foreach ($this->tests as $test) {
            $test->run($passed, $failed);
        }
    }
}

{'fraction_non_alphanumeric': 0.14207650273224043, 'fraction_numerical': 0.0, 'mean_word_length': 2.4130434782608696, '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': '5471560', 'n_tokens_mistral': 336, 'n_tokens_neox': 327, 'n_words': 81}