aoe / symfony2-coding-standard
Symfony2 PHP CodeSniffer Coding Standard
Installs: 4 477
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 37
Forks: 101
Open Issues: 0
Requires
This package is auto-updated.
Last update: 2023-06-16 00:15:58 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
-
Install via composer:
mkdir CodeSniffer cd CodeSniffer composer require aoe/Symfony2-coding-standard
-
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.