mysiar/coding-standard

Coding standard based on PSR2 & Slevomat rules

Installs: 816

Dependents: 3

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

2.0.2 2020-03-16 15:11 UTC

This package is auto-updated.

Last update: 2024-12-24 03:19:54 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

coding standard based on PSR2 & slevomat/coding-standard

Install

  • composer require --dev mysiar/coding-standard
  • cp vendor/mysiar/coding-standard/ruleset.xml .

Execute

  • phpcs --standard=./ruleset.xml --extensions=php

Versions

  • 1.x.x uses slevomat/coding-standard ver 5
  • 2.x.x uses slevomat/coding-standard ver 6