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

Composer: Stabilize minimum PHPCompatibility version #3

Merged
merged 2 commits into from
Jul 16, 2018

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 16, 2018

The WP ruleset references the following sniffs:

  • PHPCompatibility.PHP.NewClasses - been in the repo from before the first tag
  • PHPCompatibility.PHP.NewConstants - introduced in 8.1.0
  • PHPCompatibility.PHP.NewFunctions - been in the repo from before the first tag
  • PHPCompatibility.PHP.NewInterfaces`- introduced in 7.0.3
  • PHPCompatibility.PHP.RemovedExtensions - been in the repo from before the first tag

In other words, the minimum version of PHPCompatibility should be 8.1.0 for this release.

This will also prevent an update to PHPCompatibility 9.0.0 before we've had a chance to update the ruleset to reflect the new sniff names.

In a separate commit, I've removed --with-dependencies from the Travis composer validation as the PHPCompatibility composer file has a warning and would fail the build. The build should now pass.

jrfnl added 2 commits July 16, 2018 19:22
The WP ruleset references the following sniffs:
* PHPCompatibility.PHP.NewClasses - been in the repo from before the first tag
* PHPCompatibility.PHP.NewConstants - introduced in 8.1.0
* PHPCompatibility.PHP.NewFunctions - been in the repo from before the first tag
* PHPCompatibility.PHP.NewInterfaces`- introduced in 7.0.3
* PHPCompatibility.PHP.RemovedExtensions - been in the repo from before the first tag

In other words, the minimum version of PHPCompatibility should be 8.1.0 for this release.

This will also prevent an update to PHPCompatibility 9.0.0 before we've had a chance to update the ruleset to reflect the new sniff names.
This should be done in their own Travis script.
@jrfnl jrfnl added this to the 1.0.0 milestone Jul 16, 2018
@jrfnl jrfnl requested a review from wimg July 16, 2018 18:25
@wimg wimg merged commit b26c84d into master Jul 16, 2018
@wimg wimg deleted the feature/composer-min-version-phpcompatibility branch July 16, 2018 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants