Completed
Pull Request — master (#1028)
by Jeroen De
155:55 queued 90:53
created
contexts/MembershipContext/tests/Fixtures/ThrowingEntityManager.php 1 patch
Spacing   +6 added lines, -6 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\Fundraising\Frontend\MembershipContext\Tests\Fixtures;
6 6
 
@@ -14,13 +14,13 @@  discard block
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.