task: #3574775 Convert all hooks to OOP format.

By: mably

Closes #3574775

Merge request reports

Loading