A command line script that reminds of unfinished TODO comments in changed PHP files after Git commit. Intended as post-commit Git hook.
Via Composer in project
composer require integer-net/todo-reminderVia Composer globally
composer global require integer-net/todo-reminderTo check the last commit of the current repository, run
vendor/bin/todoIf you installed Todo Reminder globally,
todo --root /path/to/repositoryTo run the checks automatically after each commit, create a hook as .git/hooks/post-commit with content like:
#!/bin/sh
exec vendor/bin/todoMake the hook executable, so that Git can run it:
chmod +x .git/hooks/post-commit
Please see CHANGELOG for more information on what has changed recently.
composer testRuns unit tests, mutation tests and static analysis
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.