<commit_before><?php

/**
 * convert a money amount (represented by a float or string (based on locale) ie.: R$ 5,00) to cents (represented by an int).
 *
 * @param float $amount
 *
 * @throws \UnexpectedValueException
 *
 * @return int
 */
function toCents(float $amount): int
{
    return Moip\Helper\Utils::toCents($amount);
}<commit_msg>if function not exists<commit_after><?php

if (! function_exists('toCents')) {
    /**
     * convert a money amount (represented by a float or string (based on locale) ie.: R$ 5,00) to cents (represented by an int).
     *
     * @param float $amount
     *
     * @throws \UnexpectedValueException
     *
     * @return int
     */
    function toCents(float $amount): int
    {
        return Moip\Helper\Utils::toCents($amount);
    }
}
{'fraction_non_alphanumeric': 0.13188220230473752, 'fraction_numerical': 0.0076824583866837385, 'mean_word_length': 3.051813471502591, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3912355', 'n_tokens_mistral': 252, 'n_tokens_neox': 240, 'n_words': 77}