2017 © Pedro Peláez
 

library psr-police

Install php-cs-fixer git hook automatically using a script

image

tacone/psr-police

Install php-cs-fixer git hook automatically using a script

  • Sunday, January 4, 2015
  • by tacone
  • Repository
  • 1 Watchers
  • 2 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

PSR Police

A handy tool to add a PHP syntax check and PSR-2 enforcement git pre-commit hook to your project., (*1)

Install it globally like:, (*2)

phpcomposer global require tacone/psr-police

Then make sure ~/.composer/vendor/bin is in your PATH., (*3)

From now on you can enforce PSR-2 on every commit by calling PSR Police (once per project):, (*4)

cd /var/www/myproject
psr-police

The Versions

04/01 2015

dev-master

9999999-dev

Install php-cs-fixer git hook automatically using a script

  Sources   Download

MIT

by Avatar tacone

04/01 2015

0.4

0.4.0.0

Install php-cs-fixer git hook automatically using a script

  Sources   Download

MIT

by Avatar tacone

04/01 2015

1.04

1.04.0.0

Install php-cs-fixer git hook automatically using a script

  Sources   Download

MIT

by Avatar tacone

31/12 2014

1.03

1.03.0.0

Install php-cs-fixer git hook automatically using a script

  Sources   Download

MIT

by Avatar tacone

31/12 2014

1.02

1.02.0.0

Install php-cs-fixer git hook automatically using a script

  Sources   Download

MIT

by Avatar tacone

31/12 2014

1.0

1.0.0.0

Installs php-cs-fixer git hook automatically using a composer script

  Sources   Download

MIT

by Avatar tacone

31/12 2014

1.01

1.01.0.0

Installs php-cs-fixer git hook automatically using a composer script

  Sources   Download

MIT

by Avatar tacone