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

@@ 1341-1348 (lines=8) @@
1338
            );
1339
1340
            $last = strtolower($file_size[strlen($file_size) - 1]);
1341
            switch ($last) {
1342
                case 'g':
1343
                    $file_size *= 1024;
1344
                case 'm':
1345
                    $file_size *= 1024;
1346
                case 'k':
1347
                    $file_size *= 1024;
1348
            }
1349
1350
            return $file_size;
1351
        }