We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | protected function unauthenticated($request, AuthenticationException $exception) |
| 58 | 58 | { |
| 59 | 59 | if ($request->expectsJson()) { |
| 60 | - return response()->json(['error' => 'Unauthenticated.'], 401); |
|
| 60 | + return response()->json([ 'error' => 'Unauthenticated.' ], 401); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | return redirect()->guest('login'); |
@@ -80,8 +80,4 @@ |
||
| 80 | 80 | 'phone' => $data[ 'phone' ], |
| 81 | 81 | 'email' => $data[ 'email' ], |
| 82 | 82 | 'username' => $data[ 'username' ], |
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -80,8 +80,4 @@ |
||
| 80 | 80 | 'phone' => $data[ 'phone' ], |
| 81 | 81 | 'email' => $data[ 'email' ], |
| 82 | 82 | 'username' => $data[ 'username' ], |
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -80,8 +80,4 @@ |
||
| 80 | 80 | 'phone' => $data[ 'phone' ], |
| 81 | 81 | 'email' => $data[ 'email' ], |
| 82 | 82 | 'username' => $data[ 'username' ], |
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -80,8 +80,4 @@ |
||
| 80 | 80 | 'phone' => $data[ 'phone' ], |
| 81 | 81 | 'email' => $data[ 'email' ], |
| 82 | 82 | 'username' => $data[ 'username' ], |
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace DoeSangue\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | -<<<<<<< HEAD |
|
| 5 | +<< << <<< HEAD |
|
| 6 | 6 | use DoeSangue\Models\User; |
| 7 | 7 | ||||||| merged common ancestors |
| 8 | 8 | use DoeSangue\User; |
@@ -76,12 +76,8 @@ discard block |
||
| 76 | 76 | { |
| 77 | 77 | return User::create( |
| 78 | 78 | [ |
| 79 | - 'name' => $data[ 'name' ], |
|
| 80 | - 'phone' => $data[ 'phone' ], |
|
| 81 | - 'email' => $data[ 'email' ], |
|
| 82 | - 'username' => $data[ 'username' ], |
|
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 79 | + 'name' => $data[ 'name' ], |
|
| 80 | + 'phone' => $data[ 'phone' ], |
|
| 81 | + 'email' => $data[ 'email' ], |
|
| 82 | + 'username' => $data[ 'username' ], |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -80,8 +80,4 @@ |
||
| 80 | 80 | 'phone' => $data[ 'phone' ], |
| 81 | 81 | 'email' => $data[ 'email' ], |
| 82 | 82 | 'username' => $data[ 'username' ], |
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -80,8 +80,4 @@ |
||
| 80 | 80 | 'phone' => $data[ 'phone' ], |
| 81 | 81 | 'email' => $data[ 'email' ], |
| 82 | 82 | 'username' => $data[ 'username' ], |
| 83 | - 'password' => bcrypt($data[ 'password' ]), |
|
| 84 | - ] |
|
| 85 | - ); |
|
| 86 | - } |
|
| 87 | -} |
|
| 83 | + 'password' => bcrypt($data[ |
|
| 88 | 84 | \ No newline at end of file |
@@ -16,18 +16,4 @@ |
||
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -16,18 +16,4 @@ |
||
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -16,18 +16,4 @@ |
||
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -16,18 +16,4 @@ |
||
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -11,23 +11,9 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | public function __construct() |
| 13 | 13 | { |
| 14 | -<<<<<<< HEAD |
|
| 14 | +<< << <<< HEAD |
|
| 15 | 15 | // $this->middleware('auth'); |
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -16,18 +16,4 @@ |
||
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -16,18 +16,4 @@ |
||
| 16 | 16 | ||||||| merged common ancestors |
| 17 | 17 | $this->middleware('auth'); |
| 18 | 18 | ======= |
| 19 | - // $this->middleware('auth'); |
|
| 20 | - |
|
| 21 | ->>>>>>> 4c37c57 |
|
| 22 | - } |
|
| 23 | - |
|
| 24 | - /** |
|
| 25 | - * Show the application dashboard. |
|
| 26 | - * |
|
| 27 | - * @return \Illuminate\Http\Response |
|
| 28 | - */ |
|
| 29 | - public function index() |
|
| 30 | - { |
|
| 31 | - return view('home'); |
|
| 32 | - } |
|
| 33 | -} |
|
| 19 | + // $this->middleware |
|
| 34 | 20 | \ No newline at end of file |
@@ -46,6 +46,4 @@ |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -46,6 +46,4 @@ |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -46,6 +46,4 @@ |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -46,6 +46,4 @@ |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -2,7 +2,7 @@ discard block |
||
| 2 | 2 | |
| 3 | 3 | namespace DoeSangue\Http\Controllers; |
| 4 | 4 | |
| 5 | -<<<<<<< HEAD |
|
| 5 | +<< << <<< HEAD |
|
| 6 | 6 | use DoeSangue\Http\Requests\UserProfileRequest; |
| 7 | 7 | use DoeSangue\Models\User; |
| 8 | 8 | ||||||| merged common ancestors |
@@ -46,6 +46,4 @@ discard block |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -46,6 +46,4 @@ |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -46,6 +46,4 @@ |
||
| 46 | 46 | $user->password = bcrypt($request->password); |
| 47 | 47 | $user->save(); |
| 48 | 48 | |
| 49 | - return redirect()->route('users.profile', $user->id); |
|
| 50 | - } |
|
| 51 | -} |
|
| 49 | + return redirect()->route('users.profile', $user->id |
|
| 52 | 50 | \ No newline at end of file |
@@ -18,5 +18,5 @@ |
||
| 18 | 18 | * |
| 19 | 19 | * @var array |
| 20 | 20 | */ |
| 21 | - protected $filliable = ['description', 'code']; |
|
| 21 | + protected $filliable = [ 'description', 'code' ]; |
|
| 22 | 22 | } |
@@ -47,8 +47,8 @@ |
||
| 47 | 47 | ); |
| 48 | 48 | |
| 49 | 49 | $donor = new Donor(); |
| 50 | - $donor->user_id => $request['user_id']; |
|
| 51 | - $donor->blood_type_id => $request['blood_type_id']; |
|
| 50 | + $donor->user_id => $request[ 'user_id' ]; |
|
| 51 | + $donor->blood_type_id => $request[ 'blood_type_id' ]; |
|
| 52 | 52 | $donor->save(); |
| 53 | 53 | |
| 54 | 54 | return redirect()->route('user.profile'); |