Download the PHP package wdes/coding-standard without Composer
On this page you can find all versions of the php package wdes/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wdes/coding-standard
More information about wdes/coding-standard
Files in wdes/coding-standard
Download wdes/coding-standard
More information about wdes/coding-standard
Files in wdes/coding-standard
Vendor wdes
Package coding-standard
Short Description The Wdes coding standard
License UNLICENSE
Homepage https://github.com/wdes/coding-standard
Package coding-standard
Short Description The Wdes coding standard
License UNLICENSE
Homepage https://github.com/wdes/coding-standard
Please rate this library. Is it a good library?
Informations about the package coding-standard
Wdes coding-standard
The Wdes coding-standard
Rules to disable for PHP < 5.4
compatibility
Generic.Arrays.DisallowLongArraySyntax
Rules to disable for PHP < 7
compatibility
SlevomatCodingStandard.Classes.ClassConstantVisibility.MissingConstantVisibility
How to add it
- Run
composer require --dev wdes/coding-standard
-
Create file:
phpcs.xml
with the contents below -
Remove phpcs from your dev deps if you have it, we require it for you. Use
composer remove squizlabs/php_codesniffer --dev
- Run
./vendor/bin/phpcs
to see the coding standard errors - Run
./vendor/bin/phpcbf
to try to fix them
Recommended composer.json
config
How to exclude rules
Examples of ways to exclude rules
All versions of coding-standard with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2 || ^8.0
squizlabs/php_codesniffer Version ^3.8.0
slevomat/coding-standard Version ^8.14.1
squizlabs/php_codesniffer Version ^3.8.0
slevomat/coding-standard Version ^8.14.1
The package wdes/coding-standard contains the following files
Loading the files please wait ....