<commit_before><?php

namespace Faker\Provider\ko_KR;

class PhoneNumber extends \Faker\Provider\PhoneNumber
{
    protected static $formats = array(
        '010-####-####',
        '070-####-####',
        '02-####-####',
        '03#-####-####',
        '04#-####-####',
        '05#-####-####',
        '06#-####-####',
        '1588-####',
    );
    
    protected static $cellPhoneFormats = array(
        '010-####-####',
    );
    
    public function cellPhoneNumber()
    {
        $format = self::randomElement(static::$cellPhoneFormats);

        return self::numerify($this->generator->parse($format));
    }
    
    protected static $commonPhoneFormats = array(
        // Standard formats
        '070-####-####',
        '02-####-####',
        '03#-####-####',
        '04#-####-####',
        '05#-####-####',
        '06#-####-####',
    );
    
    public function commonPhoneNumber()
    {
        $format = self::randomElement(static::$commonPhoneFormats);

        return self::numerify($this->generator->parse($format));
    }
}<commit_msg>modified phone number format<commit_after><?php

namespace Faker\Provider\ko_KR;

class PhoneNumber extends \Faker\Provider\PhoneNumber
{
    //reference : https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8_%EC%B2%B4%EA%B3%84
    
    protected static $formats = array(
        //local area phone format
        '070-####-####',
        '02-####-####',
        '03#-####-####',
        '04#-####-####',
        '05#-####-####',
        '06#-####-####',
        
        //cell phone format
        '010-####-####',
        
        //others: Intelligent Network(기간통신사업자)
        '1588-####',
        '1577-####',
        '1899-####',
        '1544-####',
        '1644-####',
        '1661-####',
        '1566-####',
        '1600-####',
        '1670-####',
        '1688-####',
        '1666-####',
        '1599-####',
        '1877-####',
        '1855-####',
        '1800-####',
    );
    
    public function localAreaPhoneNumber()
    {
        $format = self::randomElement(array_slice(static::$formats, 0, 6));

        return self::numerify($this->generator->parse($format));
    }
    
    
    
    public function cellPhoneNumber()
    {
        $format = self::randomElement(array_slice(static::$formats, 6, 1));

        return self::numerify($this->generator->parse($format));
    }
}
{'fraction_non_alphanumeric': 0.25863486842105265, 'fraction_numerical': 0.05921052631578947, 'mean_word_length': 2.1192307692307693, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 1, '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': '5616047', 'n_tokens_mistral': 896, 'n_tokens_neox': 826, 'n_words': 116}