src/Http/Requests/UserUpdateRequest.php
public function rules()
    {
        $email = User::where('id', $this->route()->user)->pluck('email');

        return [
            'first_name' => 'required',
            'last_name' => 'required',
            'display_name' => 'required',
            'email' => [
                'required',
                'email',
                Rule::unique(CanvasHelper::TABLES['users'])->ignore($email->first(), 'email'),
            ],
        ];
    }
public function rules()
    {
        $email = User::where('id', $this->route()->user)->pluck('email');

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

@return array