Code Duplication    Length = 4-4 lines in 2 locations

src/Helpers/FileSystem.php 2 locations

@@ 340-343 (lines=4) @@
337
338
        $tLength = strlen($uPath);
339
        if (strncasecmp(PHP_OS, "WIN", 3) === 0) {
340
            if (($tLength >= 1 && ($uPath[0] === "\\" || $uPath[0] === "/")) ||
341
                ($tLength >= 2 && $uPath[1] === ":")) {
342
                return true;
343
            }
344
        } else {
345
            if ($tLength >= 1 && $uPath[0] === "/") {
346
                return true;
@@ 374-377 (lines=4) @@
371
                return false;
372
            }
373
374
            if ($tLength >= 3 && ctype_alpha($uPath[0]) && $uPath[1] === ":" &&
375
                ($uPath[2] === "\\" || $uPath[2] === "/")) {
376
                return false;
377
            }
378
        } else {
379
            if ($tLength >= 1 && $uPath[0] === "/") {
380
                return false;