rasta/sniffs

Rapid Agile Softwares default code styles to be used with Squizlabs' code sniffer.

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rasta/sniffs

1.0.0 2020-03-20 09:06 UTC

This package is auto-updated.

Last update: 2025-10-20 21:23:37 UTC


README

Rapid Agile Software default code styles to be used with Squizlabs' codesniffer and PHPCSFixer.

Install

  1. Create a file easy-coding-standard.neon in the root path of project with at least below contents:
includes:
  - vendor/rasta/sniffs/easy-coding-standard.neon
  1. Run composer require-dev rasta/sniffs

43 Add a linting command to composer.json

  "scripts": {
    "lint": "ecs check src cron tests --clear-cache",
    "lint:fix": "ecs check src cron tests --clear-cache --fix"
  }