Skip to content

mmeckes/cakephp-codesniffer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CakePHP Code Sniffer

This code works with phpcs and checks code against the coding standards used in CakePHP.

Installation

Its generally recommended to install these code sniffs with the PEAR installer:

pear channel-discover pear.cakephp.org
pear install cakephp/CakePHP_CodeSniffer

Usage

After installation you can check code compliance to the standard using phpcs:

phpcs --standard=CakePHP /path/to/code

Releasing CakePHP Code Sniffer

  • Update version number in build.xml
  • Add changelog entry.
  • Commit changes.
  • Create git tag.
  • Run phing release

About

CakePHP Code Sniffer

Resources

Stars

Watchers

Forks

Packages

No packages published