Download the PHP package geekmusclay/coding-standard without Composer
On this page you can find all versions of the php package geekmusclay/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package coding-standard
GeekMusclay Coding Standards
Installation
-
Install the module via composer by running:
-
Add composer scripts into your
composer.json
: - Create file
phpcs.xml
on base path of your repository with this content:
You can add or exclude some locations in that file. 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:
Ignoring parts of a File
Note: Before PHP_CodeSniffer version 3.2.0,
// @codingStandardsIgnoreStart
and// @codingStandardsIgnoreEnd
were used. These are deprecated and will be removed in PHP_CodeSniffer version 4.0.
All versions of coding-standard with dependencies
PHP Build Version
Package Version
Requires
laminas/laminas-coding-standard Version
^2.5
The package geekmusclay/coding-standard contains the following files
Loading the files please wait ....