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 = 18-18 lines in 4 locations

component/admin/models/packagefile.php 2 locations

@@ 230-247 (lines=18) @@
227
				$package->translations  = array();
228
				$package->administrator = array();
229
230
				if ($xml->administrator)
231
				{
232
					foreach ($xml->administrator->children() as $file)
233
					{
234
						$data = (string) $file;
235
236
						if ($data)
237
						{
238
							$package->translations[] = "administrator_$data";
239
						}
240
						else
241
						{
242
							$package->translations[] = "administrator_joomla";
243
						}
244
245
						$package->administrator[] = $data;
246
					}
247
				}
248
249
				$package->site = array();
250
@@ 251-268 (lines=18) @@
248
249
				$package->site = array();
250
251
				if ($xml->site)
252
				{
253
					foreach ($xml->site->children() as $file)
254
					{
255
						$data = (string) $file;
256
257
						if ($data)
258
						{
259
							$package->translations[] = "site_$data";
260
						}
261
						else
262
						{
263
							$package->translations[] = "site_joomla";
264
						}
265
266
						$package->site[] = $data;
267
					}
268
				}
269
			}
270
			else
271
			{

component/admin/models/package.php 2 locations

@@ 232-249 (lines=18) @@
229
				$package->translations  = array();
230
				$package->administrator = array();
231
232
				if ($xml->administrator)
233
				{
234
					foreach ($xml->administrator->children() as $file)
235
					{
236
						$data = (string) $file;
237
238
						if ($data)
239
						{
240
							$package->translations[] = "administrator_$data";
241
						}
242
						else
243
						{
244
							$package->translations[] = "administrator_joomla";
245
						}
246
247
						$package->administrator[] = $data;
248
					}
249
				}
250
251
				$package->site = array();
252
@@ 253-270 (lines=18) @@
250
251
				$package->site = array();
252
253
				if ($xml->site)
254
				{
255
					foreach ($xml->site->children() as $file)
256
					{
257
						$data = (string) $file;
258
259
						if ($data)
260
						{
261
							$package->translations[] = "site_$data";
262
						}
263
						else
264
						{
265
							$package->translations[] = "site_joomla";
266
						}
267
268
						$package->site[] = $data;
269
					}
270
				}
271
			}
272
			else
273
			{