<commit_before><?php

namespace Suyabay\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
    /**
     * The application's global HTTP middleware stack.
     *
     * @var array
     */
    protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        \Suyabay\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        \Illuminate\Session\Middleware\StartSession::class,
        \Illuminate\View\Middleware\ShareErrorsFromSession::class,
        //\Suyabay\Http\Middleware\VerifyCsrfToken::class,
    ];

    /**
     * The application's route middleware.
     *
     * @var array
     */
    protected $routeMiddleware = [
        'auth'            => \Suyabay\Http\Middleware\Authenticate::class,
        'auth.basic'      => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
        'guest'           => \Suyabay\Http\Middleware\RedirectIfAuthenticated::class,
        'cors'            => \Suyabay\Http\Middleware\CORS::class,
        'premium.user'    => \Suyabay\Http\Middleware\premiumUser::class,
        'superadmin.user' => \Suyabay\Http\Middleware\SuperAdminUser::class,
        'not.premium'     => \Suyabay\Http\Middleware\PreventRegularUsers::class,
    ];
}<commit_msg>[bug #121931919] Add super admin middle to kernel.php<commit_after><?php

namespace Suyabay\Http;

use Illuminate\Foundation\Http\Kernel as HttpKernel;

class Kernel extends HttpKernel
{
    /**
     * The application's global HTTP middleware stack.
     *
     * @var array
     */
    protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        \Suyabay\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        \Illuminate\Session\Middleware\StartSession::class,
        \Illuminate\View\Middleware\ShareErrorsFromSession::class,
        //\Suyabay\Http\Middleware\VerifyCsrfToken::class,
    ];

    /**
     * The application's route middleware.
     *
     * @var array
     */
    protected $routeMiddleware = [
        'auth'            => \Suyabay\Http\Middleware\Authenticate::class,
        'auth.basic'      => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
        'guest'           => \Suyabay\Http\Middleware\RedirectIfAuthenticated::class,
        'cors'            => \Suyabay\Http\Middleware\CORS::class,
        'premium.user'    => \Suyabay\Http\Middleware\premiumUser::class,
        'superadmin.user' => \Suyabay\Http\Middleware\SuperAdminUser::class,
        'not.premium'     => \Suyabay\Http\Middleware\RegularAndSuperAdminUser::class,
        'not.superadmin'  => \Suyabay\Http\Middleware\OnlySuperAdminUser::class,
    ];
}
{'fraction_non_alphanumeric': 0.12632321806633734, 'fraction_numerical': 0.003175723359209598, 'mean_word_length': 2.8207547169811322, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, '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': '5130902', 'n_tokens_mistral': 871, 'n_tokens_neox': 900, 'n_words': 107}