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

modules/importer/ttimport.class.php 1 location

@@ 176-181 (lines=6) @@
173
			$obj->notify_message = 'N';
174
			// Change content information (attachment)
175
			$obj->content = str_replace('[##_ATTACH_PATH_##]/','',$obj->content);
176
			if(count($files))
177
			{
178
				foreach($files as $key => $val) {
179
					$obj->content = preg_replace('/(src|href)\=(["\']?)'.preg_quote($key).'(["\']?)/i','$1="'.$val->url.'"',$obj->content);
180
				}
181
			}
182
183
			$obj->content = preg_replace_callback('!\[##_Movie\|([^\|]*)\|(.*?)_##\]!is', array($this, '_replaceTTMovie'), $obj->content);
184

modules/importer/importer.admin.controller.php 1 location

@@ 1003-1009 (lines=7) @@
1000
					$obj->email_address = $obj->user_id . '@example.com';
1001
				}
1002
				// Change content information (attachment)
1003
				if(count($files))
1004
				{
1005
					foreach($files as $key => $val)
1006
					{
1007
						$obj->content = preg_replace('/(src|href)\=(["\']?)'.preg_quote($key).'(["\']?)/i','$1="'.$val.'"',$obj->content);
1008
					}
1009
				}
1010
				// Comment list first
1011
				$list_args = new stdClass;
1012
				$list_args->comment_srl = $obj->comment_srl;