Skip to content

Separate shell hook templates from PHP code #50

@stecman

Description

@stecman

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).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions