Code Duplication    Length = 5-7 lines in 2 locations

src/Reports/Source.php 2 locations

@@ 166-170 (lines=5) @@
163
        echo PHP_EOL."\033[1mPHP CODE SNIFFER VIOLATION SOURCE SUMMARY\033[0m".PHP_EOL;
164
        echo str_repeat('-', $width).PHP_EOL."\033[1m";
165
        if ($showSources === true) {
166
            if ($totalFixable > 0) {
167
                echo '    SOURCE'.str_repeat(' ', ($width - 15)).'COUNT'.PHP_EOL;
168
            } else {
169
                echo 'SOURCE'.str_repeat(' ', ($width - 11)).'COUNT'.PHP_EOL;
170
            }
171
        } else {
172
            if ($totalFixable > 0) {
173
                echo '    STANDARD  CATEGORY            SNIFF'.str_repeat(' ', ($width - 44)).'COUNT'.PHP_EOL;
@@ 171-177 (lines=7) @@
168
            } else {
169
                echo 'SOURCE'.str_repeat(' ', ($width - 11)).'COUNT'.PHP_EOL;
170
            }
171
        } else {
172
            if ($totalFixable > 0) {
173
                echo '    STANDARD  CATEGORY            SNIFF'.str_repeat(' ', ($width - 44)).'COUNT'.PHP_EOL;
174
            } else {
175
                echo 'STANDARD  CATEGORY            SNIFF'.str_repeat(' ', ($width - 40)).'COUNT'.PHP_EOL;
176
            }
177
        }
178
179
        echo "\033[0m".str_repeat('-', $width).PHP_EOL;
180