Code Duplication    Length = 7-7 lines in 2 locations

tests/_helpers/SeeInOutputTrait.php 1 location

@@ 69-75 (lines=7) @@
66
     * Make our output comparisons more platform-agnostic by converting
67
     * CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac).
68
     */
69
    protected function simplify($output)
70
    {
71
        $output = str_replace("\r\n", "\n", $output);
72
        $output = str_replace("\r", "\n", $output);
73
74
        return $output;
75
    }
76
}
77

tests/src/Traits/TestTasksTrait.php 1 location

@@ 92-98 (lines=7) @@
89
     * Make our output comparisons more platform-agnostic by converting
90
     * CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac).
91
     */
92
    protected function simplify($output)
93
    {
94
        $output = str_replace("\r\n", "\n", $output);
95
        $output = str_replace("\r", "\n", $output);
96
97
        return $output;
98
    }
99
}
100