src/Http/Requests/ProfileUpdateRequest.php
public function rules()
    {
        $email = Auth::guard('canvas')->user()->email;

        return [
            'first_name' => 'required',
            'last_name' => 'required',
            'display_name' => 'required',
            'email' => [
                'required',
                'email',
                Rule::unique(CanvasHelper::TABLES['users'])->ignore($email, 'email'),
            ],
        ];
    }
public function rules()
    {
        $email = Auth::guard('canvas')->user()->email;

        return [
            'first_name' => 'required',
            'last_name' => 'required',
            'display_name' => 'required',
            'email' => [
                'required',
                'email',
                Rule::unique(CanvasHelper::TABLES['users'])->ignore($email, 'email'),
            ],
        ];
    }
Get the validation rules that apply to the request.

@return array