Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony2 PHP CodeSniffer Coding Standard

Packagist

A coding standard to check against the Symfony coding standards, copied from escapestudios/Symfony2-coding-standard which itself was copied from the -disappeared- opensky/Symfony2-coding-standard repository.

Composer integration has been additionally enabled.

Installation

Require PHP_CodeSniffer and this sniff in your project composer.json:

{
    "require-dev": {
        "squizlabs/php_codesniffer": "~2.3",
        "metasyntactical/symfony-coding-standard": "~1.0"
    }
}

Afterwards call CodeSniffer with the standard:

$ vendor/bin/phpcs $FILENAME --standard=vendor/metasyntactical/composer-codesniffer-hooks/Symfony2/ruleset.xml

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages