willpower232/TOTPBTF3

View on GitHub
routes/web.php

Summary

Maintainability
A
0 mins
Test Coverage

Expected 1 space after FUNCTION keyword; 0 found
Open

Route::prefix('profile')->name('session')->group(function() {
Severity: Minor
Found in routes/web.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

Route::prefix('tokens')->name('tokens')->group(function() {
Severity: Minor
Found in routes/web.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

Route::bind('token', function($tokenidhash) {
Severity: Minor
Found in routes/web.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

Route::prefix('login')->name('session')->group(function() {
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    ));
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::get('/', 'SessionsController@create')->name('.create');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::get('{token}/delete', 'TokensController@delete')->name('.delete');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::post('/', 'SessionsController@store')->name('.store');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::get('{token}', 'TokensController@show')->name('.show');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    return Token::where('user_id', auth()->guard()->user()->id)
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    return view('error', array(
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::delete('{token}/delete', 'TokensController@destroy')->name('.destroy');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        'errormessage' => 'offline'
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::post('/', 'TokensController@store')->name('.store');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::get('{token}/edit', 'TokensController@edit')->name('.edit');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::post('/', 'SessionsController@update')->name('.update');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::post('{token}', 'TokensController@update')->name('.update');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::get('/edit', 'SessionsController@edit')->name('.edit');
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

        ->findOrFail(Hashids::decode($tokenidhash));
Severity: Minor
Found in routes/web.php by phpcodesniffer

Spaces must be used to indent lines; tabs are not allowed
Open

    Route::get('/', 'SessionsController@show')->name('.show');
Severity: Minor
Found in routes/web.php by phpcodesniffer

There are no issues that match your filters.

Category
Status