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.
Completed
Push — master ( 0e9349...d2bdfd )
by Nicolas
08:54 queued 04:10
created

migration_266::getVersion()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
    class migration_266 extends Migration
4
    {
5
        public static function getVersion()
6
        {
7
            return '2.6.6';
8
        }
9
10
        public static function getReleaseNotes()
11
        {
12
            return 'http://getsymphony.com/download/releases/version/2.6.6/';
13
        }
14
15
        public static function upgrade()
16
        {
17
            // Add the upload blacklist (see c763e6a)
18
            $blacklist = Symphony::Configuration()->get('upload_blacklist', 'admin');
19
            if (empty($blacklist)) {
20
                Symphony::Configuration()->set('upload_blacklist', '/\.(?:php[34567s]?|phtml)$/i', 'admin');
21
            }
22
23
            // Update the version information
24
            return parent::upgrade();
25
        }
26
    }
27