Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2025

Bumps sabberworm/php-css-parser from 8.9.0 to 9.1.0.

Release notes

Sourced from sabberworm/php-css-parser's releases.

V9.0.0: New features, deprecation removals and bug fixes

Added

  • Interface RuleContainer for RuleSet Rule manipulation methods (#1256)
  • Partial support for CSS Color Module Level 4:
    • rgb and rgba, and hsl and hsla are now aliases (#797)
    • Parse color functions that use the "modern" syntax (#800)
    • Render RGB functions with "modern" syntax when required (#840)
    • Support none as color function component value (#859)
  • Add a class diagram to the README (#482)
  • Add more tests (#449)

Changed

  • DeclarationBlock no longer extends RuleSet and instead has a RuleSet as a property; use getRuleSet() to access it directly (#1194)
  • The default line (and column) number is now null (not zero) (#1288)
  • setPosition() (in Rule and other classes) now has fluent interface, returning itself (#1259)
  • RuleSet::removeRule() now only allows Rule as the parameter (implementing classes are AtRuleSet and DeclarationBlock); use removeMatchingRules() or removeAllRules() for other functions (#1255)
  • RuleSet::getRules() and getRulesAssoc() now only allow string or null as the parameter (implementing classes are AtRuleSet and DeclarationBlock) (#1253)
  • Initialize KeyFrame properties to sensible defaults (#1146)
  • Make OutputFormat final (#1128)
  • Make Selector a Renderable (#1017)
  • Only allow string for some OutputFormat properties (#885)
  • Use more native type declarations and strict mode (#641, #772, #774, #778, #804, #841, #873, #875, #891, #922, #923, #933, #958, #964, #967, #1000, #1044, #1134, #1136, #1137, #1139, #1140, #1141, #1145, #1162, #1163, #1166, #1172, #1174, #1178, #1179, #1181, #1183, #1184, #1186, #1187, #1190, #1192, #1193, #1203)
  • Add visibility to all class/interface constants (#469)

Removed

  • Remove getLineNo() from these classes (use getLineNumber() instead): Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1258)
  • Remove Rule::getColNo() (use getColumnNumber() instead) (#1287)
  • Passing a string as the first argument to getAllValues() is no longer supported and will not work; the search pattern should now be passed as the second argument (#1243)
  • Passing a Boolean as the second argument to getAllValues() is no longer supported and will not work; the flag for searching in function arguments should now be passed as the third argument (#1243)
  • Remove __toString() (#1046)
  • Drop magic method forwarding in OutputFormat (#898)

... (truncated)

Changelog

Sourced from sabberworm/php-css-parser's changelog.

9.1.0: Add support for PHP 8.5

Added

  • Add support for PHP 8.5 (#1355)

Fixed

  • Improve performance of selector validation (avoiding silent PCRE catastrophic failure) (#1372)
  • Use typesafe versions of PHP functions (#1368, #1370)

9.0.0: New features, deprecation removals and bug fixes

Added

  • Interface RuleContainer for RuleSet Rule manipulation methods (#1256)
  • Partial support for CSS Color Module Level 4:
    • rgb and rgba, and hsl and hsla are now aliases (#797)
    • Parse color functions that use the "modern" syntax (#800)
    • Render RGB functions with "modern" syntax when required (#840)
    • Support none as color function component value (#859)
  • Add a class diagram to the README (#482)
  • Add more tests (#449)

Changed

  • DeclarationBlock no longer extends RuleSet and instead has a RuleSet as a property; use getRuleSet() to access it directly (#1194)
  • The default line (and column) number is now null (not zero) (#1288)
  • setPosition() (in Rule and other classes) now has fluent interface, returning itself (#1259)
  • RuleSet::removeRule() now only allows Rule as the parameter (implementing classes are AtRuleSet and DeclarationBlock); use removeMatchingRules() or removeAllRules() for other functions (#1255)
  • RuleSet::getRules() and getRulesAssoc() now only allow string or null as the parameter (implementing classes are AtRuleSet and DeclarationBlock) (#1253)
  • Initialize KeyFrame properties to sensible defaults (#1146)
  • Make OutputFormat final (#1128)
  • Make Selector a Renderable (#1017)
  • Only allow string for some OutputFormat properties (#885)
  • Use more native type declarations and strict mode (#641, #772, #774, #778, #804, #841, #873, #875, #891, #922, #923, #933, #958, #964, #967, #1000, #1044, #1134, #1136, #1137, #1139, #1140, #1141, #1145, #1162, #1163, #1166, #1172, #1174, #1178, #1179, #1181, #1183, #1184, #1186, #1187, #1190, #1192, #1193, #1203)
  • Add visibility to all class/interface constants (#469)

Removed

... (truncated)

Commits
  • 1b363fd [Dependabot] Update phpunit/phpunit requirement from 8.5.45 to 8.5.46 (#1377)
  • a727341 [TASK] Prepare release of version 9.1.0 (#1376)
  • 3b723d8 [FEATURE] Add support for PHP 8.5 (#1355)
  • 2212ada [TASK] Update the development tools (#1353)
  • 6bdbc43 [Dependabot] Update phpunit/phpunit requirement from 8.5.44 to 8.5.45 (#1375)
  • dbddfc3 [BUGFIX] Use safe file_get_contents in LenientParsingTest (#1373)
  • a72e71e [BUGFIX] Use the safe regexp functions in Selector (#1371)
  • 8263604 [BUGFIX] Improve selector validation performance (#1372)
  • 995442b [BUGFIX] Use the safe regexp functions in ParserState (#1370)
  • 1e3c2a0 [CLEANUP] Avoid Hungarian notation in quickdump.php (#1369)
  • 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.

Bumps [sabberworm/php-css-parser](https://github.com/MyIntervals/PHP-CSS-Parser) from 8.9.0 to 9.1.0.
- [Release notes](https://github.com/MyIntervals/PHP-CSS-Parser/releases)
- [Changelog](https://github.com/MyIntervals/PHP-CSS-Parser/blob/main/CHANGELOG.md)
- [Commits](MyIntervals/PHP-CSS-Parser@v8.9.0...v9.1.0)

---
updated-dependencies:
- dependency-name: sabberworm/php-css-parser
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Oct 1, 2025
@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 271.38 KB 271.38 KB 0 B (0.00%)
Blocks 1.54 MB 1.54 MB 0 B (0.00%)
CSS 100.76 KB 100.76 KB 0 B (0.00%)
Dashboard 198.36 KB 198.36 KB 0 B (0.00%)
Onboarding 160.8 KB 160.8 KB 0 B (0.00%)
Export Import 97.73 KB 97.73 KB 0 B (0.00%)
Pro 407.08 KB 407.08 KB 0 B (0.00%)

@pirate-bot
Copy link
Contributor

Plugin build for 306e4cb is ready 🛎️!

@pirate-bot
Copy link
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: {"q25":389.6,"q50":408.75,"q75":422.9,"cnt":10}, firstPaint: {"q25":421.2,"q50":453.2,"q75":481.8,"cnt":10}, domContentLoaded: {"q25":1425.6,"q50":1432.85,"q75":1453.4,"cnt":10}, loaded: {"q25":1426,"q50":1433.15,"q75":1453.9,"cnt":10}, firstContentfulPaint: {"q25":3108,"q50":3131.2,"q75":3148.1,"cnt":10}, firstBlock: {"q25":6632.9,"q50":6718.85,"q75":6759,"cnt":10}, type: {"q25":12.63,"q50":13.05,"q75":13.38,"cnt":10}, typeWithoutInspector: {"q25":10.58,"q50":10.91,"q75":12.03,"cnt":10}, typeWithTopToolbar: {"q25":14.64,"q50":15.28,"q75":16.54,"cnt":10}, typeContainer: {"q25":6.89,"q50":7.57,"q75":8.3,"cnt":10}, focus: {"q25":40.28,"q50":43.19,"q75":46.04,"cnt":10}, inserterOpen: {"q25":15.34,"q50":15.85,"q75":16.38,"cnt":10}, inserterSearch: {"q25":5.3,"q50":5.64,"q75":5.98,"cnt":10}, inserterHover: {"q25":2.3,"q50":2.35,"q75":2.55,"cnt":20}, loadPatterns: {"q25":1025.14,"q50":1039.66,"q75":1053.71,"cnt":10}, listViewOpen: {"q25":76.85,"q50":83.76,"q75":90.27,"cnt":10}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants