Completed
Push — master ( 175b65...c73746 )
by Alex
18s queued 15s
created
src/Library/Core/EdmCoreModel.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
     /**
168 168
      * @return string gets the namespace of this core model
169 169
      */
170
-    public static function Namespace(): string
170
+    public static function namespace(): string
171 171
     {
172 172
         return 'Edm';
173 173
     }
Please login to merge, or discard this patch.
src/Library/EdmStringTypeReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         if ($isUnbounded && $maxLength !== null) {
53 53
             throw new InvalidOperationException(StringConst::EdmModel_Validator_Semantic_IsUnboundedCannotBeTrueWhileMaxLengthIsNotNull());
54 54
         }
55
-        $this->isUnbounded   =$isUnbounded;
55
+        $this->isUnbounded   = $isUnbounded;
56 56
         $this->maxLength     = $maxLength;
57 57
         $this->isFixedLength = $isFixedLength;
58 58
         $this->isUnicode     = $isUnicode;
Please login to merge, or discard this patch.
src/Library/Annotations/EdmDirectValueAnnotationsManager.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,8 +293,7 @@
 block discarded – undo
293 293
         }
294 294
 
295 295
         $newAnnotation = $value != null ?
296
-            new EdmDirectValueAnnotation($namespaceName, $localName, $value) :
297
-            new EdmDirectValueAnnotation($namespaceName, $localName);
296
+            new EdmDirectValueAnnotation($namespaceName, $localName, $value) : new EdmDirectValueAnnotation($namespaceName, $localName);
298 297
 
299 298
         if ($transientAnnotations == null) {
300 299
             $transientAnnotations = $newAnnotation;
Please login to merge, or discard this patch.
src/Library/EdmFunction.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::Function ();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::function();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
src/Library/EdmValueTerm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function __construct(string $namespaceName, string $name, $type)
34 34
     {
35
-        $type = ($type instanceof PrimitiveTypeKind) ? EdmCoreModel::getInstance()->GetPrimitive($type, true): $type;
35
+        $type = ($type instanceof PrimitiveTypeKind) ? EdmCoreModel::getInstance()->GetPrimitive($type, true) : $type;
36 36
         assert($type instanceof ITypeReference);
37 37
         parent::__construct($name);
38 38
         $this->type          = $type;
Please login to merge, or discard this patch.
src/Library/Values/EdmNullExpression.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function getExpressionKind(): ExpressionKind
44 44
     {
45
-        return ExpressionKind::Null();
45
+        return ExpressionKind::null();
46 46
     }
47 47
 
48 48
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function getValueKind(): ValueKind
52 52
     {
53
-        return ValueKind::Null();
53
+        return ValueKind::null();
54 54
     }
55 55
 
56 56
     /**
Please login to merge, or discard this patch.
src/Library/Values/EdmEnumValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function __construct($value, ?IEnumTypeReference $type = null)
25 25
     {
26 26
         parent::__construct($type);
27
-        $value = $value instanceof IEnumMember ? $value->getValue(): $value;
27
+        $value = $value instanceof IEnumMember ? $value->getValue() : $value;
28 28
         assert($value instanceof IPrimitiveValue);
29 29
         $this->value = $value;
30 30
     }
Please login to merge, or discard this patch.
src/Library/EdmModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * @var SplObjectStorage|array<IStructuredType, IStructuredType[]>
35 35
      */
36
-    private $derivedTypeMappings ;
36
+    private $derivedTypeMappings;
37 37
     public function __construct(array $referencedModels = [], EdmDirectValueAnnotationsManager $annotationsManager = null)
38 38
     {
39 39
         $annotationsManager = $annotationsManager ?? new EdmDirectValueAnnotationsManager();
Please login to merge, or discard this patch.
src/Library/Internal/Bad/BadLabeledExpression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function getExpression(): IExpression
44 44
     {
45
-        $expression = $this->expressionCache->getValue($this, [$this,'ComputeExpression']);
45
+        $expression = $this->expressionCache->getValue($this, [$this, 'ComputeExpression']);
46 46
         assert($expression instanceof IExpression);
47 47
         return $expression;
48 48
     }
Please login to merge, or discard this patch.