Passed
Push — master ( cedc01...8bcd2b )
by Christopher
02:32
created
src/MetadataV3/Edm/OtherTypeConstructs/CollectionType.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,7 @@
 block discarded – undo
97 97
             new AttributeContainer('Type', strval($containerFor))
98 98
         ];
99 99
         return $containerFor instanceof IScalarType ?
100
-            array_merge($this->getAttributesHasFacets(), $baseAttribute) :
101
-            $baseAttribute;
100
+            array_merge($this->getAttributesHasFacets(), $baseAttribute) : $baseAttribute;
102 101
     }
103 102
 
104 103
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/OtherTypeConstructs/TypeRef.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
             new AttributeContainer('Type', $this->getType()->getName())
99 99
         ];
100 100
         return $this->getType() instanceof IScalarType ?
101
-            array_merge($this->getAttributesHasFacets(), $baseAttribute) :
102
-            $baseAttribute;
101
+            array_merge($this->getAttributesHasFacets(), $baseAttribute) : $baseAttribute;
103 102
     }
104 103
 
105 104
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/ReferentialConstraintRole.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     /**
85 85
      * @var PropertyRef $propertyRef
86 86
      */
87
-    private $propertyRef ;
87
+    private $propertyRef;
88 88
 
89 89
     public function __construct(string $role, PropertyRef $propertyRef)
90 90
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      */
151 151
     public function getDomName(): string
152 152
     {
153
-        return $this->isPrincipal ? 'Principal' :'Dependent';
153
+        return $this->isPrincipal ? 'Principal' : 'Dependent';
154 154
     }
155 155
 
156 156
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/Schema.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
  * The following is an example of the Schema element:
22 22
  *
23 23
  *     <Schema Alias="Model" Namespace="Test.Simple.Model" xmlns:edm="http://schemas.microsoft.com/ado/2009/11/edm" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
24
-
25 24
  * The following rules apply to the Schema element.
26 25
  * - The CSDL document MUST have the Schema element as its root element.
27 26
  * - The Namespace attribute is defined for each Schema element. Namespace is of type QualifiedName. A namespace is a
Please login to merge, or discard this patch.
src/MetadataV3/Edm/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * @var PropertyRef[]|KeyElement $key
162 162
      */
163
-    private $key ;
163
+    private $key;
164 164
 
165 165
     /**
166 166
      * @var PropertyHolder|Property[] $property EntityTypeProperty child elements are uniquely named within the
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * @var NavigationPropertyHolder|NavigationProperty[] $navigationProperty
174 174
      */
175
-    private $navigationProperty ;
175
+    private $navigationProperty;
176 176
 
177 177
     public function __construct(
178 178
         string $name,
Please login to merge, or discard this patch.
src/MetadataV3/Edm/Annotations/ValueAnnotation.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
     public function getChildElements(): array
188 188
     {
189 189
         if (!(
190
-      //      $this->expression instanceof Expressions\Dynamic\TPathExpression ||
190
+        //      $this->expression instanceof Expressions\Dynamic\TPathExpression ||
191 191
             $this->expression instanceof Expressions\Constant\StringConstant ||
192 192
             $this->expression instanceof Expressions\Constant\IntConstant ||
193 193
             $this->expression instanceof Expressions\Constant\FloatConstant ||
Please login to merge, or discard this patch.
src/MetadataV3/Edm/Annotations/PropertyValue.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     public function getChildElements(): array
134 134
     {
135 135
         if (!(
136
-          //  $this->expression instanceof Expressions\Dynamic\TPathExpression ||
136
+            //  $this->expression instanceof Expressions\Dynamic\TPathExpression ||
137 137
             $this->expression instanceof Expressions\Constant\StringConstant ||
138 138
             $this->expression instanceof Expressions\Constant\IntConstant ||
139 139
             $this->expression instanceof Expressions\Constant\FloatConstant ||
Please login to merge, or discard this patch.
src/MetadataV3/DomBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
     /**
30 30
      * @return array|AttributeContainer[]
31 31
      */
32
-    abstract public function getAttributes(): array ;
32
+    abstract public function getAttributes(): array;
33 33
 
34 34
     /**
35 35
      * @return array|DomBase[]
36 36
      */
37
-    abstract public function getChildElements(): array ;
37
+    abstract public function getChildElements(): array;
38 38
 }
Please login to merge, or discard this patch.
src/Writer/Namespaces.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * In this specification the namespace prefix Edm is used to represent the Entity Data Model namespace, however
47 47
      * the prefix name is not prescriptive.
48 48
      */
49
-    private const V1EdmNamespace= 'http://schemas.microsoft.com/ado/2006/04/edm';
49
+    private const V1EdmNamespace = 'http://schemas.microsoft.com/ado/2006/04/edm';
50 50
     private const V2EdmNamespace = 'http://schemas.microsoft.com/ado/2008/09/edm';
51 51
     private const V3EdmNamespace = 'http://schemas.microsoft.com/ado/2009/11/edm';
52 52
     /**
Please login to merge, or discard this patch.