Skip to content
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

Update for new releases PHPCompatibility and WPCS #81

Merged
merged 4 commits into from
Jul 30, 2018

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Jul 26, 2018

Remove the composer.lock file

Committing the composer.lock file for libraries is not necessary as it will be ignored anyway by the consumers of the package.

Also, as this library is supposed to support various versions of PHPCS and in the future possibly various version of WPCS, it is actually a bad idea to lock the versions as this makes testing against different PHPCS/WPCS combinations more involved.

Travis: install dependencies via Composer instead of via git cloning

This simplifies the install script, especially when in the future various version of WPCS would be supported too.

Start using PHPCompatibilityWP

PHPCompatibility has been moved to a dedicated GitHub organisation account and has released version 8.2.0.

A PHPCompatibilityWP ruleset is now also available in a separate repo which already excludes all back-fills/poly-fills which WP provides.

This ruleset should from now on be used to test the plugins.

For testing this repository, the "normal" PHPCompatibility ruleset should still be used as the code from this repo is not run within the context of WP, but in the context of PHPCS.

For more details, see the release notes of the PHPCompatibility 8.2.0 release.

Upgrade to WPCS 1.0.0

No changes needed in the ruleset.

Committing the `composer.lock` file for libraries is not necessary as it will be ignored anyway by the consumers of the package.

Also, as this library is supposed to support various versions of PHPCS and in the future possibly various version of WPCS, it is actually a bad idea to lock the versions as this makes testing against different PHPCS/WPCS combinations more involved.
@jrfnl jrfnl added this to the 1.0.0 milestone Jul 26, 2018
This simplifies the `install` script, especially when in the future various version of WPCS would be supported too.

Includes caching of the Packagist downloads.
@jrfnl jrfnl force-pushed the JRF/update-for-new-releases-phpcompatibility-wpcs branch 2 times, most recently from 51298cb to 673eac9 Compare July 26, 2018 16:31
PHPCompatibility has been moved to a dedicated GitHub organisation account and has released version 8.2.0.

A `PHPCompatibilityWP` ruleset is now also available in a separate repo which already excludes all back-fills/poly-fills which WP provides.

This ruleset should from now on be used to test the plugins.

For testing this repository, the "normal" PHPCompatibility ruleset should still be used as the code from this repo is not run within the context of WP, but in the context of PHPCS.

For more details, see the [release notes of the PHPCompatibility 8.2.0 release](https://github.com/PHPCompatibility/PHPCompatibility/releases/tag/8.2.0).
@jrfnl jrfnl force-pushed the JRF/update-for-new-releases-phpcompatibility-wpcs branch from 673eac9 to 9833b96 Compare July 26, 2018 16:39
@moorscode moorscode merged commit 021ad26 into develop Jul 30, 2018
@moorscode moorscode deleted the JRF/update-for-new-releases-phpcompatibility-wpcs branch July 30, 2018 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants