-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add template/composer.json #63
Comments
I can't think of any issues with adding a However, the original reason for installing WPCS as a global install was to avoid overwriting an existing |
As noted in #161, I'd strongly advise to use the |
I was thinking about this and I agree that editing an existing composer file is a potential issue. However, that could be a potential issue regardless. Someone might have an existing project they want to add tests to. So I thought instead of reinventing the wheel in order to update the composer.json file, can/should the |
Adding a
composer.json
template would encourage developers to make their plugins available via Packagist, and also allow local install of dependencies.Currently, WPCS + PHPCS is made available via a global composer install here for Travis.
I haven't yet found a template for the plugin's
composer.json
, but adding WPCS + PHPCS + PHPCompatibility +DealerDirect/phpcodesniffer-composer-installer
to acomposer.json
would make PHPCS runnable from local, without Travis.The text was updated successfully, but these errors were encountered: