<commit_before><?php

Route::group(['prefix'     => 'auth', 'namespace' => 'CachetHQ\Cachet\Http\Controllers'], function () {
    Route::group(['before' => 'has_setting:app_name'], function () {
        // Login routes
        Route::get('login', [
            'before' => 'guest',
            'as'     => 'login',
            'uses'   => 'AuthController@showLogin',
        ]);

        Route::post('login', [
            'before' => 'guest|csrf|login_throttling',
            'as'     => 'logout',
            'uses'   => 'AuthController@postLogin',
        ]);

        // Two factor authorization
        Route::get('2fa', [
            'as'   => 'two-factor',
            'uses' => 'AuthController@showTwoFactorAuth',
        ]);

        Route::post('2fa', 'AuthController@postTwoFactor');
    });

    Route::group(['before' => 'auth'], function () {
        Route::get('logout', [
            'as'   => 'logout',
            'uses' => 'AuthController@logoutAction',
        ]);
    });
});
<commit_msg>Fix CS<commit_after><?php

Route::group([
    'prefix'    => 'auth',
    'namespace' => 'CachetHQ\Cachet\Http\Controllers'
], function () {
    Route::group(['before' => 'has_setting:app_name'], function () {
        // Login routes
        Route::get('login', [
            'before' => 'guest',
            'as'     => 'login',
            'uses'   => 'AuthController@showLogin',
        ]);

        Route::post('login', [
            'before' => 'guest|csrf|login_throttling',
            'as'     => 'logout',
            'uses'   => 'AuthController@postLogin',
        ]);

        // Two factor authorization
        Route::get('2fa', [
            'as'   => 'two-factor',
            'uses' => 'AuthController@showTwoFactorAuth',
        ]);

        Route::post('2fa', 'AuthController@postTwoFactor');
    });

    Route::group(['before' => 'auth'], function () {
        Route::get('logout', [
            'as'   => 'logout',
            'uses' => 'AuthController@logoutAction',
        ]);
    });
});

{'fraction_non_alphanumeric': 0.19980217606330367, 'fraction_numerical': 0.0019782393669634025, 'mean_word_length': 1.9881831610044314, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '6136596', 'n_tokens_mistral': 611, 'n_tokens_neox': 602, 'n_words': 88}