<commit_before><?php
error_reporting(-1);
ini_set('display_errors', 1);
// Delegate static file requests back to the PHP built-in webserver
if (php_sapi_name() === 'cli-server'
    && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))
) {
    return false;
}

chdir(dirname(__DIR__));
require 'vendor/autoload.php';

/** @var \Interop\Container\ContainerInterface $container */
$container = require 'config/container.php';

/** @var \Zend\Expressive\Application $app */
$app = $container->get('Zend\Expressive\Application');
$app->get('/', function () {
    return new \Zend\Diactoros\Response\HtmlResponse('<p>Hello, World!</p>');
}, 'home');
$app->run();<commit_msg>Removed global error-config (legacy from experimenting) in index.php<commit_after><?php
// Delegate static file requests back to the PHP built-in webserver
if (php_sapi_name() === 'cli-server'
    && is_file(__DIR__ . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH))
) {
    return false;
}

chdir(dirname(__DIR__));
require 'vendor/autoload.php';

/** @var \Interop\Container\ContainerInterface $container */
$container = require 'config/container.php';

/** @var \Zend\Expressive\Application $app */
$app = $container->get('Zend\Expressive\Application');
$app->get('/', function () {
    return new \Zend\Diactoros\Response\HtmlResponse('<p>Hello, World!</p>');
}, 'home');
$app->run();
{'fraction_non_alphanumeric': 0.18777292576419213, 'fraction_numerical': 0.001455604075691412, 'mean_word_length': 5.3657407407407405, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '2921994', 'n_tokens_mistral': 455, 'n_tokens_neox': 449, 'n_words': 91}