<commit_before>'use strict';

angular.module('ui.utils.masks.br.phone', [])
.factory('PhoneValidators', [function() {
	return {
		brPhoneNumber: function (ctrl, value) {
			var valid = ctrl.$isEmpty(value) || value.length === 10 || value.length === 11;
			ctrl.$setValidity('br-phone-number', valid);
			return value;
		}
	};<commit_msg>fix(ui-br-phone-number): change validationErrorKey to camelCase (brPhoneNumber)<commit_after>'use strict';

angular.module('ui.utils.masks.br.phone', [])
.factory('PhoneValidators', [function() {
	return {
		brPhoneNumber: function (ctrl, value) {
			var valid = ctrl.$isEmpty(value) || value.length === 10 || value.length === 11;
			ctrl.$setValidity('brPhoneNumber', valid);
			return value;
		}
	};
{'fraction_non_alphanumeric': 0.1842818428184282, 'fraction_numerical': 0.01084010840108401, 'mean_word_length': 4.912, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3186458', 'n_tokens_mistral': 265, 'n_tokens_neox': 238, 'n_words': 47}