diff --git a/CHANGELOG.md b/CHANGELOG.md index 119d0023..e744f1e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Deprecated +- Deprecate `OutputFormat::get()` and `::set()` (#1107) - Deprecate support for `-webkit-calc` and `-moz-calc` (#1086) - Deprecate `__toString()` (#1006) - Deprecate greedy calculation of selector specificity (#1018) diff --git a/src/OutputFormat.php b/src/OutputFormat.php index ad82395a..d31ef4ff 100644 --- a/src/OutputFormat.php +++ b/src/OutputFormat.php @@ -247,6 +247,8 @@ public function __construct() * @param string $sName * * @return string|null + * + * @deprecated since 8.8.0, will be removed in 9.0.0. Use specific getters instead. */ public function get($sName) { @@ -265,6 +267,8 @@ public function get($sName) * @param mixed $mValue * * @return self|false + * + * @deprecated since 8.8.0, will be removed in 9.0.0. Use specific setters instead. */ public function set($aNames, $mValue) {