The repository for the MyBB 2 forum software. Not to be used on live boards.
BSD 3-Clause "New" or "Revised" License
109
stars
45
forks
source link
Move user account validation from controller to request classes #277
Closed
Matslom closed 7 years ago
Looks good to me 😄
I think we need to discuss how we write validation rules at some point. I personally prefer the array syntax, for example:
Instead of:
This doesn't stop us merging, but we should probably agree on one format and stick to it :)
I'm also not 100% sure the array syntax works in Laravel 5.3, but I think it does. It's not documented in their documentation at all.