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: update VariableAnalysis dependency #764

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Aug 22, 2023

At this time, the minimum supported VA dependency is set at 2.11.1 after PR #691, which was included in VIPCS 2.3.3.

Since then, there have been a bunch of new releases. While the minimum supported version doesn't necessarily have to be updated each time, there is one reason why I believe it would be a good idea to update it:

  • v 2.11.10 widened the allowed versions for the Composer PHPCS installer plugin. Without this fix, the Composer plugin cannot update to v 1.0.0 as VA blocks the update.

And if we're updating VA anyway, I suggest we go straight to the latest & greatest as quite a few bugs, most to do with modern PHP support, have been fixed in the mean time.

Refs: https://github.com/sirbrillig/phpcs-variable-analysis/releases

At this time, the minimum supported VA dependency is set at `2.11.1` after PR 691, which was included in VIPCS 2.3.3.

Since then, there have been a bunch of new releases. While the minimum supported version doesn't necessarily have to be updated each time, there is one reason why I believe it would be a good idea to update it:
* v 2.11.10 widened the allowed versions for the Composer PHPCS installer plugin.
    Without this fix, the Composer plugin cannot update to v 1.0.0 as VA blocks the update.

And if we're updating VA anyway, I suggest we go straight to the latest & greatest as quite a few bugs, most to do with modern PHP support, have been fixed in the mean time.

Refs: https://github.com/sirbrillig/phpcs-variable-analysis/releases
@jrfnl jrfnl added this to the 2.3.4 milestone Aug 22, 2023
@jrfnl jrfnl requested a review from a team as a code owner August 22, 2023 23:17
Copy link
Contributor

@GaryJones GaryJones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GaryJones GaryJones merged commit 2b1ee2e into develop Aug 23, 2023
32 checks passed
@GaryJones GaryJones deleted the feature/update-variableanalysis-dependency branch August 23, 2023 13:29
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.

2 participants