Use rector to convert to hook classes

Closes #3588706

Merge request reports

Loading