docs: document wikimedia/less.php 4.x to 5.x upgrade#504
Merged
Conversation
Adds a less.php dependency entry under the Dependencies section and a breaking change bullet under LESS Preprocessing for the math expression behaviour change in CSS custom properties introduced with Less.js 3.5+. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the less.php 4.x → 5.x upgrade included in Flarum 2.x (flarum/framework#4225).
#### wikimedia/less.phpentry under the Dependencies section noting the version bump and that most PHP-level breaking changes were handled internally by core### LESS Preprocessingfor the math expression behaviour change in CSS custom properties: arithmetic inside--custom-propertydeclarations is no longer evaluated by the LESS compiler (aligns with Less.js 3.5+), with before/after code examples and acalc()alternativeThe other less.php 5.x breaking changes (
import_callbackremoval,AllParsedFiles()removal, etc.) were all internal to Flarum core and do not require any action from extension authors.Test plan
🤖 Generated with Claude Code