2017 © Pedro Peláez
 

library cakephp-codesniffer

CakePHP CodeSniffer Standards

image

toin0u/cakephp-codesniffer

CakePHP CodeSniffer Standards

  • Thursday, June 25, 2015
  • by toin0u
  • Repository
  • 1 Watchers
  • 0 Stars
  • 477 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 75 Forks
  • 0 Open issues
  • 18 Versions
  • 0 % Grown

The README.md

CakePHP Code Sniffer Build Status

This code works with phpcs and checks code against the coding standards used in CakePHP., (*1)

:warning: The master branch contains codesniffer rules that are based on the PSR2 standard. If you want to check against the historical CakePHP coding standard use any of the 1.x releases., (*2)

Installation

You should install this codesniffer with composer:, (*3)

composer require --dev "cakephp/cakephp-codesniffer=2.*"
vendor/bin/phpcs --config-set installed_paths /path/to/your/app/vendor/cakephp/cakephp-codesniffer

The second command lets phpcs know where to find your new sniffs. Ensure that you do not overwrite any existing installed_paths value., (*4)

Usage

Depending on how you installed the code sniffer changes how you run it. If you have installed phpcs, and this package with PEAR, you can do the following:, (*5)

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

:warning: Warning when these sniffs are installed with composer, ensure that you have configured the CodeSniffer installed_paths setting., (*6)

Contributing

If you'd like to contribute to the Code Sniffer, you can fork the project add features and send pull requests., (*7)

Make sure to clone the repository to something like cakephp_codesniffer (instead of the default cakephp-codesniffer) because otherwise phpunit will fail to run the tests., (*8)

Releasing CakePHP Code Sniffer

  • Create a signed tag
  • Write the changelog in the tag commit

The Versions

25/06 2015

dev-master

9999999-dev http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

17/03 2015

2.0.3

2.0.3.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

10/02 2015

2.0.2

2.0.2.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

10/02 2015

2.0.1

2.0.1.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

05/02 2015

2.0.0

2.0.0.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

22/12 2014

1.x-dev

1.9999999.9999999.9999999-dev http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

22/12 2014

1.0.0

1.0.0.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

11/12 2014

0.1.31

0.1.31.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

05/12 2014

0.1.30

0.1.30.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

27/11 2014

dev-update-fxer-2

dev-update-fxer-2 http://cakephp.org

CakePHP CodeSniffer Standards for phpcs-fixer auto-correct branch.

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

04/10 2014

0.1.29

0.1.29.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

26/09 2014

dev-update-fixer

dev-update-fixer http://cakephp.org

CakePHP CodeSniffer Standards for phpcs-fixer auto-correct branch.

  Sources   Download

MIT

The Requires

 

The Development Requires

framework codesniffer

18/09 2014

0.1.28

0.1.28.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

framework codesniffer

17/09 2014

dev-phpcs-fixer

dev-phpcs-fixer http://cakephp.org

CakePHP CodeSniffer Standards for phpcs-fixer auto-correct branch.

  Sources   Download

MIT

The Requires

 

framework codesniffer

30/06 2014

0.1.27

0.1.27.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

framework codesniffer

23/06 2014

0.1.26

0.1.26.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

framework codesniffer

22/05 2014

0.1.25

0.1.25.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

framework codesniffer

22/05 2014

0.1.24

0.1.24.0 http://cakephp.org

CakePHP CodeSniffer Standards

  Sources   Download

MIT

The Requires

 

framework codesniffer