lint/laravel/no-default-authorize
In the code-quality set. Safe fix. Runs when laravel is installed. Planned: not in Pun yet. Enabling it is a config error.
What it does
Remove the authorize() method from FormRequest classes when it only returns true, as passesAuthorization() defaults to true when the method does not exist
Replaces
RemoveDefaultAuthorizeTrueFromFormRequest(rector-laravel)