Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
/ php-coding-standard Public archive

Libero PHP coding standard

License

Notifications You must be signed in to change notification settings

libero/php-coding-standard

Repository files navigation

Libero PHP coding standard

Build Status

The Libero PHP coding standard is a set of PHP_CodeSniffer rules applied to all Libero PHP projects. It is based on PSR-2.

Getting started

Using Composer you can install the coding standard into your project:

composer require --dev libero/coding-standard

You can then find violations of the standard by running:

vendor/bin/phpcs --standard=Libero /path/to/some/file/to/sniff.php

Or automatically correct (at least some of) these violations by running:

vendor/bin/phpcbf --standard=Libero /path/to/some/file/to/sniff.php

See the PHP_CodeSniffer documentation for more details.

Getting help

About

Libero PHP coding standard

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages