2017 © Pedro Peláez
 

library todo-reminder

GrumPHP Extension to remind you of undone todos

image

integer-net/todo-reminder

GrumPHP Extension to remind you of undone todos

  • Monday, February 5, 2018
  • by integer-net
  • Repository
  • 9 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Todo Reminder

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

A command line script that reminds of unfinished TODO comments in changed PHP files after Git commit. Intended as post-commit Git hook., (*2)

Install

Via Composer in project, (*3)

``` bash composer require integer-net/todo-reminder, (*4)


Via Composer globally ``` bash composer global require integer-net/todo-reminder

Usage

To check the last commit of the current repository, run ``` bash vendor/bin/todo, (*5)


If you installed Todo Reminder globally, ``` bash todo --root /path/to/repository

To run the checks automatically after each commit, create a hook as .git/hooks/post-commit with content like:, (*6)

``` bash, (*7)

!/bin/sh

exec vendor/bin/todo, (*8)


Make the hook executable, so that Git can run it:

chmod +x .git/hooks/post-commit, (*9)


## Change log Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. ## Testing ``` bash composer test

Runs unit tests, mutation tests and static analysis, (*10)

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details., (*11)

Security

If you discover any security related issues, please email fs@integer-net.de instead of using the issue tracker., (*12)

Credits

License

The MIT License (MIT). Please see License File for more information., (*13)

The Versions