Code Duplication    Length = 14-14 lines in 2 locations

tests/Unit/ValueObject/PackageTest.php 2 locations

@@ 67-80 (lines=14) @@
64
    /**
65
     * @return array
66
     */
67
    protected function getDataWithSemanticVersioning()
68
    {
69
        return [
70
            'name' => 'vendor/package',
71
            'description' => 'description',
72
            'version' => 'v1.5.7',
73
            'version_normalized' => '1.5.7.0',
74
            'source' => [
75
                'type' => 'git',
76
                'url'  => 'https://github.com/vendor/package',
77
            ],
78
            'type' => 'library',
79
        ];
80
    }
81
82
    /**
83
     * @return array
@@ 85-98 (lines=14) @@
82
    /**
83
     * @return array
84
     */
85
    protected function getDataWithoutSemanticVersioning()
86
    {
87
        return [
88
            'name' => 'vendor/package',
89
            'description' => 'description',
90
            'version' => 'v0.9',
91
            'version_normalized' => '0.9.0.0',
92
            'source' => [
93
                'type' => 'git',
94
                'url'  => 'https://github.com/vendor/package',
95
            ],
96
            'type' => 'library',
97
        ];
98
    }
99
}
100