<commit_before><?php

namespace Nova\Foundation;

use Closure;

use Stack\Builder;

use Nova\Http\Request;
use Nova\Http\Response;
use Nova\Config\FileLoader;
use Nova\Container\Container;
use Nova\Filesystem\Filesystem;
use Nova\Pipeline\Pipeline;
use Nova\Support\Facades\Facade;
use Nova\Support\ServiceProvider;
use Nova\Events\EventServiceProvider;
use Nova\Log\LogServiceProvider;
use Nova\Routing\RoutingServiceProvider;
use Nova\Exception\ExceptionServiceProvider;
use Nova\Config\FileEnvironmentVariablesLoader;

use Symfony\Component\HttpKernel\Exception\HttpException;
use Symfony\Component\Debug\Exception\FatalErrorException;
use Symfony\Component\Debug\Exception\FatalThrowableError;

use Nova\Support\Contracts\ResponsePreparerInterface;

use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

use Exception;
use Throwable;


class Application extends Container implements ResponsePreparerInterface
{
    /**
     * The Nova framework version.
     *
     * @var string
     */
    const VERSION = '4.0.28';

    /**
     * Indicates if the application has "booted".
     *
     * @var bool
     */
    protected $booted = false;

    /**
     * The array of booting callbacks.
     *
     * @var array
     */
    protected $bootingCallbacks = array();

    /**
     * The array of booted callbacks.
     *
     * @var array
     */
    protected $bootedCallbacks = array();

    /**
     * The array of finish callbacks.
     *
     * @var array
     */
    protected $terminatingCallbacks = array();

    /**
     * All of the developer defined middlewares.<commit_msg>Update the Kernel version<commit_after><?php

namespace Nova\Foundation;

use Closure;

use Stack\Builder;

use Nova\Http\Request;
use Nova\Http\Response;
use Nova\Config\FileLoader;
use Nova\Container\Container;
use Nova\Filesystem\Filesystem;
use Nova\Pipeline\Pipeline;
use Nova\Support\Facades\Facade;
use Nova\Support\ServiceProvider;
use Nova\Events\EventServiceProvider;
use Nova\Log\LogServiceProvider;
use Nova\Routing\RoutingServiceProvider;
use Nova\Exception\ExceptionServiceProvider;
use Nova\Config\FileEnvironmentVariablesLoader;

use Symfony\Component\HttpKernel\Exception\HttpException;
use Symfony\Component\Debug\Exception\FatalErrorException;
use Symfony\Component\Debug\Exception\FatalThrowableError;

use Nova\Support\Contracts\ResponsePreparerInterface;

use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

use Exception;
use Throwable;


class Application extends Container implements ResponsePreparerInterface
{
    /**
     * The Nova framework version.
     *
     * @var string
     */
    const VERSION = '4.0.29';

    /**
     * Indicates if the application has "booted".
     *
     * @var bool
     */
    protected $booted = false;

    /**
     * The array of booting callbacks.
     *
     * @var array
     */
    protected $bootingCallbacks = array();

    /**
     * The array of booted callbacks.
     *
     * @var array
     */
    protected $bootedCallbacks = array();

    /**
     * The array of finish callbacks.
     *
     * @var array
     */
    protected $terminatingCallbacks = array();

    /**
     * All of the developer defined middlewares.
{'fraction_non_alphanumeric': 0.09567723342939481, 'fraction_numerical': 0.0023054755043227667, 'mean_word_length': 3.472938144329897, 'pattern_counts': {'":': 0, '<': 5, '<?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': '220459', 'n_tokens_mistral': 998, 'n_tokens_neox': 981, 'n_words': 236}