Code Duplication    Length = 3-3 lines in 3 locations

lib/elFinderVolumeFTP.class.php 3 locations

@@ 362-364 (lines=3) @@
359
        $info = preg_split("/\s+/", $raw, 9);
360
        $stat = [];
361
362
        if (! isset($this->ftpOsUnix)) {
363
            $this->ftpOsUnix = ! preg_match('/\d/', substr($info[0], 0, 1));
364
        }
365
        if (! $this->ftpOsUnix) {
366
            $info = $this->normalizeRawWindows($raw);
367
        }
@@ 948-950 (lines=3) @@
945
    {
946
        foreach ($this->ftpRawList($path) as $str) {
947
            $info = preg_split('/\s+/', $str, 9);
948
            if (! isset($this->ftpOsUnix)) {
949
                $this->ftpOsUnix = ! preg_match('/\d/', substr($info[0], 0, 1));
950
            }
951
            if (! $this->ftpOsUnix) {
952
                $info = $this->normalizeRawWindows($str);
953
            }
@@ 1526-1528 (lines=3) @@
1523
        }
1524
        foreach ($buff as $str) {
1525
            $info = preg_split("/\s+/", $str, 9);
1526
            if (! isset($this->ftpOsUnix)) {
1527
                $this->ftpOsUnix = ! preg_match('/\d/', substr($info[0], 0, 1));
1528
            }
1529
            if (! $this->ftpOsUnix) {
1530
                $info = $this->normalizeRawWindows($str);
1531
            }