<commit_before><?php

namespace Shoperti\PayMe\Support;

class Helper
{
    /**
     * Remove all accents from string.
     *
     * @param string
     *
     * @return mixed
     */
    public static function cleanAccents($string)
    {
        $notAllowed = ['á','é','í','ó','ú','Á','É','Í','Ó','Ú','ñ','À','Ã','Ì','Ò','Ù','Ã™','Ã ','Ã¨','Ã¬','Ã²','Ã¹','ç','Ç','Ã¢','ê','Ã®','Ã´','Ã»','Ã‚','ÃŠ','ÃŽ','Ã”','Ã›','ü','Ã¶','Ã–','Ã¯','Ã¤','«','Ò','Ã','Ã„','Ã‹'];
        $allowed = ['a','e','i','o','u','A','E','I','O','U','n','N','A','E','I','O','U','a','e','i','o','u','c','C','a','e','i','o','u','A','E','I','O','U','u','o','O','i','a','e','U','I','A','E'];
        $text = str_replace($notAllowed, $allowed, $string);

        return $text;
    }

    /**
     * Resolves a camel case class name.
     *
     * @return string
     */
    public static function className($value)
    {
        $value = ucwords(str_replace(['-', '_'], ' ', $value));
        
        return ucfirst(str_replace(' ', '', $value));
    }
}<commit_msg>Applied fixes from StyleCI<commit_after><?php

namespace Shoperti\PayMe\Support;

class Helper
{
    /**
     * Remove all accents from string.
     *
     * @param string
     *
     * @return mixed
     */
    public static function cleanAccents($string)
    {
        $notAllowed = ['á','é','í','ó','ú','Á','É','Í','Ó','Ú','ñ','À','Ã','Ì','Ò','Ù','Ã™','Ã ','Ã¨','Ã¬','Ã²','Ã¹','ç','Ç','Ã¢','ê','Ã®','Ã´','Ã»','Ã‚','ÃŠ','ÃŽ','Ã”','Ã›','ü','Ã¶','Ã–','Ã¯','Ã¤','«','Ò','Ã','Ã„','Ã‹'];
        $allowed = ['a','e','i','o','u','A','E','I','O','U','n','N','A','E','I','O','U','a','e','i','o','u','c','C','a','e','i','o','u','A','E','I','O','U','u','o','O','i','a','e','U','I','A','E'];
        $text = str_replace($notAllowed, $allowed, $string);

        return $text;
    }

    /**
     * Resolves a camel case class name.
     *
     * @return string
     */
    public static function className($value)
    {
        $value = ucwords(str_replace(['-', '_'], ' ', $value));

        return ucfirst(str_replace(' ', '', $value));
    }
}
{'fraction_non_alphanumeric': 0.36407532592950265, 'fraction_numerical': 0.0, 'mean_word_length': 3.6457399103139014, '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': '477102', 'n_tokens_mistral': 806, 'n_tokens_neox': 825, 'n_words': 101}