2017 © Pedro PelĂĄez
 

composer-plugin wpcs-auto-register-standards

Automatically registers WordPress-Coding-Standards

image

eimanavicius/wpcs-auto-register-standards

Automatically registers WordPress-Coding-Standards

  • Sunday, January 1, 2017
  • by eimanavicius
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Composer plugin to automatically register WordPress-Coding-Standards

This is Composer plugin to automatically register WordPress-Coding-Standards to PHP_CodeSniffer., (*1)

PHP_CodeSniffer by default includes these coding standards:, (*2)

The installed coding standards are Squiz, PHPCS, Zend, PEAR, MySource, PSR1 and PSR2, (*3)

With WordPress-Coding-Standards package you have:, (*4)

The installed coding standards are Squiz, PHPCS, Zend, PEAR, MySource, PSR1, PSR2, WordPress-Extra, WordPress, WordPress-VIP, WordPress-Docs and WordPress-Core, (*5)

To achieve this you have to manually run command phpcs --config-set installed_paths '/path/to/vendor/wp-coding-standards/wpcs', (*6)

I written post-update-cmd script to do this in dev mode only and now want to share it with other projects and especially you., (*7)

The Versions

01/01 2017

dev-master

9999999-dev

Automatically registers WordPress-Coding-Standards

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nerijus Eimanavičius