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-10 lines in 2 locations

install/lib/class.installer.php 1 location

@@ 64-73 (lines=10) @@
61
         * @return boolean|void
62
         * @throws Exception
63
         */
64
        public static function initialiseLog($filename = null)
65
        {
66
            if (is_dir(INSTALL_LOGS) || General::realiseDirectory(INSTALL_LOGS,
67
                    self::Configuration()->get('write_mode', 'directory'))
68
            ) {
69
                return parent::initialiseLog($filename);
70
            }
71
72
            return;
73
        }
74
75
        /**
76
         * Overrides the default `initialiseDatabase()` method

install/lib/class.updater.php 1 location

@@ 49-56 (lines=8) @@
46
         * @return bool|void
47
         * @throws Exception
48
         */
49
        public static function initialiseLog($filename = null)
50
        {
51
            if (is_dir(INSTALL_LOGS) || General::realiseDirectory(INSTALL_LOGS,
52
                    self::Configuration()->get('write_mode', 'directory'))
53
            ) {
54
                parent::initialiseLog(INSTALL_LOGS . '/update');
55
            }
56
        }
57
58
        /**
59
         * Overrides the default `initialiseDatabase()` method