next-press / NextPress-Coding-Standards

PHP_CodeSniffer rules (sniffs) to enforce NextPress product coding conventions
0 stars 1 forks source link

Add WPCS and PHP_CodeSniffer Standards Composer Installer as depencies #1

Closed felipeelia closed 4 years ago

felipeelia commented 4 years ago

This PR main objective is to make the installation and update processes easier, keeping everything under Composer.

How to test it

I suggest you remove the globally installed PHP_CodeSniffer package with composer global remove squizlabs/php_codesniffer

and then globally install this package alone with composer global require nextpress/nextpresscs:dev-phpcs-composer-installer-compatibility

Installing this package globally will (re)install _PHPCodeSniffer, WordPress Coding Standards, and _PHPCodeSniffer Standards Composer Installer, the package responsible to automatically link WPCS and NextPress CS to PHPCS.

After merging this PR, we should change nextpress/nextpresscs version to dev-master.