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

classes/module/ModuleHandler.class.php 1 location

@@ 938-952 (lines=15) @@
935
				{
936
937
					// Input extra_vars into $layout_info
938
					if($layout_info->extra_var_count)
939
					{
940
941
						foreach($layout_info->extra_var as $var_id => $val)
942
						{
943
							if($val->type == 'image')
944
							{
945
								if(strncmp('./files/attach/images/', $val->value, 22) === 0)
946
								{
947
									$val->value = Context::getRequestUri() . substr($val->value, 2);
948
								}
949
							}
950
							$layout_info->{$var_id} = $val->value;
951
						}
952
					}
953
					// Set menus into context
954
					if($layout_info->menu_count)
955
					{

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)