Code Duplication    Length = 8-8 lines in 3 locations

lib/Util/Phpunit/MasterListener.php 3 locations

@@ 81-88 (lines=8) @@
78
        $this->play(__FUNCTION__, func_get_args());
79
    }
80
81
    public function addFailure(PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, $time)
82
    {
83
        $this->replay[] = [
84
            'method' => __FUNCTION__,
85
            'args'  => func_get_args()
86
        ];
87
        $this->play(__FUNCTION__, func_get_args());
88
    }
89
90
    public function addIncompleteTest(PHPUnit_Framework_Test $test, Exception $e, $time)
91
    {
@@ 135-142 (lines=8) @@
132
        $this->play(__FUNCTION__, func_get_args());
133
    }
134
135
    public function startTest(PHPUnit_Framework_Test $test)
136
    {
137
        $this->replay[] = [
138
            'method' => __FUNCTION__,
139
            'args'  => func_get_args()
140
        ];
141
        $this->play(__FUNCTION__, func_get_args());
142
    }
143
144
    public function endTest(PHPUnit_Framework_Test $test, $time)
145
    {
@@ 144-151 (lines=8) @@
141
        $this->play(__FUNCTION__, func_get_args());
142
    }
143
144
    public function endTest(PHPUnit_Framework_Test $test, $time)
145
    {
146
        $this->replay[] = [
147
            'method' => __FUNCTION__,
148
            'args'  => func_get_args()
149
        ];
150
        $this->play(__FUNCTION__, func_get_args());
151
    }
152
153
}