Skip to content
Merged
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Please also have a look at our

### Deprecated

- Deprecate magic method forwarding from `OutputFormat` to `OutputFormatter`
(#894)
- Deprecate greedy calculation of selector specificity (#1018)
- Deprecate `__toString()` (#1006)
- `OutputFormat` properties for space around list separators as an array (#880)
Expand Down
1 change: 1 addition & 0 deletions src/OutputFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ public function set($aNames, $mValue)
public function __call(string $sMethodName, array $aArguments)
{
if (\method_exists(OutputFormatter::class, $sMethodName)) {
// @deprecated since 8.8.0, will be removed in 9.0.0. Call the method on the formatter directly instead.
return \call_user_func_array([$this->getFormatter(), $sMethodName], $aArguments);
} else {
throw new \Exception('Unknown OutputFormat method called: ' . $sMethodName);
Expand Down