youshido/cs-code-standard

CodeSniffer ruleset witch extend Symfony code style and add something new

Installs: 3 122

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:coding-standard

v0.1 2017-05-16 09:48 UTC

This package is not auto-updated.

Last update: 2024-11-10 03:05:27 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