Dear list members,
the Technical Board would like to announce that we decided to add CaptainHook as Composer development dependency. We created a Pull Request 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 or the CaptainHook documentation 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
 https://github.com/captainhookphp/captainhook  https://github.com/ILIAS-eLearning/ILIAS/pull/2284  https://github.com/ILIAS-eLearning/ILIAS/tree/trunk/docs/development/git-hoo...  https://captainhookphp.github.io/captainhook/