---
title: "sabberworm/php-css-parser v9.0.0 Breaking Changes"
description: "What each sabberworm/php-css-parser release removed, renamed or changed: 191 breaking changes in 1 version on Packagist, each with its source."
canonical_url: https://since.dev/packages/packagist/sabberworm/php-css-parser
last_updated: 2026-12-04
---

# sabberworm/php-css-parser breaking changes

sabberworm/php-css-parser v9.0.0 (July 27, 2025) is its newest release with breaking changes, 191 of them. The first: Dropped support for PHP below 7.2 in sabberworm/php-css-parser v9.0.0. Every breaking API change we have recorded in sabberworm/php-css-parser on Packagist: 191 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v9.5.0`, released September 20, 2026. MIT license. [Source repository](https://github.com/MyIntervals/PHP-CSS-Parser)

Packages on Packagist run on PHP. [PHP end of life dates](https://since.dev/calendar/php.md).

## sabberworm/php-css-parser v9.0.0 breaking changes

sabberworm/php-css-parser v9.0.0, released July 27, 2025: 191 breaking changes.

- **Removed**  

Support for PHP versions older than 7.2 was removed. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `Charset.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `Comment.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `CSSFunction.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `CSSList.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `CSSNamespace.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `DeclarationBlock.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `Import.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `OutputFormat`  

Dropped magic method forwarding in OutputFormat in sabberworm/php-css-parser v9.0.0 [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `Rule.getColNo`  

Use getColumnNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `Rule.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `RuleSet.getLineNo`  

Use getLineNumber() instead. [github.com](https://github.com/MyIntervals/PHP-CSS-Parser/releases/tag/v9.0.0)
- **Removed** `Sabberworm\CSS\CSSList\CSSBlockList::allDeclarationBlocks`  

Sabberworm\\CSS\\CSSList\\CSSBlockList::allDeclarationBlocks was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\CSSList\CSSBlockList::allRuleSets`  

Sabberworm\\CSS\\CSSList\\CSSBlockList::allRuleSets was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\CSSList\CSSBlockList::allSelectors`  

Sabberworm\\CSS\\CSSList\\CSSBlockList::allSelectors was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\CSSList\CSSBlockList::allValues`  

Sabberworm\\CSS\\CSSList\\CSSBlockList::allValues was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\CSSList\Document::createShorthands`  

Sabberworm\\CSS\\CSSList\\Document::createShorthands was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\CSSList\Document::expandShorthands`  

Sabberworm\\CSS\\CSSList\\Document::expandShorthands was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\OutputFormat::__call`  

Sabberworm\\CSS\\OutputFormat::\_\_call was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\OutputFormat::get`  

Removed OutputFormat::get() in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\OutputFormat::level`  

Removed OutputFormat::level() in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\OutputFormat::set`  

Removed OutputFormat::set() in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Parser::getCharset`  

Removed Parser::getCharset() in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Parser::setCharset`  

Removed Parser::setCharset() in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Position\Positionable::getColNo`  

Use getColumnNumber instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Position\Positionable::getLineNo`  

Use getLineNumber instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Property\AtRule::atRuleArgs`  

Removed atRuleArgs() from AtRule interface in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Renderable::__toString`  

Use render instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Renderable::getLineNo`  

Use getLineNumber() instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Rule\Rule::addIeHack`  

Sabberworm\\CSS\\Rule\\Rule::addIeHack was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Rule\Rule::getIeHack`  

Sabberworm\\CSS\\Rule\\Rule::getIeHack was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Rule\Rule::getValues`  

Use getValue instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Rule\Rule::setIeHack`  

Sabberworm\\CSS\\Rule\\Rule::setIeHack was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\Rule\Rule::setValues`  

Use setValue instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createBackgroundShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createBackgroundShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createBorderShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createBorderShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createDimensionsShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createDimensionsShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createFontShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createFontShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createListStyleShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createListStyleShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createShorthandProperties`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createShorthandProperties was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::createShorthands`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::createShorthands was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::expandBackgroundShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::expandBackgroundShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::expandBorderShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::expandBorderShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::expandDimensionsShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::expandDimensionsShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::expandFontShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::expandFontShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::expandListStyleShorthand`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::expandListStyleShorthand was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::expandShorthands`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::expandShorthands was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::getSelector`  

Use getSelectors instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::renderRules`  

Sabberworm\\CSS\\RuleSet\\DeclarationBlock::renderRules was removed in sabberworm/php-css-parser v9.0.0 [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)
- **Removed** `Sabberworm\CSS\RuleSet\DeclarationBlock::setSelector`  

Use setSelectors instead. [packagist.org](https://packagist.org/packages/sabberworm/php-css-parser#v9.0.0)

And 141 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
