Code Duplication    Length = 3-3 lines in 2 locations

src/Utility/NodeVisualizer.php 2 locations

@@ 33-35 (lines=3) @@
30
        if (stristr(get_class($node), 'Mock_')) {
31
            return;
32
        }
33
        if ($depth == 0) {
34
            echo chr(10) . str_repeat('-', 120) . chr(10);
35
        }
36
37
        echo str_repeat(' ', $depth * 2);
38
        self::output(self::nodeType($node), 'cyan');
@@ 72-74 (lines=3) @@
69
                break;
70
        }
71
72
        if ($depth == 0) {
73
            echo str_repeat('-', 120) . chr(10) . chr(10);
74
        }
75
    }
76
77
    public static function nodeType($node)