aoe/symfony2-coding-standard

Symfony2 PHP CodeSniffer Coding Standard

dev-master 2015-06-02 12:03 UTC

This package is auto-updated.

Last update: 2023-01-15 23:34:48 UTC


README

This is a fork of the Symfony coding standards enabling their installation via composer. All additions, please contribute to the upstream repository.

Installation

  1. Install via composer:

     mkdir CodeSniffer
     cd CodeSniffer
     composer require aoe/Symfony2-coding-standard
    
  2. Profit!

     cd /path/to/my/project
     CodeSniffer/vendor/bin/phpcs
     CodeSniffer/vendor/bin/phpcs path/to/my/file.php
    

Contributing

If you do contribute code to these sniffs, please make sure to contribute to the uplink repository at https://github.com/escapestudios/Symfony2-coding-standard.