Download the PHP package interaction-design-foundation/coding-standard without Composer
On this page you can find all versions of the php package interaction-design-foundation/coding-standard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download interaction-design-foundation/coding-standard
More information about interaction-design-foundation/coding-standard
Files in interaction-design-foundation/coding-standard
Package coding-standard
Short Description IxDF Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.
License MIT
Informations about the package coding-standard
IxDF Coding Standard for Laravel
An opinionated ruleset focused on strict types. Suitable for both applications and packages.
Installation
-
Install the package via composer by running:
-
Add composer scripts into your
composer.json
: - Create file
phpcs.xml
on base path of your repository with content
Usage
-
To run checks only:
- To automatically fix many CS issues:
Ignoring parts of a File
Disable parts of a file:
Disable a specific rule:
Ignore a specific violation:
Development
Versioning
New rules or Sniffs may not be introduced in minor or bugfix releases and should always be based on the develop branch and queued for the next major release, unless considered a bugfix for existing rules.
Reference
Rules can be added, excluded or tweaked locally, depending on your preferences. More information on how to do this can be found here:
- Coding Standard Tutorial
- Configuration Options
- Selectively Applying Rules
- Customisable Sniff Properties
- Other coding standards (inspiring us):
All versions of coding-standard with dependencies
dealerdirect/phpcodesniffer-composer-installer Version ^1.0
slevomat/coding-standard Version ^8.15
squizlabs/php_codesniffer Version ^3.10