When we upgrade our laravel version from 5.1 to 5.2 We must replace out $request parameter accsss with a different method, we need replace our current access method eg: $request->id to something new like $request->input('id). So we used to it using phpStorm reqular expression search/replace feature. We have tried following way:
text to replace : (\$request)(\->)([\w]+)
replacement : $1\->input(\'$3\'\)