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

modules/layout/layout.view.php 1 location

@@ 138-152 (lines=15) @@
135
					// Adhoc...
136
137
					// Input extra_vars into $layout_info
138
					if($layoutInfo->extra_var_count)
139
					{
140
141
						foreach($layoutInfo->extra_var as $var_id => $val)
142
						{
143
							if($val->type == 'image')
144
							{
145
								if(strncmp('./files/attach/images/', $val->value, 22) === 0)
146
								{
147
									$val->value = Context::getRequestUri() . substr($val->value, 2);
148
								}
149
							}
150
							$layoutInfo->{$var_id} = $val->value;
151
						}
152
					}
153
154
					// Set menus into context
155
					if($layoutInfo->menu_count)

classes/module/ModuleHandler.class.php 1 location

@@ 1068-1082 (lines=15) @@
1065
				{
1066
1067
					// Input extra_vars into $layout_info
1068
					if($layout_info->extra_var_count)
1069
					{
1070
1071
						foreach($layout_info->extra_var as $var_id => $val)
1072
						{
1073
							if($val->type == 'image')
1074
							{
1075
								if(strncmp('./files/attach/images/', $val->value, 22) === 0)
1076
								{
1077
									$val->value = Context::getRequestUri() . substr($val->value, 2);
1078
								}
1079
							}
1080
							$layout_info->{$var_id} = $val->value;
1081
						}
1082
					}
1083
					// Set menus into context
1084
					if($layout_info->menu_count)
1085
					{