Skip to content

docs: document wikimedia/less.php 4.x to 5.x upgrade#504

Merged
imorland merged 1 commit intomainfrom
im/less-php-5-docs
Feb 25, 2026
Merged

docs: document wikimedia/less.php 4.x to 5.x upgrade#504
imorland merged 1 commit intomainfrom
im/less-php-5-docs

Conversation

@imorland
Copy link
Copy Markdown
Member

Summary

Documents the less.php 4.x → 5.x upgrade included in Flarum 2.x (flarum/framework#4225).

  • Adds a #### wikimedia/less.php entry under the Dependencies section noting the version bump and that most PHP-level breaking changes were handled internally by core
  • Adds a breaking change bullet under ### LESS Preprocessing for the math expression behaviour change in CSS custom properties: arithmetic inside --custom-property declarations is no longer evaluated by the LESS compiler (aligns with Less.js 3.5+), with before/after code examples and a calc() alternative

The other less.php 5.x breaking changes (import_callback removal, AllParsedFiles() removal, etc.) were all internal to Flarum core and do not require any action from extension authors.

Test plan

🤖 Generated with Claude Code

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>
@imorland imorland merged commit 0e178ab into main Feb 25, 2026
1 check passed
@imorland imorland deleted the im/less-php-5-docs branch February 25, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant