Download the PHP package webimpress70/coding-standard without Composer
On this page you can find all versions of the php package webimpress70/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webimpress70/coding-standard
More information about webimpress70/coding-standard
Files in webimpress70/coding-standard
Package coding-standard
Short Description PHP 7.0 support for Webimpress Coding Standard
License BSD-2-Clause
Informations about the package coding-standard
PHP 7.0 support for Webimpress Coding Standard
[] (https://github.com/webimpress70/coding-standard/actions/workflows/phpunit.yml) [] (https://github.com/webimpress70/coding-standard/actions/workflows/phpcs.yml) [] (https://coveralls.io/github/webimpress70/coding-standard?branch=master)
Installation
-
Install the module via composer by running:
-
Add composer scripts into your
composer.json
: - Create file
phpcs.xml
in base path of your repository with content:
As shown above you must define locations or files you want to be checked and fixed by code sniffer. For a reference please see: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-Ruleset
Usage
-
To run checks only:
- To automatically fix many CS issues: