lint/laravel/prefer-explicit-json-call
In the lint-strict preset. In Rector’s rector-laravel/laravel-testing set. Needs the laravel extension. Unsafe fix: it can change behavior.
What it does
Change method calls from $this->json to $this->postJson, $this->putJson, etc.
Configuration
[lint.rules]
"laravel/prefer-explicit-json-call" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
JsonCallToExplicitJsonCall(rector-laravel)