<commit_before><?php

/*
 * Task runner, code generator and build tool for easier continuos integration
 *
 * @link      https://github.com/hiqdev/hidev
 * @package   hidev
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

namespace hidev\controllers;

use Symfony\Component\Yaml\Yaml;
use yii\helpers\ArrayHelper;

/**
 * Dump goal.
 */
class DumpController extends CommonController
{
    public function actionMake()
    {
        $data = $this->takeConfig()->getItems();
        unset($data['dump'], $data['start']);
        echo Yaml::dump(ArrayHelper::toArray($data), 4);
    }
}<commit_msg>+ `dump/internals`<commit_after><?php

/*
 * Task runner, code generator and build tool for easier continuos integration
 *
 * @link      https://github.com/hiqdev/hidev
 * @package   hidev
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

namespace hidev\controllers;

use Symfony\Component\Yaml\Yaml;
use Yii;
use yii\helpers\ArrayHelper;

/**
 * Dump goal.
 */
class DumpController extends CommonController
{
    public function actionMake()
    {
        $data = $this->takeConfig()->getItems();
        unset($data['dump'], $data['start']);
        echo Yaml::dump(ArrayHelper::toArray($data), 4);
    }

    public function actionInternals()
    {
        $internals = [
            'aliases'   => Yii::$aliases,
        ];
        echo Yaml::dump($internals, 4);
    }
}
{'fraction_non_alphanumeric': 0.15295717199184228, 'fraction_numerical': 0.014276002719238613, 'mean_word_length': 3.1002785515320332, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 2, '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': '5609982', 'n_tokens_mistral': 487, 'n_tokens_neox': 476, 'n_words': 104}