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

system/helpers/text_helper.php 1 location

@@ 436-439 (lines=4) @@
433
		$str = preg_replace('| +|', ' ', $str);
434
435
		// Standardize newlines
436
		if (strpos($str, "\r") !== FALSE)
437
		{
438
			$str = str_replace(array("\r\n", "\r"), "\n", $str);
439
		}
440
441
		// If the current word is surrounded by {unwrap} tags we'll
442
		// strip the entire chunk and replace it with a marker.

system/libraries/Email.php 2 locations

@@ 1182-1185 (lines=4) @@
1179
		}
1180
1181
		// Standardize newlines
1182
		if (strpos($str, "\r") !== FALSE)
1183
		{
1184
			$str = str_replace(array("\r\n", "\r"), "\n", $str);
1185
		}
1186
1187
		// Reduce multiple spaces at end of line
1188
		$str = preg_replace('| +\n|', "\n", $str);
@@ 1510-1513 (lines=4) @@
1507
		$str = preg_replace(array('| +|', '/\x00+/'), array(' ', ''), $str);
1508
1509
		// Standardize newlines
1510
		if (strpos($str, "\r") !== FALSE)
1511
		{
1512
			$str = str_replace(array("\r\n", "\r"), "\n", $str);
1513
		}
1514
1515
		$escape = '=';
1516
		$output = '';

system/libraries/Typography.php 1 location

@@ 116-119 (lines=4) @@
113
		}
114
115
		// Standardize Newlines to make matching easier
116
		if (strpos($str, "\r") !== FALSE)
117
		{
118
			$str = str_replace(array("\r\n", "\r"), "\n", $str);
119
		}
120
121
		// Reduce line breaks.  If there are more than two consecutive linebreaks
122
		// we'll compress them down to a maximum of two since there's no benefit to more.