Skip to content

craftsmen/phpcs-rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Phpcs

Phpcs is a ruby wrapper for Php_CodeSniffer.

Installation

Add this line to your application's Gemfile:

gem 'phpcs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install phpcs

Usage

Take a look to test/phpcs_test.rb to understand how to use it.

You can choose one of the follwing coding standards: PEAR, PHPCS, PSR1, PSR2 (default), Squiz, Zend

Contributing

  1. Fork it ( https://github.com/[my-github-username]/foo/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

A Ruby wrapper for Php_CodeSniffer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages