Dear list members,
the Technical Board would like to announce that we decided to add CaptainHook[1] as Composer development dependency. We created a Pull Request[2] for this long time ago and just merged it into trunk.
CaptainHook is a Git hook management library written in PHP. It enables you to define a shared (amongst developers) Git hook configuration (which is not possible with Git hooks because of security reasons) for actions being executed locally on your machine. The configuration is based on a JSON file located in the ILIAS root directory.
If you decide to install the hooks, the following actions will be executed on pre-commit: - PHP Linting - php-cs-fixer (dryrun only)
The installation of the hooks is optional, so you are not forced to use this tool. However we highly recommend to install the hooks, so PHP linting and PSR-2 checks could be checked/performed before you push your files to our GitHub repository.
Please read the ILIAS documentation[3] or the CaptainHook documentation[4] for details.
If you have any further question, don't hesitate to contact me.
Best regards Michael Jansen
on behalf of the ILIAS e.V. and the Technical Board
[1] https://github.com/captainhookphp/captainhook [2] https://github.com/ILIAS-eLearning/ILIAS/pull/2284 [3] https://github.com/ILIAS-eLearning/ILIAS/tree/trunk/docs/development/git-hoo... [4] https://captainhookphp.github.io/captainhook/