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

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