Passed
Push — master ( f55506...324b02 )
by Christopher
02:01
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/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/MetadataV3/AccessorType.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 
10 10
 class AccessorType extends Enum
11 11
 {
12
-    protected const Public    = 'Public';
12
+    protected const public    = 'Public';
13 13
     protected const Internal  = 'Internal';
14
-    protected const Protected = 'Protected';
15
-    protected const Private   = 'Private';
14
+    protected const protected = 'Protected';
15
+    protected const private   = 'Private';
16 16
 
17 17
     public static $cgNamespace = 'http://schemas.microsoft.com/ado/2006/04/codegeneration';
18 18
 }
Please login to merge, or discard this patch.
src/Writer/IAttribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function getAttributeValue(): ?string;
13 13
 
14
-    public function getAttributeNullCheck(): bool ;
14
+    public function getAttributeNullCheck(): bool;
15 15
 
16 16
     public function getAttributeForVersion(): OdataVersions;
17 17
 
Please login to merge, or discard this patch.