Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Please also have a look at our

### Removed

- Drop greedy calculation of selector specificity (#1021)
- Drop `getLineNo()` from the `Renderable` interface (#1038)
- Remove `OutputFormat::level()` (#874)
- Remove expansion of shorthand properties (#838)
Expand Down
8 changes: 1 addition & 7 deletions src/Property/Selector.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,9 @@ public static function isValid(string $selector)
return \preg_match(static::SELECTOR_VALIDATION_RX, $selector);
}

/**
* @param bool $calculateSpecificity @deprecated since V8.8.0, will be removed in V9.0.0
*/
public function __construct(string $selector, bool $calculateSpecificity = false)
public function __construct(string $selector)
{
$this->setSelector($selector);
if ($calculateSpecificity) {
$this->getSpecificity();
}
}

public function getSelector(): string
Expand Down
Loading