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

system/helpers/form_helper.php 2 locations

@@ 855-877 (lines=23) @@
852
853
// ------------------------------------------------------------------------
854
855
if ( ! function_exists('form_error'))
856
{
857
	/**
858
	 * Form Error
859
	 *
860
	 * Returns the error for a specific form field. This is a helper for the
861
	 * form validation class.
862
	 *
863
	 * @param	string
864
	 * @param	string
865
	 * @param	string
866
	 * @return	string
867
	 */
868
	function form_error($field = '', $prefix = '', $suffix = '')
869
	{
870
		if (FALSE === ($OBJ =& _get_validation_object()))
871
		{
872
			return '';
873
		}
874
875
		return $OBJ->error($field, $prefix, $suffix);
876
	}
877
}
878
879
// ------------------------------------------------------------------------
880
@@ 881-902 (lines=22) @@
878
879
// ------------------------------------------------------------------------
880
881
if ( ! function_exists('validation_errors'))
882
{
883
	/**
884
	 * Validation Error String
885
	 *
886
	 * Returns all the errors associated with a form submission. This is a helper
887
	 * function for the form validation class.
888
	 *
889
	 * @param	string
890
	 * @param	string
891
	 * @return	string
892
	 */
893
	function validation_errors($prefix = '', $suffix = '')
894
	{
895
		if (FALSE === ($OBJ =& _get_validation_object()))
896
		{
897
			return '';
898
		}
899
900
		return $OBJ->error_string($prefix, $suffix);
901
	}
902
}
903
904
// ------------------------------------------------------------------------
905