1.1.0 • Published 5 years ago

phpcbf-cli v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

phpcbf-cli

phpcbf is a great tool for linting and formatting PHP code but it uses non-standard exit codes which cause it to not be compatible with other tools. The usage of this tool is exactly the same as phpcbf however it standardizes it's exit code.

Install

This tool requries that you have phpcbf installed and on your path. Installation instructions can be found here: https://github.com/squizlabs/PHP_CodeSniffer

t npm i -D phpcbf-cli

Usage

Exact same usage as phpcbf execuitable

phpcbf-cli --standard=PSR2 -n path/to/some/file.php
1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago