Sign inSign up

wearejh/php-coding-standards

By wearejh

Updated over 7 years ago

Docker based sniffs for JH

Image
0

1.4K

wearejh/php-coding-standards repository overview

php-coding-standards

Custom PHP CS Rules

Installation

Add the following to your composer.json file:

"repositories" : [
    {
        "type": "vcs",
        "url": "[email protected]:WeareJH/php-coding-standards.git"
    }
]

Then run:

composer require wearejh/php-coding-standards:dev-master --dev

Usage

Assuming you have phpcs installed:

./vendor/bin/phpcs -s /folder/to/code --standard=vendor/wearejh/php-coding-standards/Jh

Tag summary

Content type

Image

Digest

Size

30.1 MB

Last updated

over 7 years ago

docker pull wearejh/php-coding-standards