Completed
Push — master ( c9d582...b0831b )
by Tom
04:50
created
spec/Resource/ResourceSpec.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     function it_throws_when_requesting_an_unknown_field()
44 44
     {
45 45
         $this->shouldThrow(new FieldNotFoundException('unknown'))
46
-             ->duringGetField('unknown');
46
+                ->duringGetField('unknown');
47 47
     }
48 48
 
49 49
     function it_lists_links()
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     function it_throws_when_requesting_an_unknown_link()
60 60
     {
61 61
         $this->shouldThrow(new LinkNotFoundException('unknown'))
62
-             ->duringGetLink('unknown');
62
+                ->duringGetLink('unknown');
63 63
     }
64 64
 
65 65
     function it_gets_resource_by_name(ResourceNode $resource)
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     function it_throws_when_requesting_an_unknown_resource()
71 71
     {
72 72
         $this->shouldThrow(new ResourceNotFoundException('unknown'))
73
-             ->duringGetResource('unknown');
73
+                ->duringGetResource('unknown');
74 74
     }
75 75
 
76 76
     function it_does_not_match_if_critera_includes_unknown_field()
Please login to merge, or discard this patch.
spec/Resource/FieldMapSpec.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     function it_throws_if_field_is_not_found()
25 25
     {
26 26
         $this->shouldThrow(new FieldNotFoundException('unknown-field'))
27
-             ->duringGetField('unknown-field');
27
+                ->duringGetField('unknown-field');
28 28
     }
29 29
 
30 30
     function it_returns_field_via_magic_method(FieldNode $f1)
Please login to merge, or discard this patch.
spec/Processor/HalJsonProcessorSpec.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $response = new Response("data://text/plain,$json", 200, ['content-type' => 'application/hal+json']);
60 60
 
61 61
         $this->shouldThrow(ProcessingException::badJson($error))
62
-             ->duringProcess($response, $fetcher);
62
+                ->duringProcess($response, $fetcher);
63 63
     }
64 64
 
65 65
     function it_processes_simple_single_fields(ResourceFetcher $fetcher)
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $resource = $this->process($this->response, $fetcher);
96 96
 
97 97
         $resource->shouldThrow(new FieldNotFoundException('_links'))
98
-                 ->duringGetField('_links');
98
+                    ->duringGetField('_links');
99 99
     }
100 100
 
101 101
     function it_does_not_add_embedded_as_a_field(ResourceFetcher $fetcher)
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         $resource = $this->process($this->response, $fetcher);
104 104
 
105 105
         $resource->shouldThrow(new FieldNotFoundException('_embedded'))
106
-                 ->duringGetField('_embedded');
106
+                    ->duringGetField('_embedded');
107 107
     }
108 108
 
109 109
     function it_processes_resources(ResourceFetcher $fetcher)
Please login to merge, or discard this patch.