]> git.mxchange.org Git - friendica.git/commit
Added sample pre-commit hook to give you an idea how to start to include:
authorRoland Häder <roland@mxchange.org>
Tue, 25 Oct 2022 20:55:15 +0000 (22:55 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 23 Jun 2025 20:54:02 +0000 (22:54 +0200)
commitbb892ccd3542d855bf34284da3b3e0110127b9c4
tree470a10a471ccc9f439ee87c6988eb343f7f6e9ec
parent9bc710260983e3522e8774bd0e91723aecf6e179
Added sample pre-commit hook to give you an idea how to start to include:
- lint check by `php -l $CHANGED_FILE`
- code-style check by php-cs --dry-run
- executing unit-tests (non-fatal)

Please feel free to modify it.
mods/sample-pre-commit-hook.sh [new file with mode: 0755]