superbrave / coding-standards
CodeSniffer ruleset for the Superbrave coding standard
Installs: 2 357
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 0
Open Issues: 0
Type:phpcodesniffer-standard
Requires (Dev)
- php: >=5.6.0
- squizlabs/php_codesniffer: ^3.2
This package is auto-updated.
Last update: 2024-11-11 04:50:46 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.