<commit_before><?php

declare(strict_types=1);

/*
 * This file is part of the ************************ package.
 * _____________                           _______________
 *  ______/     \__  _____  ____  ______  / /_  _________
 *   ____/ __   / / / / _ \/ __`\/ / __ \/ __ \/ __ \___
 *    __/ / /  / /_/ /  __/ /  \  / /_/ / / / / /_/ /__
 *      \_\ \_/\____/\___/_/   / / .___/_/ /_/ .___/
 *         \_\                /_/_/         /_/
 *
 * The PHP Framework For Code Poem As Free As Wind. <Query Yet Simple>
 * (c) 2010-2019 http://queryphp.com All rights reserved.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * phpstan 静态检查启动文件.
 *
 * @author <NAME> <<EMAIL>>
 *
 * @since 2019.05.13
 *
 * @version 1.0
 */
include __DIR__.'/tests/bootstrap.php';

// 导入助手函数
$fnDirs = [
    __DIR__.'/src/Leevel/Support/Type',
    __DIR__.'/src/Leevel/Support/Arr',
    __DIR__.'/src/Leevel/Support/Str',
    __DIR__.'/src/Leevel/Cache/Helper',
    __DIR__.'/src/Leevel/Filesystem/Fso',
    __DIR__.'/src/Leevel/Debug/Helper',
    __DIR__.'/src/Leevel/Encryption/Safe',
    __DIR__.'/src/Leevel/Encryption/Helper',
    __DIR__.'/src/Leevel/I18n/Helper',
    __DIR__.'/src/Leevel/Kernel/Helper',
    __DIR__.'/src/Leevel/Log/Helper',
    __DIR__.'/src/Leevel/Option/Helper',
    __DIR__.'/src/Leevel/Router/Helper',
    __DIR__.'/src/Leevel/Session/Helper',
    __DIR__.'/src/Leevel/Validate/Helper',
];

foreach ($fnDirs as $dir) {
    $files = glob($dir.'/*.php');

    foreach ($files as $file) {
        include_once $file;
    }
}<commit_msg>chore(ignore): ignore phpstan-bootstrap for tests<commit_after><?php

declare(strict_types=1);

/*
 * This file is part of the ************************ package.
 * _____________                           _______________
 *  ______/     \__  _____  ____  ______  / /_  _________
 *   ____/ __   / / / / _ \/ __`\/ / __ \/ __ \/ __ \___
 *    __/ / /  / /_/ /  __/ /  \  / /_/ / / / / /_/ /__
 *      \_\ \_/\____/\___/_/   / / .___/_/ /_/ .___/
 *         \_\                /_/_/         /_/
 *
 * The PHP Framework For Code Poem As Free As Wind. <Query Yet Simple>
 * (c) 2010-2019 http://queryphp.com All rights reserved.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * phpstan 静态检查启动文件.
 *
 * @author <NAME> <<EMAIL>>
 *
 * @since 2019.05.13
 *
 * @version 1.0
 */
include __DIR__.'/tests/bootstrap.php'; /** @codeCoverageIgnore */

/**
 * 导入助手函数.
 *
 * @codeCoverageIgnoreStart
 */
$fnDirs = [
    __DIR__.'/src/Leevel/Support/Type',
    __DIR__.'/src/Leevel/Support/Arr',
    __DIR__.'/src/Leevel/Support/Str',
    __DIR__.'/src/Leevel/Cache/Helper',
    __DIR__.'/src/Leevel/Filesystem/Fso',
    __DIR__.'/src/Leevel/Debug/Helper',
    __DIR__.'/src/Leevel/Encryption/Safe',
    __DIR__.'/src/Leevel/Encryption/Helper',
    __DIR__.'/src/Leevel/I18n/Helper',
    __DIR__.'/src/Leevel/Kernel/Helper',
    __DIR__.'/src/Leevel/Log/Helper',
    __DIR__.'/src/Leevel/Option/Helper',
    __DIR__.'/src/Leevel/Router/Helper',
    __DIR__.'/src/Leevel/Session/Helper',
    __DIR__.'/src/Leevel/Validate/Helper',
];

foreach ($fnDirs as $dir) {
    $files = glob($dir.'/*.php');

    foreach ($files as $file) {
        include_once $file;
    }
}
// @codeCoverageIgnoreEnd
{'fraction_non_alphanumeric': 0.1908262275801235, 'fraction_numerical': 0.012349309026756836, 'mean_word_length': 2.1354838709677417, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3267915', 'n_tokens_mistral': 1316, 'n_tokens_neox': 1270, 'n_words': 181}