youshido / cs-code-standard
CodeSniffer ruleset witch extend Symfony code style and add something new
Package info
github.com/Youshido/CS-CodeStyle
Type:coding-standard
pkg:composer/youshido/cs-code-standard
v0.1
2017-05-16 09:48 UTC
Requires
Requires (Dev)
- youshido/cs-code-standard: dev-master
This package is not auto-updated.
Last update: 2026-03-01 09:45:16 UTC
README
This standard copy Symfony2 one with following changes:
- Concatenation spacing equal 1
Installation
This standard can be installed with the Composer dependency manager.
Install the coding standard as a dependency of your project
composer require --dev youshido/cs-code-standard
Usage
Run CodeSniffer with following parameters to check your project code style:
./vendor/bin/phpcs --encoding=utf-8 --extensions=php --standard=./vendor/youshido/cs-code-standard ./src -p