<commit_before><?php
/**
 * User: NIXin
 * Date: 09.07.12
 * Time: 18:35
 */

namespace Tools;
use Tools\SuperStack;
use Tools\StringTools;

class ParseNginxConfig
{
    public static function doParse($toFormat)
    {
        $toFormat = StringTools::removeNewLines($toFormat);
        return StackUp($toFormat, '{', '}');
    }
}
<commit_msg>StackUp fix<commit_after><?php
/**
 * User: NIXin
 * Date: 09.07.12
 * Time: 18:35
 */

namespace Tools;
use Tools\SuperStack;
use Tools\StringTools;

class ParseNginxConfig
{
    public static function doParse($toFormat)
    {
        $toFormat = StringTools::removeNewLines($toFormat);
        return SuperStack::StackUp($toFormat, '{', '}');
    }
}

{'fraction_non_alphanumeric': 0.14942528735632185, 'fraction_numerical': 0.028735632183908046, 'mean_word_length': 3.585526315789474, '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': '1679808', 'n_tokens_mistral': 250, 'n_tokens_neox': 235, 'n_words': 47}