Code Duplication    Length = 12-12 lines in 2 locations

src/Reports/Code.php 1 location

@@ 55-66 (lines=12) @@
52
53
            $phpcsFile->parse();
54
55
            if (PHP_CodeSniffer_VERBOSITY === 1) {
56
                $timeTaken = ((microtime(true) - $startTime) * 1000);
57
                if ($timeTaken < 1000) {
58
                    $timeTaken = round($timeTaken);
59
                    echo "DONE in {$timeTaken}ms";
60
                } else {
61
                    $timeTaken = round(($timeTaken / 1000), 2);
62
                    echo "DONE in $timeTaken secs";
63
                }
64
65
                echo PHP_EOL;
66
            }
67
68
            $tokens = $phpcsFile->getTokens();
69
        }//end if

src/Reports/Diff.php 1 location

@@ 52-63 (lines=12) @@
49
50
            $phpcsFile->parse();
51
52
            if (PHP_CodeSniffer_VERBOSITY === 1) {
53
                $timeTaken = ((microtime(true) - $startTime) * 1000);
54
                if ($timeTaken < 1000) {
55
                    $timeTaken = round($timeTaken);
56
                    echo "DONE in {$timeTaken}ms";
57
                } else {
58
                    $timeTaken = round(($timeTaken / 1000), 2);
59
                    echo "DONE in $timeTaken secs";
60
                }
61
62
                echo PHP_EOL;
63
            }
64
65
            $phpcsFile->fixer->startFile($phpcsFile);
66
        }//end if