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/).
1111
1212### Changed
1313
14+ - Mark the ` OutputFormat ` the constructor as ` @internal ` (#1131 )
1415- Mark ` OutputFormatter ` as ` @internal ` (#896 )
1516- Mark ` Selector::isValid() ` as ` @internal ` (#1037 )
1617- Mark parsing-related methods of most CSS elements as ` @internal ` (#908 )
@@ -19,6 +20,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1920
2021### Deprecated
2122
23+ - Deprecate extending ` OutputFormat ` (#1131 )
2224- Deprecate ` OutputFormat::get() ` and ` ::set() ` (#1107 )
2325- Deprecate support for ` -webkit-calc ` and ` -moz-calc ` (#1086 )
2426- Deprecate ` __toString() ` (#1006 )
Original file line number Diff line number Diff line change 33namespace Sabberworm \CSS ;
44
55/**
6- * Class OutputFormat
6+ * Extending this class is deprecated in version 8.8.0; it will be made `final` in version 9.0.0.
77 *
88 * @method OutputFormat setSemicolonAfterLastRule(bool $bSemicolonAfterLastRule) Set whether semicolons are added after
99 * last rule.
@@ -239,6 +239,9 @@ class OutputFormat
239239 */
240240 private $ iIndentationLevel = 0 ;
241241
242+ /**
243+ * @internal since V8.8.0. Use the factory methods `create()`, `createCompact()`, or `createPretty()` instead.
244+ */
242245 public function __construct ()
243246 {
244247 }
You can’t perform that action at this time.
0 commit comments