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: tweak PHPCS version constraint #152

Merged
merged 1 commit into from Feb 4, 2022

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 30, 2022

Proposed Changes

Some of the early PHPCS 3.x versions did not support external standards correctly, so using this plugin with those would always run into trouble, so let's just make it explicit that 3.0.0 and 3.0.1 are not supported.

3.0.2 should be fine, though IIRC, even 3.1.0 contained some fixes for external standard support, so we could choose to up this to ^3.1.0 to be on the safe side.

Potherca
Potherca previously approved these changes Jan 31, 2022
Some of the early PHPCS 3.x versions did not support external standards correctly, so using this plugin with those would always run into trouble, so let's just make it explicit that `3.0.0`, `3.0.1` and `3.0.2` are not supported.
@jrfnl jrfnl force-pushed the feature/composer-drop-early-phpcs-3-support branch from e0500cd to 91ff19e Compare February 4, 2022 07:35
@jrfnl
Copy link
Member Author

jrfnl commented Feb 4, 2022

Just came across issue #33 and based on the discussion in that issue, which references upstream fixes needing to be made which only got released in PHPCS 3.1.0, I do think upping the minimum for the 3.x branch to 3.1.0 seems prudent. I've updated the PR to reflect this.

@Potherca Potherca merged commit bea1025 into master Feb 4, 2022
@Potherca Potherca deleted the feature/composer-drop-early-phpcs-3-support branch February 4, 2022 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants