Closed samsonasik closed 3 months ago
@stefantalen I also rename underscored rule name to non-underscored for consistency
The same happens with other methods:
$mailing = new Mailing();
- $mailing->setSubject($request->request->get('mailing_subject'));
+ $mailing->subject($request->request->get('mailing_subject'));
@stefantalen I added test case and more stubs for that as needed to check the object type.
All checks have passed 🎉 @TomasVotruba I am merging it ;)
Nice work 🥳
Closes https://github.com/rectorphp/rector-symfony/pull/604