Code Duplication    Length = 9-9 lines in 2 locations

src/test/php/PHPMD/TextUI/CommandLineOptionsTest.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
     * testAssignsInputArgumentToInputProperty

src/test/php/PHPMD/TextUI/CommandTest.php 1 location

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