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/Installer.php 1 location

@@ 82-91 (lines=10) @@
79
         * @return boolean|void
80
         * @throws Exception
81
         */
82
        public static function initialiseLog($filename = null)
83
        {
84
            if (is_dir(INSTALL_LOGS) || General::realiseDirectory(INSTALL_LOGS,
85
                self::Configuration()->get('write_mode', 'directory'))
86
            ) {
87
                return parent::initialiseLog($filename);
88
            }
89
90
            return;
91
        }
92
93
        /**
94
         * Overrides the default `initialiseDatabase()` method

install/lib/Updater.php 1 location

@@ 60-67 (lines=8) @@
57
         * @return bool|void
58
         * @throws Exception
59
         */
60
        public static function initialiseLog($filename = null)
61
        {
62
            if (is_dir(INSTALL_LOGS) || General::realiseDirectory(INSTALL_LOGS,
63
                    self::Configuration()->get('write_mode', 'directory'))
64
            ) {
65
                parent::initialiseLog(INSTALL_LOGS . '/update');
66
            }
67
        }
68
69
        /**
70
         * Overrides the default `initialiseDatabase()` method