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

@@ 1533-1540 (lines=8) @@
1530
1531
        $file_size = (int) $file_size;
1532
1533
        switch ($last) {
1534
            case 'g':
1535
                $file_size *= 1024;
1536
            case 'm':
1537
                $file_size *= 1024;
1538
            case 'k':
1539
                $file_size *= 1024;
1540
        }
1541
1542
        return $file_size;
1543
    }