Code Duplication    Length = 8-8 lines in 2 locations

src/Files/File.php 2 locations

@@ 1840-1847 (lines=8) @@
1837
        $endTokens[T_CLOSE_TAG]        = true;
1838
        $endTokens[T_OPEN_SHORT_ARRAY] = true;
1839
1840
        if ($ignore !== null) {
1841
            $ignore = (array) $ignore;
1842
            foreach ($ignore as $code) {
1843
                if (isset($endTokens[$code]) === true) {
1844
                    unset($endTokens[$code]);
1845
                }
1846
            }
1847
        }
1848
1849
        $lastNotEmpty = $start;
1850
@@ 1908-1915 (lines=8) @@
1905
                      T_CLOSE_TAG            => true,
1906
                     );
1907
1908
        if ($ignore !== null) {
1909
            $ignore = (array) $ignore;
1910
            foreach ($ignore as $code) {
1911
                if (isset($endTokens[$code]) === true) {
1912
                    unset($endTokens[$code]);
1913
                }
1914
            }
1915
        }
1916
1917
        $lastNotEmpty = $start;
1918