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

@@ 189-197 (lines=9) @@
186
187
                $provided = false;
188
189
                if (!empty($providers)) {
190
                    foreach ($providers as $providerClass => $provider) {
191
                        if ($fields['source'] === call_user_func(array($providerClass, 'getClass'))) {
192
                            $fields = array_merge($fields, $existing->settings());
193
                            $provided = true;
194
                            break;
195
                        }
196
                    }
197
                }
198
199
                if ($provided === false) {
200
                    switch ($fields['source']) {

symphony/content/content.blueprintsevents.php 1 location

@@ 87-95 (lines=9) @@
84
                $fields['source'] = $existing->getSource();
85
                $provided = false;
86
87
                if (!empty($providers)) {
88
                    foreach ($providers as $providerClass => $provider) {
89
                        if ($fields['source'] === call_user_func(array($providerClass, 'getClass'))) {
90
                            $fields = array_merge($fields, $existing->settings());
91
                            $provided = true;
92
                            break;
93
                        }
94
                    }
95
                }
96
97
                if (!$provided) {
98
                    if (isset($existing->eParamFILTERS)) {