Completed
Pull Request — master (#3)
by Jeroen De
03:52
created
tests/Unit/EuroErisTest.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace WMDE\Euro\Tests\Unit;
6 6
 
@@ -19,26 +19,26 @@  discard block
 block discarded – undo
19 19
 	use TestTrait;
20 20
 
21 21
 	public function testGivenNegativeAmount_constructorThrowsException() {
22
-		$this->forAll( Generator\neg() )
23
-			->then( function( int $negativeInteger ) {
24
-				$this->expectException( \InvalidArgumentException::class );
25
-				Euro::newFromCents( $negativeInteger );
22
+		$this->forAll(Generator\neg())
23
+			->then(function(int $negativeInteger) {
24
+				$this->expectException(\InvalidArgumentException::class);
25
+				Euro::newFromCents($negativeInteger);
26 26
 			} );
27 27
 	}
28 28
 
29 29
 	public function testGetCentsReturnsConstructorArgument() {
30
-		$this->forAll( Generator\pos() )
31
-			->then( function( int $unsignedInteger ) {
32
-				$amount = Euro::newFromCents( $unsignedInteger );
33
-				$this->assertSame( $unsignedInteger, $amount->getEuroCents() );
30
+		$this->forAll(Generator\pos())
31
+			->then(function(int $unsignedInteger) {
32
+				$amount = Euro::newFromCents($unsignedInteger);
33
+				$this->assertSame($unsignedInteger, $amount->getEuroCents());
34 34
 			} );
35 35
 	}
36 36
 
37 37
 	public function testEquality() {
38
-		$this->forAll( Generator\pos() )
39
-			->then( function( int $unsignedInteger ) {
40
-				$amount = Euro::newFromCents( $unsignedInteger );
41
-				$this->assertTrue( $amount->equals( Euro::newFromCents( $unsignedInteger ) ) );
38
+		$this->forAll(Generator\pos())
39
+			->then(function(int $unsignedInteger) {
40
+				$amount = Euro::newFromCents($unsignedInteger);
41
+				$this->assertTrue($amount->equals(Euro::newFromCents($unsignedInteger)));
42 42
 			} );
43 43
 	}
44 44
 
Please login to merge, or discard this patch.