Passed
Push — develop ( c02995...7d7bf0 )
by Septianata
18:18
created
config/logging.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     'channels' => [
38 38
         'stack' => [
39 39
             'driver' => 'stack',
40
-            'channels' => ['errorlog'],
40
+            'channels' => [ 'errorlog' ],
41 41
             'ignore_exceptions' => false,
42 42
         ],
43 43
 
Please login to merge, or discard this patch.
resources/lang/en/validation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,6 +150,6 @@
 block discarded – undo
150 150
     |
151 151
     */
152 152
 
153
-    'attributes' => [],
153
+    'attributes' => [ ],
154 154
 
155 155
 ];
Please login to merge, or discard this patch.
app/Conversations/ExampleConversation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
                 Button::create('Give me a fancy quote')->value('quote'),
37 37
             ]);
38 38
 
39
-        return $this->ask($question, function (Answer $answer) {
39
+        return $this->ask($question, function(Answer $answer) {
40 40
             if (!$answer->isInteractiveMessageReply()) {
41 41
                 return;
42 42
             }
Please login to merge, or discard this patch.
resources/lang/id/validation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,5 +127,5 @@
 block discarded – undo
127 127
             'rule-name' => 'custom-message',
128 128
         ],
129 129
     ],
130
-    'attributes'           => [],
130
+    'attributes'           => [ ],
131 131
 ];
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/NewPasswordController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function create(Request $request)
23 23
     {
24
-        return view('auth.reset-password', ['request' => $request]);
24
+        return view('auth.reset-password', [ 'request' => $request ]);
25 25
     }
26 26
 
27 27
     /**
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $request->validate([
38 38
             'token' => 'required',
39 39
             'email' => 'required|email',
40
-            'password' => ['required', 'confirmed', Rules\Password::defaults()],
40
+            'password' => [ 'required', 'confirmed', Rules\Password::defaults() ],
41 41
         ]);
42 42
 
43 43
         // Here we will attempt to reset the user's password. If it is successful we
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         // database. Otherwise we will parse the error and return the response.
46 46
         $status = Password::reset(
47 47
             $request->only('email', 'password', 'password_confirmation', 'token'),
48
-            function ($user) use ($request) {
48
+            function($user) use ($request) {
49 49
                 $user->forceFill([
50 50
                     'password' => Hash::make($request->password),
51 51
                     'remember_token' => Str::random(60),
@@ -61,6 +61,6 @@  discard block
 block discarded – undo
61 61
         return $status == Password::PASSWORD_RESET
62 62
                     ? redirect()->route('login')->with('status', __($status))
63 63
                     : back()->withInput($request->only('email'))
64
-                            ->withErrors(['email' => __($status)]);
64
+                            ->withErrors([ 'email' => __($status) ]);
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/ConfirmablePasswordController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function store(Request $request)
30 30
     {
31
-        if (! Auth::guard('web')->validate([
31
+        if (!Auth::guard('web')->validate([
32 32
             'email' => $request->user()->email,
33 33
             'password' => $request->password,
34 34
         ])) {
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/PasswordResetLinkController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,6 @@
 block discarded – undo
42 42
         return $status == Password::RESET_LINK_SENT
43 43
                     ? back()->with('status', __($status))
44 44
                     : back()->withInput($request->only('email'))
45
-                            ->withErrors(['email' => __($status)]);
45
+                            ->withErrors([ 'email' => __($status) ]);
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
resources/lang/id/validation-inline.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,5 +127,5 @@
 block discarded – undo
127 127
             'rule-name' => 'custom-message',
128 128
         ],
129 129
     ],
130
-    'attributes'           => [],
130
+    'attributes'           => [ ],
131 131
 ];
Please login to merge, or discard this patch.
routes/auth.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -10,31 +10,31 @@
 block discarded – undo
10 10
 use App\Http\Controllers\Auth\VerifyEmailController;
11 11
 use Illuminate\Support\Facades\Route;
12 12
 
13
-Route::middleware('guest:web')->group(function () {
14
-    Route::get('/register', [RegisteredUserController::class, 'create'])->name('register');
15
-    Route::post('/register', [RegisteredUserController::class, 'store']);
13
+Route::middleware('guest:web')->group(function() {
14
+    Route::get('/register', [ RegisteredUserController::class, 'create' ])->name('register');
15
+    Route::post('/register', [ RegisteredUserController::class, 'store' ]);
16 16
 
17
-    Route::get('/login', [AuthenticatedSessionController::class, 'create'])->name('login');
18
-    Route::post('/login', [AuthenticatedSessionController::class, 'store']);
17
+    Route::get('/login', [ AuthenticatedSessionController::class, 'create' ])->name('login');
18
+    Route::post('/login', [ AuthenticatedSessionController::class, 'store' ]);
19 19
 
20
-    Route::get('/forgot-password', [PasswordResetLinkController::class, 'create'])->name('password.request');
21
-    Route::post('/forgot-password', [PasswordResetLinkController::class, 'store'])->name('password.email');
20
+    Route::get('/forgot-password', [ PasswordResetLinkController::class, 'create' ])->name('password.request');
21
+    Route::post('/forgot-password', [ PasswordResetLinkController::class, 'store' ])->name('password.email');
22 22
 
23
-    Route::get('/reset-password/{token}', [NewPasswordController::class, 'create'])->name('password.reset');
24
-    Route::post('/reset-password', [NewPasswordController::class, 'store'])->name('password.update');
23
+    Route::get('/reset-password/{token}', [ NewPasswordController::class, 'create' ])->name('password.reset');
24
+    Route::post('/reset-password', [ NewPasswordController::class, 'store' ])->name('password.update');
25 25
 });
26 26
 
27
-Route::middleware('auth_on_verifying:web', 'throttle:6,1')->group(function () {
27
+Route::middleware('auth_on_verifying:web', 'throttle:6,1')->group(function() {
28 28
     Route::get('/verify-email/{id}/{hash}', VerifyEmailController::class)->middleware('signed')->name('verification.verify');
29
-    Route::post('/email/verification-notification', [EmailVerificationNotificationController::class, 'store'])->name('verification.send');
29
+    Route::post('/email/verification-notification', [ EmailVerificationNotificationController::class, 'store' ])->name('verification.send');
30 30
 });
31 31
 
32
-Route::middleware('auth:web')->group(function () {
32
+Route::middleware('auth:web')->group(function() {
33 33
     Route::get('/verify-email', EmailVerificationPromptController::class)->name('verification.notice');
34 34
     Route::view('/verify-email-success', 'auth.verify-email-success')->middleware('verified')->name('verification.success');
35 35
 
36
-    Route::get('/confirm-password', [ConfirmablePasswordController::class, 'show'])->name('password.confirm');
37
-    Route::post('/confirm-password', [ConfirmablePasswordController::class, 'store']);
36
+    Route::get('/confirm-password', [ ConfirmablePasswordController::class, 'show' ])->name('password.confirm');
37
+    Route::post('/confirm-password', [ ConfirmablePasswordController::class, 'store' ]);
38 38
 
39
-    Route::post('/logout', [AuthenticatedSessionController::class, 'destroy'])->name('logout');
39
+    Route::post('/logout', [ AuthenticatedSessionController::class, 'destroy' ])->name('logout');
40 40
 });
Please login to merge, or discard this patch.