-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
Milestone
Description
Currently the templates for shell hooks live in PHP code as a static array of nowdoc strings (HookFactory::$hooks
). At runtime these templates are populated using a str_replace
call.
In the interest of keeping this part of the code maintainable, these templates should really be extracted from the PHP code and rendered with a more common templating system (Twig would be my choice).