File tree Expand file tree Collapse file tree 4 files changed +2
-20
lines changed Expand file tree Collapse file tree 4 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Please also have a look at our
2828
2929### Removed
3030
31+ - Remove ` OutputFormat::level() ` (#874 ))
3132- Remove expansion of shorthand properties (#838 )
3233- Remove ` Parser::setCharset/getCharset ` (#808 )
3334- Remove ` Rule::getValues() ` (#582 )
Original file line number Diff line number Diff line change @@ -287,14 +287,6 @@ public function getFormatter()
287287 return $ this ->oFormatter ;
288288 }
289289
290- /**
291- * @return int
292- */
293- public function level ()
294- {
295- return $ this ->iIndentationLevel ;
296- }
297-
298290 /**
299291 * Creates an instance of this class without any particular formatting settings.
300292 */
Original file line number Diff line number Diff line change @@ -208,6 +208,6 @@ private function prepareSpace($sSpaceString): string
208208 */
209209 private function indent (): string
210210 {
211- return \str_repeat ($ this ->oFormat ->sIndentation , $ this ->oFormat ->level ());
211+ return \str_repeat ($ this ->oFormat ->sIndentation , $ this ->oFormat ->getIndentationLevel ());
212212 }
213213}
Original file line number Diff line number Diff line change @@ -833,17 +833,6 @@ public function getFormatterCalledTwoTimesReturnsSameInstance(): void
833833 self ::assertSame ($ firstCallResult , $ secondCallResult );
834834 }
835835
836- /**
837- * @test
838- */
839- public function levelReturnsIndentationLevel (): void
840- {
841- $ value = 4 ;
842- $ this ->subject ->setIndentationLevel ($ value );
843-
844- self ::assertSame ($ value , $ this ->subject ->level ());
845- }
846-
847836 /**
848837 * @test
849838 */
You can’t perform that action at this time.
0 commit comments