Passed
Push — master ( 15779a...f0b95b )
by Christopher
03:41
created
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/MetadataV3/Edm/OtherTypeConstructs/CollectionType.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,6 @@
 block discarded – undo
119 119
 
120 120
     public function isAttribute(): bool
121 121
     {
122
-       return false;
122
+        return false;
123 123
     }
124 124
 }
Please login to merge, or discard this 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/AssociationEnd.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,6 @@
 block discarded – undo
37 37
 {
38 38
     /**
39 39
      * End can contain a maximum of one Documentation element.
40
-
41
-
42 40
      */
43 41
     use HasDocumentation;
44 42
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/EntityContainer/AssociationSet/End.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,6 @@
 block discarded – undo
30 30
  *   by the related EntitySet. An End element can contain a maximum of one Documentation element.
31 31
  * - End can contain any number of AnnotationElement elements.
32 32
  * - The child elements of End are to appear in this sequence: Documentation, AnnotationElement.
33
-
34 33
  * @link https://www.odata.org/documentation/odata-version-3-0/common-schema-definition-language-csdl/#csdl12.3.1
35 34
  */
36 35
 class End extends EdmBase
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.