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

@@ 1035-1049 (lines=15) @@
1032
				{
1033
1034
					// Input extra_vars into $layout_info
1035
					if($layout_info->extra_var_count)
1036
					{
1037
1038
						foreach($layout_info->extra_var as $var_id => $val)
1039
						{
1040
							if($val->type == 'image')
1041
							{
1042
								if(strncmp('./files/attach/images/', $val->value, 22) === 0)
1043
								{
1044
									$val->value = Context::getRequestUri() . substr($val->value, 2);
1045
								}
1046
							}
1047
							$layout_info->{$var_id} = $val->value;
1048
						}
1049
					}
1050
					// Set menus into context
1051
					if($layout_info->menu_count)
1052
					{