Added recommended Rector changes to a new merge request so it can be used with Composer.
Closes #3141677