2017 © Pedro PelĂĄez
 

library php-coding-standard

Coding standard to Norsys PHP projects

image

norsys/php-coding-standard

Coding standard to Norsys PHP projects

  • Tuesday, March 6, 2018
  • by mageekguy
  • Repository
  • 6 Watchers
  • 0 Stars
  • 883 Installations
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 108 % Grown

The README.md

Coding standard to Norsys PHP projects

Installation

composer require norsys/php-coding-standard:~1.0 --dev 

Quick usage

Launch phpcs with Norsys PHP ruleset, (*1)

bin/phpcs --standard=vendor/norsys/php-coding-standard/php

Check style specific to write tests

bin/phpcs --standard=vendor/norsys/php-coding-standard/php/test

Use with Symfony

bin/phpcs --standard=vendor/norsys/php-coding-standard/symfony
bin/phpcs --standard=vendor/norsys/php-coding-standard/symfony/test

Advanced usage

Create your ruleset my-ruleset.xml, (*2)




<ruleset name="MyCustomCheckStyleStandard">

  <description>My custom check style standard based on Norsys</description>

  
  <rule ref="vendor/norsys/php-coding-standard/php"/>

  
  ...

</ruleset>

Launch phpcs with your ruleset, (*3)

bin/phpcs --standard=my-ruleset.xml

Credits

Developped by Norsys, (*4)

License

This project is licensed under the MIT license., (*5)

License, (*6)

The Versions

06/03 2018

dev-master

9999999-dev

Coding standard to Norsys PHP projects

  Sources   Download

MIT

The Requires

 

by CĂ©dric Vanet

phpcs codesniffer symfony standard check style norsys

06/03 2018

1.0.1

1.0.1.0

Coding standard to Norsys PHP projects

  Sources   Download

MIT

The Requires

 

by CĂ©dric Vanet

phpcs codesniffer symfony standard check style norsys

06/03 2018

1.0.0

1.0.0.0

Coding standard to Norsys PHP projects

  Sources   Download

MIT

The Requires

 

by CĂ©dric Vanet

phpcs codesniffer symfony standard check style norsys