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

symphony/content/content.blueprintsdatasources.php 1 location

@@ 137-145 (lines=9) @@
134
135
            $provided = false;
136
137
            if (!empty($providers)) {
138
                foreach ($providers as $providerClass => $provider) {
139
                    if ($fields['source'] === call_user_func(array($providerClass, 'getClass'))) {
140
                        $fields = array_merge($fields, $existing->settings());
141
                        $provided = true;
142
                        break;
143
                    }
144
                }
145
            }
146
147
            if ($provided === false) {
148
                switch ($fields['source']) {

symphony/content/content.blueprintsevents.php 1 location

@@ 96-104 (lines=9) @@
93
            $fields['source'] = $existing->getSource();
94
            $provided = false;
95
96
            if (!empty($providers)) {
97
                foreach ($providers as $providerClass => $provider) {
98
                    if ($fields['source'] === call_user_func(array($providerClass, 'getClass'))) {
99
                        $fields = array_merge($fields, $existing->settings());
100
                        $provided = true;
101
                        break;
102
                    }
103
                }
104
            }
105
106
            if (!$provided) {
107
                if (isset($existing->eParamFILTERS)) {