Skip to content

pre-commit-plugins/pre-commit-php

Folders and files

NameName
Last commit message
Last commit date
Sep 13, 2014
Oct 1, 2014
Dec 25, 2013
Sep 11, 2014
Sep 13, 2014
Sep 13, 2014
Sep 13, 2014
Sep 13, 2014
Oct 1, 2014
Sep 13, 2014
Sep 13, 2014
Sep 24, 2014

Repository files navigation

PHP plugin for https://github.com/jish/pre-commit

Current version Code Climate Coverage Status Build status Dependency Status Documentation

Installation

Install the plugin

$ gem install pre-commit-php

Enable as errors

Use the pre-commit command to enable the plugin

# In your git repo
$ pre-commit enable yaml checks php

This creates a config/pre_commit.yml configuratiuon file which will inform pre-commit to use pre-commit-php plugin for this project.

Enable as warnings

Use the pre-commit command to enable the plugin

# In your git repo
$ pre-commit enable yaml warnings php