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

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