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 wikimedia/less.php dependency #16976

Merged
merged 2 commits into from Dec 21, 2020
Merged

Update wikimedia/less.php dependency #16976

merged 2 commits into from Dec 21, 2020

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Dec 18, 2020

Description:

We need to update wikimedia/less.php as the new release has some fixes for PHP 8.

I had to overwrite the composer platform config to PHP 7.2.9, as wikimedia/less.php requires PHP 7.2.9.
It should work with 7.2.5 as well, see wikimedia/less.php#50 (comment)

refs #16897

Review

  • Functional review done
  • Usability review done (is anything maybe unclear or think about anything that would cause people to reach out to support)
  • Security review done see checklist
  • Code review done
  • Tests were added if useful/possible
  • Reviewed for breaking changes
  • Developer changelog updated if needed
  • Documentation added if needed
  • Existing documentation updated if needed

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review labels Dec 18, 2020
@sgiehl sgiehl added this to the 4.1.0 milestone Dec 18, 2020
@@ -25,7 +25,7 @@
},
"config": {
"platform": {
"php": "7.2.5"
"php": "7.2.9"
Copy link
Member

Choose a reason for hiding this comment

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

is this upgrade necessary? Does it mean we no longer support 7.2.5 as a minimum version @sgiehl ?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's the platform override value. So composer assumes 7.2.9 is installed, but the requirement is still set to 7.2.5

Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member Author

Choose a reason for hiding this comment

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

@tsteur we maybe should merge this if possible before releasing a new version, as there might otherwise be issues on PHP 8

Copy link
Member

Choose a reason for hiding this comment

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

@sgiehl planning to merge in a bit. https://github.com/wikimedia/less.php/blob/master/composer.json#L21 mentions it requires 7.2.9 so hoping it will still run on 7.2.5 (was changed in wikimedia/less.php@28baca4)

Copy link
Member Author

Choose a reason for hiding this comment

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

@tsteur tsteur merged commit 33c5391 into 4.x-dev Dec 21, 2020
@tsteur tsteur deleted the updatephpless branch December 21, 2020 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update wikimedia/less.php dependency to v3.1.0 or above
2 participants