File tree Expand file tree Collapse file tree 2 files changed +1
-31
lines changed
Expand file tree Collapse file tree 2 files changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -722,16 +722,6 @@ public function getIndentationLevel(): int
722722 return $ this ->iIndentationLevel ;
723723 }
724724
725- /**
726- * @return $this fluent interface
727- */
728- public function setIndentationLevel (int $ indentationLevel ): self
729- {
730- $ this ->iIndentationLevel = $ indentationLevel ;
731-
732- return $ this ;
733- }
734-
735725 /**
736726 * @return $this fluent interface
737727 */
Original file line number Diff line number Diff line change @@ -721,25 +721,6 @@ public function getIndentationLevelInitiallyReturnsZero(): void
721721 self ::assertSame (0 , $ this ->subject ->getIndentationLevel ());
722722 }
723723
724- /**
725- * @test
726- */
727- public function setIndentationLevelSetsIndentationLevel (): void
728- {
729- $ value = 4 ;
730- $ this ->subject ->setIndentationLevel ($ value );
731-
732- self ::assertSame ($ value , $ this ->subject ->getIndentationLevel ());
733- }
734-
735- /**
736- * @test
737- */
738- public function setIndentationLevelProvidesFluentInterface (): void
739- {
740- self ::assertSame ($ this ->subject , $ this ->subject ->setIndentationLevel (4 ));
741- }
742-
743724 /**
744725 * @test
745726 */
@@ -850,8 +831,7 @@ public function nextLevelReturnsDifferentInstance(): void
850831 */
851832 public function nextLevelReturnsInstanceWithIndentationLevelIncreasedByOne (): void
852833 {
853- $ originalIndentationLevel = 2 ;
854- $ this ->subject ->setIndentationLevel ($ originalIndentationLevel );
834+ $ originalIndentationLevel = $ this ->subject ->getIndentationLevel ();
855835
856836 self ::assertSame ($ originalIndentationLevel + 1 , $ this ->subject ->nextLevel ()->getIndentationLevel ());
857837 }
You can’t perform that action at this time.
0 commit comments