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

modules/layout/layout.admin.view.php 1 location

@@ 316-324 (lines=9) @@
313
			}
314
		}
315
		// menu in layout information becomes an argument for Context:: set
316
		if($layout_info->menu_count)
317
		{
318
			foreach($layout_info->menu as $menu_id => $menu)
319
			{
320
				$menu->php_file = FileHandler::getRealPath($menu->php_file);
321
				if(FileHandler::exists($menu->php_file)) include($menu->php_file);
322
				Context::set($menu_id, $menu);
323
			}
324
		}
325
326
		Context::set('layout_info', $layout_info);
327
		Context::set('content', Context::getLang('layout_preview_content'));

modules/layout/layout.view.php 1 location

@@ 352-361 (lines=10) @@
349
			}
350
		}
351
		// menu in layout information becomes an argument for Context:: set
352
		if($layout_info->menu_count)
353
		{
354
			foreach($layout_info->menu as $menu_id => $menu)
355
			{
356
				$menu->php_file = FileHandler::getRealPath($menu->php_file);
357
				if(FileHandler::exists($menu->php_file)) include($menu->php_file);
358
359
				Context::set($menu_id, $menu);
360
			}
361
		}
362
363
		Context::set('layout_info', $layout_info);
364
		Context::set('content', Context::getLang('layout_preview_content'));