Code Duplication    Length = 15-16 lines in 2 locations

src/Writer/Standard.php 2 locations

@@ 112-127 (lines=16) @@
109
        }
110
    }
111
112
    private function addVerboseInformationToChangedTest($current)
113
    {
114
        if (! $current['message']) {
115
            return;
116
        }
117
118
        if ($this->verbosity < Output::VERBOSITY_VERBOSE) {
119
            return;
120
        }
121
122
        $this->style->text(sprintf(
123
            "\t<fg=yellow>%s</>: <fg=green>%s</>",
124
            $current['type'],
125
            $current['message']
126
        ));
127
    }
128
129
    private function addVeryVerboseInformationToChangedTest($current)
130
    {
@@ 129-143 (lines=15) @@
126
        ));
127
    }
128
129
    private function addVeryVerboseInformationToChangedTest($current)
130
    {
131
        if (! $current['info']) {
132
            return;
133
        }
134
135
        if ($this->verbosity < Output::VERBOSITY_VERY_VERBOSE) {
136
            return;
137
        }
138
139
        $this->style->text(sprintf(
140
            "\t<fg=cyan>%s</>",
141
            $current['info']
142
        ));
143
    }
144
}
145