<commit_before><?php

namespace Bolt;

use Bolt\Events\ControllerEvents;
use Bolt\Events\MountEvent;
use Bolt\Exception\LowlevelException;
use Bolt\Helpers\Str;
use Bolt\Provider\LoggerServiceProvider;
use Bolt\Provider\PathServiceProvider;
use Bolt\Provider\WhoopsServiceProvider;
use Cocur\Slugify\Bridge\Silex\SlugifyServiceProvider;
use Doctrine\DBAL\DBALException;
use Silex;
use Symfony\Component\Stopwatch;

class Application extends Silex\Application
{
    /**
     * @deprecated Since 2.3, to be removed in 3.0. Use $app['locale_fallbacks'] instead.
     */
    const DEFAULT_LOCALE = 'en_GB';

    /**
     * @param array $values
     */
    public function __construct(array $values = [])
    {
        $values['bolt_version'] = '2.3.0';
        $values['bolt_name'] = 'alpha 4';
        $values['bolt_released'] = false; // `true` for stable releases, `false` for alpha, beta and RC.
        $values['bolt_long_version'] = function ($app) {
            return $app['bolt_version'] . ' ' . $app['bolt_name'];
        };

        /** @internal Parameter to track a deprecated PHP version */
        $values['deprecated.php'] = version_compare(PHP_VERSION, '5.5.9', '<');<commit_msg>Bumping version to 2.3.0 alpha 5<commit_after><?php

namespace Bolt;

use Bolt\Events\ControllerEvents;
use Bolt\Events\MountEvent;
use Bolt\Exception\LowlevelException;
use Bolt\Helpers\Str;
use Bolt\Provider\LoggerServiceProvider;
use Bolt\Provider\PathServiceProvider;
use Bolt\Provider\WhoopsServiceProvider;
use Cocur\Slugify\Bridge\Silex\SlugifyServiceProvider;
use Doctrine\DBAL\DBALException;
use Silex;
use Symfony\Component\Stopwatch;

class Application extends Silex\Application
{
    /**
     * @deprecated Since 2.3, to be removed in 3.0. Use $app['locale_fallbacks'] instead.
     */
    const DEFAULT_LOCALE = 'en_GB';

    /**
     * @param array $values
     */
    public function __construct(array $values = [])
    {
        $values['bolt_version'] = '2.3.0';
        $values['bolt_name'] = 'alpha 5';
        $values['bolt_released'] = false; // `true` for stable releases, `false` for alpha, beta and RC.
        $values['bolt_long_version'] = function ($app) {
            return $app['bolt_version'] . ' ' . $app['bolt_name'];
        };

        /** @internal Parameter to track a deprecated PHP version */
        $values['deprecated.php'] = version_compare(PHP_VERSION, '5.5.9', '<');
{'fraction_non_alphanumeric': 0.138160632542655, 'fraction_numerical': 0.010819808572617561, 'mean_word_length': 3.4684014869888475, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6676300', 'n_tokens_mistral': 784, 'n_tokens_neox': 760, 'n_words': 173}