File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
11
11
12
12
### Changed
13
13
14
+ - Mark the ` OutputFormat ` the constructor as ` @internal ` (#1133 )
14
15
- Mark ` OutputFormatter ` as ` @internal ` (#896 )
15
16
- Mark ` Selector::isValid() ` as ` @internal ` (#1037 )
16
17
- Mark parsing-related methods of most CSS elements as ` @internal ` (#908 )
@@ -19,6 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
19
20
20
21
### Deprecated
21
22
23
+ - Deprecate extending ` OutputFormat ` (#1133 )
22
24
- Deprecate ` OutputFormat::get() ` and ` ::set() ` (#1107 )
23
25
- Deprecate support for ` -webkit-calc ` and ` -moz-calc ` (#1086 )
24
26
- Deprecate ` __toString() ` (#1006 )
Original file line number Diff line number Diff line change 3
3
namespace Sabberworm \CSS ;
4
4
5
5
/**
6
- * Class OutputFormat
6
+ * Extending this class is deprecated in version 8.8.0; it will be made `final` in version 9.0.0.
7
7
*
8
8
* @method OutputFormat setSemicolonAfterLastRule(bool $bSemicolonAfterLastRule) Set whether semicolons are added after
9
9
* last rule.
@@ -239,6 +239,9 @@ class OutputFormat
239
239
*/
240
240
private $ iIndentationLevel = 0 ;
241
241
242
+ /**
243
+ * @internal since V8.8.0. Use the factory methods `create()`, `createCompact()`, or `createPretty()` instead.
244
+ */
242
245
public function __construct ()
243
246
{
244
247
}
You can’t perform that action at this time.
0 commit comments