<commit_before><?php
function my_sum($first, $second)
{
    if ($first >= 42) {
        return $first + $second + 1;
    }
    return $first + $second;
}

class ListConcatenationTest extends BaseTestCase
{
    public function testRightIdentityElement()
    {
        $this->forAll([
            'number' => $this->genInt(),
        ])
            ->__invoke(function($number) {
                $this->assertEquals(
                    $number,
                    my_sum($number, 0)
                );
            });
    }
}
<commit_msg>Reproducing the problem: only the first Generator shrinks<commit_after><?php
function my_sum($first, $second)
{
    if ($first >= 42) {
        return $first + $second + 1;
    }
    return $first + $second;
}

class ListConcatenationTest extends BaseTestCase
{
    public function testRightIdentityElement()
    {
        $this->forAll([
            'number' => $this->genInt(),
        ])
            ->__invoke(function($number) {
                $this->assertEquals(
                    $number,
                    my_sum($number, 0)
                );
            });
    }

    public function testEqualToReferencePhpImplementation()
    {
        $this->forAll([
            'first' => $this->genInt(),
            'second' => $this->genInt(),
        ])
            ->__invoke(function($first, $second) {
                $this->assertEquals(
                    $first + $second,
                    my_sum($first, $second)
                );
            });
    }
}

{'fraction_non_alphanumeric': 0.13540290620871862, 'fraction_numerical': 0.005284015852047556, 'mean_word_length': 1.525, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, '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': '2035472', 'n_tokens_mistral': 433, 'n_tokens_neox': 415, 'n_words': 80}