Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 7, 2025

Bumps wikimedia/less.php from 3.2.1 to 5.4.0.

Changelog

Sourced from wikimedia/less.php's changelog.

v5.4.0

Added:

  • Add support for Logical Functions if() and boolean(). (Hannah Okwelum) T393383

Changed:

  • Remove support for PHP 7.4 and 8.0. Raise requirement to PHP 8.1+. (James D. Forrester)

v5.3.1

Fixed:

  • Fix PHP Warning: Undefined property $value in extract(). (Timo Tijhof) T391735

v5.3.0

Added:

  • Less_Parser: Add cache_incremental option. Set this to false via Less_Cache to use the fast whole-output cache without the memory-intensive incremental cache. (Timo Tijhof)

Deprecated:

  • Deprecate Less_Cache::CheckCacheDir() as public method. This is called automatically.
  • Deprecate Less_Cache::CleanCache() as public method. This is called automatically.
  • Deprecate Less_Parser::SetCacheDir(). Set the cache_dir option, or use Less_Cache::SetCacheDir() instead.

v5.2.2

Fixed:

  • Fix ParseError on CSS variable when there is no trailing semicolon (Hannah Okwelum) T386077
  • Support functions calls in CSS variable value after first comma (Hannah Okwelum) T386079

v5.2.1

Fixed:

  • Fix un-parenthesized nested operation via a variable (Hannah Okwelum) T386074
  • Faster Less_Visitor_joinSelector by skipping Declaration blocks (ubermanu)

v5.2.0

Added:

  • Add support for BrianHenryIE/strauss codemod in Less_Visitor (Stefan Warnat)

Fixed:

  • Fix "PHP Warning: Undefined array key currentUri" when using @import (inline) (tck) T380641
  • Fix "Implicit conversion from float to int" PHP 8.1 warning when using hsv() (Peter Knut)
  • Less_Visitor: Faster class mapping in visitObj by using inline cache (Thiemo Kreuz)

v5.1.2

Fixed:

  • Less_Functions: Fix "Implicitly nullable parameter" PHP 8.4 warning (Reedy) T376276

... (truncated)

Commits
  • 75a0db4 Tag v5.4.0
  • 527ada3 Add support for Logical Functions if() and boolean()
  • 1cf180d Implement isVisble for Less_Tree_Anonymous
  • e2e13bf docs: Mention "Flarum" as another major user of Less.php
  • 61a17c8 [BREAKING CHANGE] Drop support for PHP < 8.1
  • 78229b8 build: Updating mediawiki/mediawiki-codesniffer to 47.0.0
  • 5595d62 build: Remove phan stub for Less_Tree_Selector
  • 156355e Less_Tree_Selector: Fix incorrect arg to Less_Tree_Extend::compile
  • fb0ed62 Tag v5.3.1
  • 1d865ed Refactor expect() to make phan understand the return type
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Jul 7, 2025
@cla-bot cla-bot bot added the cla/signed label Jul 7, 2025
@nilmerg
Copy link
Member

nilmerg commented Jul 9, 2025

Incompatible with Icinga Web 2:

Fatal error: Uncaught ErrorException: Attempt to read property "name" on null in /icingaweb2/library/Icinga/Less/Visitor.php on line 79
( ! ) ErrorException: Attempt to read property "name" on null in /icingaweb2/library/Icinga/Less/Visitor.php on line 79
Call Stack
#	Time	Memory	Function	Location
1	0.0052	499776	{main}()	.../index.php:0
3	0.0618	3581080	Icinga\Web\StyleSheet::send()	.../webrouter.php:62
4	0.1382	6259512	Icinga\Web\StyleSheet->render()	.../StyleSheet.php:279
5	0.1384	6394896	Icinga\Web\LessCompiler->render()	.../StyleSheet.php:240
6	0.1408	7014096	Icinga\Util\LessParser->compile()	.../LessCompiler.php:225
7	5.6739	31991560	Less_Parser->getCss()	.../lessc.inc.php:137
8	6.1554	34232456	Less_Parser->PreVisitors()	.../Parser.php:246
9	6.1554	34232512	Icinga\Less\Visitor->run()	.../Parser.php:422
10	6.1558	34242184	Icinga\Less\Visitor->visitObj()	.../Visitor.php:196
11	6.1558	34242296	Less_Tree_Ruleset->accept()	.../Visitor.php:45
12	6.1558	34242352	Icinga\Less\Visitor->visitArray()	.../Ruleset.php:79
13	6.2299	34135776	Icinga\Less\Visitor->visitObj()	.../VisitorReplacing.php:10
14	6.2299	34135824	Less_Tree_Declaration->accept()	.../Visitor.php:54
15	6.2299	34135880	Icinga\Less\Visitor->visitObj()	.../Declaration.php:67
16	6.2299	34135928	Icinga\Less\Visitor->visitDetachedRuleset()	.../Visitor.php:39
17	6.2299	34136072	Icinga\Application\EmbeddedWeb->Icinga\Application\{closure:/icingaweb2/library/Icinga/Application/ApplicationBootstrap.php:574-586}()	.../Visitor.php:79

Bumps [wikimedia/less.php](https://github.com/wikimedia/less.php) from 3.2.1 to 5.4.0.
- [Changelog](https://github.com/wikimedia/less.php/blob/master/CHANGES.md)
- [Commits](wikimedia/less.php@v3.2.1...v5.4.0)

---
updated-dependencies:
- dependency-name: wikimedia/less.php
  dependency-version: 5.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/composer/wikimedia/less.php-5.4.0 branch from 0575d30 to 551ef41 Compare July 25, 2025 13:14
@nilmerg nilmerg force-pushed the main branch 2 times, most recently from f9f2eb9 to 2d8baea Compare July 25, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed dependencies Pull requests that update a dependency file php Pull requests that update php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant