PHPCSStandards / composer-installer

Composer installer for PHP_CodeSniffer coding standards
https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer
MIT License
559 stars 36 forks source link

Fixes #33. Changes the way the installed_paths are set. #34

Closed frenck closed 7 years ago

frenck commented 7 years ago

Proposed Changes

Changes the behavior of registering installed_paths in PHP_CodeSniffer 3.x. It will now work in the same way as was required for PHP_CodeSniffer 2.x. It will record the directory ABOVE the directory containing the coding standard. The only exception is when the root project itself provides the standard in the root of its project.

Related Issues

#33 Incorrect relative paths for WPCS

brammittendorff-dd commented 7 years ago

Looks sane, you got my approve!

frenck commented 7 years ago

Thanks for reviewing @brammittendorff-dd!