Passed
Pull Request — master (#154)
by Alex
02:36
created
tests/MetadataV3/Edm/EntityTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -14,14 +14,14 @@
 block discarded – undo
14 14
     {
15 15
         $expected =
16 16
             '<EntityType Abstract="false" Name="Customer" OpenType="false"  metadata:HasStream="false">' .
17
-            '    <Key>'.
18
-            '        <PropertyRef Name="CustomerId" />'.
19
-            '    </Key>'.
20
-            '    <NavigationProperty Name="Orders" Relationship="Model1.CustomerOrder" FromRole="Customer" ToRole="Order"/>'.
21
-            '    <Property Name="CustomerId" Type="Int32" Nullable="false"/>'.
22
-            '    <Property Name="FirstName" Type="String" Nullable="true" Unicode="true"/>'.
23
-            '    <Property Name="LastName" Type="String" Nullable="true" Unicode="true"/>'.
24
-            '    <Property Name="AccountNumber" Type="Int32" Nullable="true"/>'.
17
+            '    <Key>' .
18
+            '        <PropertyRef Name="CustomerId" />' .
19
+            '    </Key>' .
20
+            '    <NavigationProperty Name="Orders" Relationship="Model1.CustomerOrder" FromRole="Customer" ToRole="Order"/>' .
21
+            '    <Property Name="CustomerId" Type="Int32" Nullable="false"/>' .
22
+            '    <Property Name="FirstName" Type="String" Nullable="true" Unicode="true"/>' .
23
+            '    <Property Name="LastName" Type="String" Nullable="true" Unicode="true"/>' .
24
+            '    <Property Name="AccountNumber" Type="Int32" Nullable="true"/>' .
25 25
             '</EntityType>';
26 26
 
27 27
         $entity = new Entity('Customer');
Please login to merge, or discard this patch.
tests/MetadataV3/Edm/SchemaTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,13 +32,13 @@  discard block
 block discarded – undo
32 32
                 '<Schema/>', null, null, []
33 33
             ],
34 34
             [
35
-                '<Schema Namespace="DummyNameSpace"/>', 'DummyNameSpace', null,[]
35
+                '<Schema Namespace="DummyNameSpace"/>', 'DummyNameSpace', null, []
36 36
             ],
37 37
             [
38
-                '<Schema Alias="DummyAlias"/>', null, 'DummyAlias',[]
38
+                '<Schema Alias="DummyAlias"/>', null, 'DummyAlias', []
39 39
             ],
40 40
             [
41
-                '<Schema Namespace="DummyNameSpace" Alias="DummyAlias"/>', 'DummyNameSpace', 'DummyAlias',[]
41
+                '<Schema Namespace="DummyNameSpace" Alias="DummyAlias"/>', 'DummyNameSpace', 'DummyAlias', []
42 42
             ]
43 43
         ];
44 44
     }
@@ -46,17 +46,17 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $base = [
48 48
             [
49
-                '<Schema>%s</Schema>', null,null
49
+                '<Schema>%s</Schema>', null, null
50 50
 
51 51
             ],
52 52
             [
53 53
                 '<Schema Namespace="DummyNameSpace">%s</Schema>', 'DummyNameSpace', null
54 54
             ],
55 55
             [
56
-                '<Schema Alias="DummyAlias">%s</Schema>',null, 'DummyAlias'
56
+                '<Schema Alias="DummyAlias">%s</Schema>', null, 'DummyAlias'
57 57
             ],
58 58
             [
59
-                '<Schema Namespace="DummyNameSpace" Alias="DummyAlias">%s</Schema>','DummyNameSpace', 'DummyAlias'
59
+                '<Schema Namespace="DummyNameSpace" Alias="DummyAlias">%s</Schema>', 'DummyNameSpace', 'DummyAlias'
60 60
             ]
61 61
         ];
62 62
         $usingArray = UsingTest::usingTestDataProvider();
Please login to merge, or discard this patch.