Code Duplication    Length = 9-9 lines in 2 locations

tests/php/PHPMD/TextUI/CommandLineOptionsTest.php 1 location

@@ 41-49 (lines=9) @@
38
    /**
39
     * @return void
40
     */
41
    protected function tearDown()
42
    {
43
        if (is_resource($this->stderrStreamFilter)) {
44
            stream_filter_remove($this->stderrStreamFilter);
45
        }
46
        $this->stderrStreamFilter = null;
47
48
        parent::tearDown();
49
    }
50
51
    /**
52
     * testAssignsInputArgumentToInputProperty

tests/php/PHPMD/TextUI/CommandTest.php 1 location

@@ 38-46 (lines=9) @@
35
    /**
36
     * @return void
37
     */
38
    protected function tearDown()
39
    {
40
        if (is_resource($this->stderrStreamFilter)) {
41
            stream_filter_remove($this->stderrStreamFilter);
42
        }
43
        $this->stderrStreamFilter = null;
44
45
        parent::tearDown();
46
    }
47
48
    /**
49
     * @param $sourceFile