frankfoerster/cakephp2-codesniffer

CakePhp 2.x Codesniffer (adjusted)

dev-master 2015-08-26 08:22 UTC

This package is auto-updated.

Last update: 2024-10-12 03:52:10 UTC


README

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

Based on cakephp/cakephp-codesniffer 0.1.23

These standards have been adjusted for use in custom CakePHP applications:

  • docblock comments should not start at the beginning of a line, but at the function level
  • type casts should be followed by a space (instead of no space)