Code Duplication    Length = 8-8 lines in 3 locations

tests/SampleDataProvider.php 3 locations

@@ 75-82 (lines=8) @@
72
    /**
73
     * @return mixed
74
     */
75
    public function getCommit($fullName = self::DEFAULT_REPO, $commitSha = self::DEFAULT_COMMIT_SHA)
76
    {
77
        $content = file_get_contents(
78
            __DIR__.'/sample-data/'.$fullName.'/commit-'.$commitSha.'.json'
79
        );
80
81
        return json_decode($content, true);
82
    }
83
84
    /**
85
     * @return mixed
@@ 87-94 (lines=8) @@
84
    /**
85
     * @return mixed
86
     */
87
    public function getCommitStatus($fullName = self::DEFAULT_REPO, $commitSha = self::DEFAULT_COMMIT_SHA)
88
    {
89
        $content = file_get_contents(
90
            __DIR__.'/sample-data/'.$fullName.'/commit_status-'.$commitSha.'.json'
91
        );
92
93
        return json_decode($content, true);
94
    }
95
96
    /**
97
     * @return mixed
@@ 99-106 (lines=8) @@
96
    /**
97
     * @return mixed
98
     */
99
    public function getCommitStatuses($fullName = self::DEFAULT_REPO, $commitSha = self::DEFAULT_COMMIT_SHA)
100
    {
101
        $content = file_get_contents(
102
            __DIR__.'/sample-data/'.$fullName.'/commit_statuses-'.$commitSha.'.json'
103
        );
104
105
        return json_decode($content, true);
106
    }
107
108
    /**
109
     * @return mixed