Skip to content

Commit 8acbf2d

Browse files
committed
[TASK] Deprecate OutputFormat::get() and ::set()
Part of #1103
1 parent 21e1a8c commit 8acbf2d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1919

2020
### Deprecated
2121

22+
- Deprecate `OutputFormat::get()` and `::set()` (#1107)
2223
- Deprecate support for `-webkit-calc` and `-moz-calc` (#1086)
2324
- Deprecate `__toString()` (#1006)
2425
- Deprecate greedy calculation of selector specificity (#1018)

src/OutputFormat.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ public function __construct()
247247
* @param string $sName
248248
*
249249
* @return string|null
250+
*
251+
* @deprecated since 8.8.0, will be removed in 9.0.0. Use specific magic getters instead.
250252
*/
251253
public function get($sName)
252254
{
@@ -265,6 +267,8 @@ public function get($sName)
265267
* @param mixed $mValue
266268
*
267269
* @return self|false
270+
*
271+
* @deprecated since 8.8.0, will be removed in 9.0.0. Use specific magic setters instead.
268272
*/
269273
public function set($aNames, $mValue)
270274
{

0 commit comments

Comments
 (0)