@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare( strict_types = 1 ); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace WMDE\Fundraising\Frontend\MembershipContext\Tests\Fixtures; |
| 6 | 6 | |
@@ -14,13 +14,13 @@ discard block |
||
| 14 | 14 | */ |
| 15 | 15 | class ThrowingEntityManager { |
| 16 | 16 | |
| 17 | - public static function newInstance( TestCase $testCase ): EntityManager { |
|
| 18 | - $entityManager = $testCase->getMockBuilder( EntityManager::class ) |
|
| 17 | + public static function newInstance(TestCase $testCase): EntityManager { |
|
| 18 | + $entityManager = $testCase->getMockBuilder(EntityManager::class) |
|
| 19 | 19 | ->disableOriginalConstructor()->getMock(); |
| 20 | 20 | |
| 21 | - $entityManager->expects( $testCase->any() ) |
|
| 22 | - ->method( $testCase->anything() ) |
|
| 23 | - ->willThrowException( new ORMException() ); |
|
| 21 | + $entityManager->expects($testCase->any()) |
|
| 22 | + ->method($testCase->anything()) |
|
| 23 | + ->willThrowException(new ORMException()); |
|
| 24 | 24 | |
| 25 | 25 | return $entityManager; |
| 26 | 26 | } |