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

@@ 138-145 (lines=8) @@
135
136
    $val = (int) $val;
137
138
    switch ($last) {
139
        case 'g':
140
            $val *= 1024;
141
        case 'm':
142
            $val *= 1024;
143
        case 'k':
144
            $val *= 1024;
145
    }
146
147
    return $val;
148
}

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

@@ 1507-1514 (lines=8) @@
1504
1505
        $file_size = (int) $file_size;
1506
1507
        switch ($last) {
1508
            case 'g':
1509
                $file_size *= 1024;
1510
            case 'm':
1511
                $file_size *= 1024;
1512
            case 'k':
1513
                $file_size *= 1024;
1514
        }
1515
1516
        return $file_size;
1517
    }