This package is abandoned and no longer maintained. No replacement package was suggested.

Libero PHP coding standard

Installs: 3 764

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 2


v0.5.0 2019-05-30 11:51 UTC

This package is auto-updated.

Last update: 2020-08-30 01:21:07 UTC


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