Skip to content

chore(deps): bump sabberworm/php-css-parser from 8.9.0 to 9.2.0#2750

Open
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/composer/development/sabberworm/php-css-parser-9.2.0
Open

chore(deps): bump sabberworm/php-css-parser from 8.9.0 to 9.2.0#2750
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/composer/development/sabberworm/php-css-parser-9.2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2026

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

Release notes

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

V9.2.0: New features and deprecations

Added

  • Add OutputFormat::setSpaceAroundSelectorCombinator() (#1504)
  • Add support for escaped quotes in the selectors (#1485, #1489)
  • Provide line number in exception message for mismatched parentheses in selector (#1435)
  • Add support for CSS container queries (#1400)

Changed

  • RuleSet\RuleContainer is renamed to RuleSet\DeclarationList (#1530, #1539)
  • Methods like setRule() in RuleSet and DeclarationBlock have been renamed to setDeclaration(), etc. (#1521)
  • Rule\Rule class is renamed to Property\Declaration (#1508, #1512, #1513, #1522)
  • Rule::setRule() and getRule() are replaced with setPropertyName() and getPropertyName() (#1506)
  • Selector is now represented as a sequence of Selector\Component objects which can be accessed via getComponents(), manipulated individually, or set via setComponents() (#1478, #1486, #1487, #1488, #1494, #1496, #1536, #1537)
  • Selector::setSelector() and Selector constructor will now throw exception upon provision of an invalid selectior (#1498, #1502)
  • Clean up extra whitespace in CSS selector (#1398)
  • The array keys passed to DeclarationBlock::setSelectors() are no longer preserved (#1407)

Deprecated

  • RuleSet\RuleContainer is deprecated; use RuleSet\DeclarationList instead (#1530)
  • Methods like setRule() in RuleSet and DeclarationBlock are deprecated; there are direct replacements such as setDeclaration() (#1521)
  • Rule\Rule class is deprecated; Property\Declaration is a direct replacement (#1508)
  • Rule::setRule() and getRule() are deprecated and replaced with setPropertyName() and getPropertyName() (#1506, #1519)

Fixed

  • Do not escape characters that do not need escaping in CSS string (#1444)
  • Reject selector comprising only whitespace (#1433)
  • Improve recovery parsing when a rogue } is encountered (#1425, #1426)
  • Parse comment(s) immediately preceding a selector (#1421, #1424)
  • Parse consecutive comments (#1421)
  • Support attribute selectors with values containing commas in DeclarationBlock::setSelectors() (#1419)
  • Allow removeDeclarationBlockBySelector() to be order-insensitve (#1406)
  • Fix parsing of calc expressions when a newline immediately precedes or follows a + or - operator (#1399)

... (truncated)

Changelog

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

9.2.0: New features and deprecations

Added

  • Add OutputFormat::setSpaceAroundSelectorCombinator() (#1504)
  • Add support for escaped quotes in the selectors (#1485, #1489)
  • Provide line number in exception message for mismatched parentheses in selector (#1435)
  • Add support for CSS container queries (#1400)

Changed

  • RuleSet\RuleContainer is renamed to RuleSet\DeclarationList (#1530, #1539)
  • Methods like setRule() in RuleSet and DeclarationBlock have been renamed to setDeclaration(), etc. (#1521)
  • Rule\Rule class is renamed to Property\Declaration (#1508, #1512, #1513, #1522)
  • Rule::setRule() and getRule() are replaced with setPropertyName() and getPropertyName() (#1506)
  • Selector is now represented as a sequence of Selector\Component objects which can be accessed via getComponents(), manipulated individually, or set via setComponents() (#1478, #1486, #1487, #1488, #1494, #1496, #1536, #1537)
  • Selector::setSelector() and Selector constructor will now throw exception upon provision of an invalid selectior (#1498, #1502)
  • Clean up extra whitespace in CSS selector (#1398)
  • The array keys passed to DeclarationBlock::setSelectors() are no longer preserved (#1407)

Deprecated

  • RuleSet\RuleContainer is deprecated; use RuleSet\DeclarationList instead (#1530)
  • Methods like setRule() in RuleSet and DeclarationBlock are deprecated; there are direct replacements such as setDeclaration() (#1521)
  • Rule\Rule class is deprecated; Property\Declaration is a direct replacement (#1508)
  • Rule::setRule() and getRule() are deprecated and replaced with setPropertyName() and getPropertyName() (#1506, #1519)

Fixed

  • Do not escape characters that do not need escaping in CSS string (#1444)
  • Reject selector comprising only whitespace (#1433)
  • Improve recovery parsing when a rogue } is encountered (#1425, #1426)
  • Parse comment(s) immediately preceding a selector (#1421, #1424)
  • Parse consecutive comments (#1421)
  • Support attribute selectors with values containing commas in DeclarationBlock::setSelectors() (#1419)
  • Allow removeDeclarationBlockBySelector() to be order-insensitve (#1406)
  • Fix parsing of calc expressions when a newline immediately precedes or

... (truncated)

Commits
  • 5937304 [TASK] Prepare release of version 9.2.0 (#1543)
  • cb56b23 [TASK] Use DeclarationList in the tests (#1541)
  • eaa13f3 [TASK] Use DeclarationList in the source code (#1539)
  • 69f4ed8 [FEATURE] Add phpstan:clearcache Composer script (#1538)
  • a32cddc [BUGFIX] Allow selector combinators in pseudo-class functions (#1537)
  • 17dd54a [BUGFIX] Parse attribute selectors (#1536)
  • 34ba5d4 [BUGFIX] Make class aliases available for consumers (#1534)
  • 447fcb8 [TASK] Streamline the code checker and fixer configuration (#1535)
  • a3cc167 [TASK] Rename RuleContainer to DeclarationList (#1530)
  • 015a17b [TASK] Rename Rule to Declatation in test variables etc. (#1529)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [sabberworm/php-css-parser](https://github.com/MyIntervals/PHP-CSS-Parser) from 8.9.0 to 9.2.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.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 1, 2026
@pirate-bot
Copy link
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 271.64 KB 271.64 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 c7b8ce3 is ready 🛎️!

@pirate-bot
Copy link
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: {"q25":671.9,"q50":694.2,"q75":735.7,"cnt":10}, firstPaint: {"q25":439.4,"q50":491.6,"q75":517.5,"cnt":10}, domContentLoaded: {"q25":1498.8,"q50":1513.6,"q75":1535.9,"cnt":10}, loaded: {"q25":1499.2,"q50":1514,"q75":1536.5,"cnt":10}, firstContentfulPaint: {"q25":3215.3,"q50":3250.2,"q75":3270,"cnt":10}, firstBlock: {"q25":6728,"q50":6827.6,"q75":6919,"cnt":10}, type: {"q25":12.74,"q50":13.3,"q75":13.64,"cnt":10}, typeWithoutInspector: {"q25":11.3,"q50":12.22,"q75":12.89,"cnt":10}, typeWithTopToolbar: {"q25":14.82,"q50":15.38,"q75":15.69,"cnt":10}, typeContainer: {"q25":10.33,"q50":10.94,"q75":12.84,"cnt":10}, focus: {"q25":34.14,"q50":37.14,"q75":38.59,"cnt":10}, inserterOpen: {"q25":15.31,"q50":16.55,"q75":18.12,"cnt":10}, inserterSearch: {"q25":5.56,"q50":5.7,"q75":6,"cnt":10}, inserterHover: {"q25":3.01,"q50":3.19,"q75":3.52,"cnt":20}, loadPatterns: {"q25":1055.56,"q50":1082.11,"q75":1158.77,"cnt":10}, listViewOpen: {"q25":84.12,"q50":91.74,"q75":96.65,"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.

1 participant