@@ -80,7 +80,7 @@ public function testGetNumberOfPages()
8080 public function testRotate ()
8181 {
8282 $ this ->assertEquals ([[8.5 , 11 ], [8.5 , 11 ]], $ this ->pdfService ->pageSizes ($ this ->twoPagePdfPath ));
83- $ this ->pdfService ->rotate ($ this ->twoPagePdfPath , Rotation::RIGHT , '2 ' );
83+ $ this ->pdfService ->rotate ($ this ->twoPagePdfPath , Rotation::Right , '2 ' );
8484 $ this ->assertEquals ([[8.5 , 11 ], [11 , 8.5 ]], $ this ->pdfService ->pageSizes ($ this ->twoPagePdfPath ));
8585 }
8686
@@ -184,14 +184,14 @@ public function testApplyStamp()
184184 public function testEnumUtilities ()
185185 {
186186 // Int
187- $ this ->assertEquals (Rotation::RIGHT , Rotation::fromInt (90 ));
188- $ this ->assertEquals (Rotation::LEFT , Rotation::fromInt (-90 ));
189- $ this ->assertEquals (Rotation::DOWN , Rotation::fromInt (180 ));
190- $ this ->assertEquals (Rotation::UP , Rotation::fromInt (-180 ));
187+ $ this ->assertEquals (Rotation::Right , Rotation::fromInt (90 ));
188+ $ this ->assertEquals (Rotation::Left , Rotation::fromInt (-90 ));
189+ $ this ->assertEquals (Rotation::Down , Rotation::fromInt (180 ));
190+ $ this ->assertEquals (Rotation::Up , Rotation::fromInt (-180 ));
191191 // Cardinal
192- $ this ->assertEquals (Rotation::RIGHT , Rotation::fromCardinal ('right ' ));
193- $ this ->assertEquals (Rotation::LEFT , Rotation::fromCardinal ('left ' ));
194- $ this ->assertEquals (Rotation::DOWN , Rotation::fromCardinal ('down ' ));
195- $ this ->assertEquals (Rotation::UP , Rotation::fromCardinal ('up ' ));
192+ $ this ->assertEquals (Rotation::Right , Rotation::fromCardinal ('right ' ));
193+ $ this ->assertEquals (Rotation::Left , Rotation::fromCardinal ('left ' ));
194+ $ this ->assertEquals (Rotation::Down , Rotation::fromCardinal ('down ' ));
195+ $ this ->assertEquals (Rotation::Up , Rotation::fromCardinal ('up ' ));
196196 }
197197}
0 commit comments