tomasvinduska/coding-standard

There is no license information available for the latest version (0.0.1) of this package.

Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

Installs: 38

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

0.0.1 2020-02-07 02:15 UTC

This package is auto-updated.

Last update: 2020-10-01 00:19:30 UTC


README

Installing

composer require --dev tomasvinduska/coding-standard

additionaly you can add this to simplify commands calling

"scripts": {
    "syntax": "vendor/bin/parallel-lint --exclude vendor .",
    "coding": "./vendor/bin/phpcs --standard=vendor/tomasvinduska/coding-standard/src/ruleset.xml --report=summary --ignore=vendor/*,temp/* --extensions=php --tab-width=4 -sp .",
    "coding-fix": "./vendor/bin/phpcbf --standard=vendor/tomasvinduska/coding-standard/src/ruleset.xml --ignore=vendor/*,temp/* --extensions=php --tab-width=4 -p ."
  }