GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-8 lines in 2 locations

symphony/lib/boot/func.utilities.php 1 location

@@ 113-120 (lines=8) @@
110
    $val = trim($val);
111
    $last = strtolower($val[strlen($val)-1]);
112
113
    switch ($last) {
114
        case 'g':
115
            $val *= 1024;
116
        case 'm':
117
            $val *= 1024;
118
        case 'k':
119
            $val *= 1024;
120
    }
121
122
    return $val;
123
}

symphony/lib/toolkit/class.general.php 1 location

@@ 1408-1415 (lines=8) @@
1405
        );
1406
1407
        $last = strtolower($file_size[strlen($file_size)-1]);
1408
        switch ($last) {
1409
            case 'g':
1410
                $file_size *= 1024;
1411
            case 'm':
1412
                $file_size *= 1024;
1413
            case 'k':
1414
                $file_size *= 1024;
1415
        }
1416
1417
        return $file_size;
1418
    }