Skip to content

Conversation

@dependabot
Copy link
Contributor

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

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

Release notes

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

8.9.0: New features, bug fixes and deprecations

Added

  • RuleSet::removeMatchingRules() method (for the implementing classes AtRuleSet and DeclarationBlock) (#1249)
  • RuleSet::removeAllRules() method (for the implementing classes AtRuleSet and DeclarationBlock) (#1249)
  • Add Interface CSSElement (#1231)
  • Methods getLineNumber and getColumnNumber which return a nullable int for the following classes: Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1225, #1263)
  • Positionable interface for CSS items that may have a position (line and perhaps column number) in the parsed CSS (#1221)

Changed

  • Parameters for getAllValues() are deconflated, so it now takes three (all optional), allowing $element and $ruleSearchPattern to be specified separately (#1241)
  • Implement Positionable in the following CSS item classes: Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1225)

Deprecated

  • Support for PHP < 7.2 is deprecated; version 9.0 will require PHP 7.2 or later (#1264)
  • Passing a string or null to RuleSet::removeRule() is deprecated (implementing classes are AtRuleSet and DeclarationBlock); use removeMatchingRules() or removeAllRules() instead (#1249)
  • Passing a Rule to RuleSet::getRules() or getRulesAssoc() is deprecated, affecting the implementing classes AtRuleSet and DeclarationBlock (call e.g. getRules($rule->getRule()) instead) (#1248)
  • Passing a string as the first argument to getAllValues() is deprecated; the search pattern should now be passed as the second argument (#1241)
  • Passing a Boolean as the second argument to getAllValues() is deprecated; the flag for searching in function arguments should now be passed as the third argument (#1241)
  • getLineNo() is deprecated in these classes (use getLineNumber() instead): Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1225, #1233)
  • Rule::getColNo() is deprecated (use getColumnNumber() instead) (#1225, #1233)
  • Providing zero as the line number argument to Rule::setPosition() is deprecated (pass null instead if there is no line number) (#1225, #1233)

Fixed

  • Set line number when RuleSet::addRule() called with only column number set

... (truncated)

Changelog

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

8.9.0: New features, bug fixes and deprecations

Added

  • RuleSet::removeMatchingRules() method (for the implementing classes AtRuleSet and DeclarationBlock) (#1249)
  • RuleSet::removeAllRules() method (for the implementing classes AtRuleSet and DeclarationBlock) (#1249)
  • Add Interface CSSElement (#1231)
  • Methods getLineNumber and getColumnNumber which return a nullable int for the following classes: Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1225, #1263)
  • Positionable interface for CSS items that may have a position (line and perhaps column number) in the parsed CSS (#1221)

Changed

  • Parameters for getAllValues() are deconflated, so it now takes three (all optional), allowing $element and $ruleSearchPattern to be specified separately (#1241)
  • Implement Positionable in the following CSS item classes: Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1225)

Deprecated

  • Support for PHP < 7.2 is deprecated; version 9.0 will require PHP 7.2 or later (#1264)
  • Passing a string or null to RuleSet::removeRule() is deprecated (implementing classes are AtRuleSet and DeclarationBlock); use removeMatchingRules() or removeAllRules() instead (#1249)
  • Passing a Rule to RuleSet::getRules() or getRulesAssoc() is deprecated, affecting the implementing classes AtRuleSet and DeclarationBlock (call e.g. getRules($rule->getRule()) instead) (#1248)
  • Passing a string as the first argument to getAllValues() is deprecated; the search pattern should now be passed as the second argument (#1241)
  • Passing a Boolean as the second argument to getAllValues() is deprecated; the flag for searching in function arguments should now be passed as the third argument (#1241)
  • getLineNo() is deprecated in these classes (use getLineNumber() instead): Comment, CSSList, SourceException, Charset, CSSNamespace, Import, Rule, DeclarationBlock, RuleSet, CSSFunction, Value (#1225, #1233)
  • Rule::getColNo() is deprecated (use getColumnNumber() instead) (#1225, #1233)
  • Providing zero as the line number argument to Rule::setPosition() is deprecated (pass null instead if there is no line number) (#1225, #1233)

Fixed

... (truncated)

Commits
  • d8e9165 [TASK] Prepare release of version 8.9.0 (#1327)
  • e0a904e [BUGFIX] Ensure valid position after AddRule (#1271)
  • 7a469b2 [TASK] Add tests for RuleSet::addRule() without sibling argument (#1269)
  • 4c0e4a8 [BUGFIX] Don't return objects from data providers (#1267)
  • 009b6ca [TASK] Add changelog note that PHP < 7.2 is deprecated (#1264)
  • d11477c [TASK] Deprecate passing Rule to RuleSet::getRules() (#1252)
  • a14dc83 [TASK] Add separate methods for RuleSet::removeRule(), with deprecation (#1...
  • f5fc39a [TASK] Deconflate getAllValues() parameters (#1242)
  • e100b80 [TASK] Add and implement Positionable interface (#1232)
  • aa12119 [CLEANUP] Move magic deprecation changelog entry to correct section (#1223)
  • See full diff 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 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)

Bumps [sabberworm/php-css-parser](https://github.com/MyIntervals/PHP-CSS-Parser) from 8.8.0 to 8.9.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.8.0...v8.9.0)

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

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 Jul 24, 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 2dc9fe1 is ready 🛎️!

@pirate-bot
Copy link
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: {"q25":392,"q50":403.55,"q75":429.3,"cnt":10}, firstPaint: {"q25":445.6,"q50":481.65,"q75":499.1,"cnt":10}, domContentLoaded: {"q25":1444.2,"q50":1463.35,"q75":1478.3,"cnt":10}, loaded: {"q25":1444.5,"q50":1463.75,"q75":1478.7,"cnt":10}, firstContentfulPaint: {"q25":3168.6,"q50":3173.9,"q75":3206.8,"cnt":10}, firstBlock: {"q25":6786.2,"q50":6812,"q75":6873.4,"cnt":10}, type: {"q25":11.39,"q50":12.24,"q75":13.32,"cnt":10}, typeWithoutInspector: {"q25":10.66,"q50":11.72,"q75":12.09,"cnt":10}, typeWithTopToolbar: {"q25":16.73,"q50":17.49,"q75":20.49,"cnt":10}, typeContainer: {"q25":6.72,"q50":7.54,"q75":7.92,"cnt":10}, focus: {"q25":43.43,"q50":47.06,"q75":49.1,"cnt":10}, inserterOpen: {"q25":15.17,"q50":15.65,"q75":16.87,"cnt":10}, inserterSearch: {"q25":5.45,"q50":5.57,"q75":5.86,"cnt":10}, inserterHover: {"q25":2.22,"q50":2.3,"q75":2.49,"cnt":20}, loadPatterns: {"q25":1034.9,"q50":1080.78,"q75":1111.85,"cnt":10}, listViewOpen: {"q25":81.22,"q50":85.85,"q75":93.54,"cnt":10}

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 1, 2025

Superseded by #2646.

@dependabot dependabot bot closed this Aug 1, 2025
@dependabot dependabot bot deleted the dependabot/composer/development/sabberworm/php-css-parser-8.9.0 branch August 1, 2025 23:44
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