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

system/helpers/html_helper.php 1 location

@@ 236-255 (lines=20) @@
233
	{
234
		static $doctypes;
235
236
		if ( ! is_array($doctypes))
237
		{
238
			if (file_exists(APPPATH.'config/doctypes.php'))
239
			{
240
				include(APPPATH.'config/doctypes.php');
241
			}
242
243
			if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/doctypes.php'))
244
			{
245
				include(APPPATH.'config/'.ENVIRONMENT.'/doctypes.php');
246
			}
247
248
			if (empty($_doctypes) OR ! is_array($_doctypes))
249
			{
250
				$doctypes = array();
251
				return FALSE;
252
			}
253
254
			$doctypes = $_doctypes;
255
		}
256
257
		return isset($doctypes[$type]) ? $doctypes[$type] : FALSE;
258
	}

system/helpers/smiley_helper.php 1 location

@@ 232-251 (lines=20) @@
229
	{
230
		static $_smileys;
231
232
		if ( ! is_array($_smileys))
233
		{
234
			if (file_exists(APPPATH.'config/smileys.php'))
235
			{
236
				include(APPPATH.'config/smileys.php');
237
			}
238
239
			if (file_exists(APPPATH.'config/'.ENVIRONMENT.'/smileys.php'))
240
			{
241
				include(APPPATH.'config/'.ENVIRONMENT.'/smileys.php');
242
			}
243
244
			if (empty($smileys) OR ! is_array($smileys))
245
			{
246
				$_smileys = array();
247
				return FALSE;
248
			}
249
250
			$_smileys = $smileys;
251
		}
252
253
		return $_smileys;
254
	}