Code Duplication    Length = 9-9 lines in 2 locations

src/PhpGitHooks/Module/Configuration/Tests/Stub/PhpUnitStub.php 2 locations

@@ 49-57 (lines=9) @@
46
     *
47
     * @return PhpUnit
48
     */
49
    public static function createEnabled($options = '--testsuite default')
50
    {
51
        return self::create(
52
            new Undefined(false),
53
            EnabledStub::create(true),
54
            PhpUnitRandomModeStub::create(true),
55
            PhpUnitOptionsStub::create($options)
56
        );
57
    }
58
59
    /**
60
     * @return PhpUnit
@@ 62-70 (lines=9) @@
59
    /**
60
     * @return PhpUnit
61
     */
62
    public static function setUndefined()
63
    {
64
        return self::create(
65
            new Undefined(true),
66
            EnabledStub::create(false),
67
            PhpUnitRandomModeStub::create(false),
68
            PhpUnitOptionsStub::create(null)
69
        );
70
    }
71
}
72