File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1111
1212### Deprecated
1313
14+ - Deprecate ` OutputFormat::level() ` (#870 )
15+
1416### Removed
1517
1618### Fixed
Original file line number Diff line number Diff line change @@ -297,6 +297,8 @@ public function getFormatter()
297297
298298 /**
299299 * @return int
300+ *
301+ * @deprecated #869 since version V8.8.0, will be removed in V9.0.0. Use `getIndentationLevel()` instead.
300302 */
301303 public function level ()
302304 {
Original file line number Diff line number Diff line change @@ -250,6 +250,6 @@ private function prepareSpace($sSpaceString)
250250 */
251251 private function indent ()
252252 {
253- return str_repeat ($ this ->oFormat ->sIndentation , $ this ->oFormat ->level ());
253+ return str_repeat ($ this ->oFormat ->sIndentation , $ this ->oFormat ->getIndentationLevel ());
254254 }
255255}
You can’t perform that action at this time.
0 commit comments