<commit_before><?php


error_reporting(E_ALL);
ini_set('log_errors', 1);
ini_set('error_log', "/tmp/external.log");



if (file_exists('../Include/Config.php')) {
    header('Location: ../index.php');

} else {
    require_once dirname(__FILE__) . '/../vendor/autoload.php';

    $rootPath = str_replace('/setup/index.php', '', $_SERVER['SCRIPT_NAME']);
    ChurchCRM\dto\SystemURLs::init($rootPath, '', dirname(__FILE__)."/../");

    $app = new \Slim\App();
    $container = $app->getContainer();

    require __DIR__ . '/../Include/slim/error-handler.php';
    $settings = require __DIR__ . '/../Include/slim/settings.php';<commit_msg>Apply fixes from StyleCI (#2446)<commit_after><?php


error_reporting(E_ALL);
ini_set('log_errors', 1);
ini_set('error_log', "/tmp/external.log");



if (file_exists('../Include/Config.php')) {
    header('Location: ../index.php');
} else {
    require_once dirname(__FILE__) . '/../vendor/autoload.php';

    $rootPath = str_replace('/setup/index.php', '', $_SERVER['SCRIPT_NAME']);
    ChurchCRM\dto\SystemURLs::init($rootPath, '', dirname(__FILE__)."/../");

    $app = new \Slim\App();
    $container = $app->getContainer();

    require __DIR__ . '/../Include/slim/error-handler.php';
    $settings = require __DIR__ . '/../Include/slim/settings.php';
{'fraction_non_alphanumeric': 0.22024729520865532, 'fraction_numerical': 0.00463678516228748, 'mean_word_length': 3.832089552238806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '191799', 'n_tokens_mistral': 466, 'n_tokens_neox': 440, 'n_words': 65}