Completed
Push — master ( 45cba9...0c520e )
by Iakov
08:04 queued 04:40
created
Tests/DependencyInjection/ConfigurationTest.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 
9 9
 class ConfigurationTest extends TestCase
10 10
 {
11
-   public function testCanByConstructed ()
12
-   {
13
-       $configuration = new Configuration();
14
-       $treeBuilder = $configuration->getConfigTreeBuilder();
11
+    public function testCanByConstructed ()
12
+    {
13
+        $configuration = new Configuration();
14
+        $treeBuilder = $configuration->getConfigTreeBuilder();
15 15
 
16
-       $this->assertInstanceOf(TreeBuilder::class, $treeBuilder);
17
-   }
16
+        $this->assertInstanceOf(TreeBuilder::class, $treeBuilder);
17
+    }
18 18
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 class ConfigurationTest extends TestCase
10 10
 {
11
-   public function testCanByConstructed ()
11
+   public function testCanByConstructed()
12 12
    {
13 13
        $configuration = new Configuration();
14 14
        $treeBuilder = $configuration->getConfigTreeBuilder();
Please login to merge, or discard this patch.
Tests/Bridge/JmsSerializer/ContextFactory/ApiContextFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
 
8 8
 class ApiContextFactoryTest extends TestCase
9 9
 {
10
-    public function testCanBrCreated ()
10
+    public function testCanBrCreated()
11 11
     {
12 12
         $accessManagermMock = $this->createMock(AccessManager::class);
13 13
         $contextFactory = new ApiContextFactory($accessManagermMock);
14 14
         $this->assertInstanceOf(ApiContextFactory::class, $contextFactory);
15 15
     }
16 16
 
17
-    public function testCreateSerializationContext ()
17
+    public function testCreateSerializationContext()
18 18
     {
19 19
         $accessManagermMock = $this->createMock(AccessManager::class);
20 20
         $contextFactory = new ApiContextFactory($accessManagermMock);
Please login to merge, or discard this patch.
Tests/RequestProcessor/Step/Common/FetchEntityByIdStepTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $this->assertInstanceOf(MyModel::class, $response->get('entity')->getValue());
50 50
     }
51 51
 
52
-    public function testFailureExecuteWithoutEntity ()
52
+    public function testFailureExecuteWithoutEntity()
53 53
     {
54 54
         $repositoryMock = $this->createMock(TestRepository::class);
55 55
         $repositoryMock->expects($this->at(0))->method('find')->willReturn(null);
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $registry->expects($this->any())->method('getRepository')->willReturn($repositoryMock);
58 58
         $step = new FetchEntityByIdStep($registry);
59 59
         $step->setArtifacts(new ArtifactCollection([
60
-            new Artifact('reflection',  new \ReflectionClass(MyModel::class))
60
+            new Artifact('reflection', new \ReflectionClass(MyModel::class))
61 61
         ]));
62 62
 
63 63
         $this->expectException(NotFoundHttpException::class);
Please login to merge, or discard this patch.
Tests/Filter/FilterValidatorTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->expectException(BadRequestHttpException::class);
35 35
         $request->attributes->set('filter', base64_encode('[{"type": "eq", "value": "test"}]'));
36 36
         $this->expectException(BadRequestHttpException::class);
37
-          new Validator($request);
37
+            new Validator($request);
38 38
     }
39 39
 
40 40
 }
41 41
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 class FilterValidatorTest extends TestCase
11 11
 {
12 12
 
13
-    public function testCanBeConstructed ()
13
+    public function testCanBeConstructed()
14 14
     {
15 15
         $request = new Request();
16 16
         $request->attributes->set('filter', base64_encode('[{"type": "eq", "property": "title", "value": "test"}]'));
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         $this->assertInstanceOf(Validator::class, $filterValidator);
20 20
     }
21 21
 
22
-    public function testFilterRequestWithBadType ()
22
+    public function testFilterRequestWithBadType()
23 23
     {
24 24
         $this->expectException(BadRequestHttpException::class);
25 25
         $request = new Request();
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     }
30 30
 
31
-    public function testFilterRequestWithoutRequiredParameter ()
31
+    public function testFilterRequestWithoutRequiredParameter()
32 32
     {
33 33
         $request = new Request();
34 34
         $this->expectException(BadRequestHttpException::class);
Please login to merge, or discard this patch.