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

Installs: 2 324

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

0.2 2018-05-09 12:57 UTC

This package is auto-updated.

Last update: 2024-04-11 03:42:43 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.