superbrave / coding-standards
There is no license information available for the latest version (0.2) of this package.
CodeSniffer ruleset for the Superbrave coding standard
Package info
github.com/superbrave/coding-standards
Type:phpcodesniffer-standard
pkg:composer/superbrave/coding-standards
0.2
2018-05-09 12:57 UTC
Requires (Dev)
- php: >=5.6.0
- squizlabs/php_codesniffer: ^3.2
This package is auto-updated.
Last update: 2026-02-11 07:26:04 UTC
README
The Superbrave coding standards uses some existing standards combined, with a few exceptions.
For more details about a custom code guideline, see https://github.com/squizlabs/PHP_CodeSniffer/wiki/Coding-Standard-Tutorial
Usage through composer
When using these coding standards through composer, modify the following files:
composer.json
"require-dev" : {
"superbrave/coding-standards": "dev-master"
}
phpcs.xml
<?xml version="1.0"?>
<ruleset>
<rule ref="vendor/superbrave/coding-standards/Superbrave"/>
</ruleset>
Don't forget to run a composer update after editing the composer.json file.