Passed
Push — master ( 5fd1c5...ec97f6 )
by Christopher
02:12
created
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/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/Internal/Bad/BadCollectionType.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(array $errors)
25 25
     {
26 26
         parent::__construct($errors);
27
-        $this->elementType =  new BadTypeReference(new BadType($errors), true);
27
+        $this->elementType = new BadTypeReference(new BadType($errors), true);
28 28
     }
29 29
     public function getTypeKind(): TypeKind
30 30
     {
Please login to merge, or discard this patch.
src/Library/Internal/Ambiguous/AmbiguousBinding.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function addBinding(INamedElement $binding): void
49 49
     {
50 50
         if (!in_array($binding, $this->bindings)) {
51
-            $this->bindings[] =  $binding;
51
+            $this->bindings[] = $binding;
52 52
         }
53 53
     }
54 54
 
Please login to merge, or discard this patch.
src/Library/EdmProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @var array<IDependent>
29 29
      */
30
-    protected $dependents =[];
30
+    protected $dependents = [];
31 31
     /**
32 32
      * @var ITypeReference
33 33
      */
Please login to merge, or discard this patch.
src/ModelVisitorConcerns/VisitExpressions.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
                 assert($expression instanceof  IGuidConstantExpression);
105 105
                 $this->processGuidConstantExpression($expression);
106 106
                 break;
107
-            case ExpressionKind::If():
107
+            case ExpressionKind::If ():
108 108
                 assert($expression instanceof  IIfExpression);
109 109
                 $this->processIfExpression($expression);
110 110
                 break;
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 assert($expression instanceof  IGuidConstantExpression);
105 105
                 $this->processGuidConstantExpression($expression);
106 106
                 break;
107
-            case ExpressionKind::If():
107
+            case ExpressionKind::if():
108 108
                 assert($expression instanceof  IIfExpression);
109 109
                 $this->processIfExpression($expression);
110 110
                 break;
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                 assert($expression instanceof  ILabeledExpression);
129 129
                 $this->processLabeledExpression($expression);
130 130
                 break;
131
-            case ExpressionKind::Null():
131
+            case ExpressionKind::null():
132 132
                 assert($expression instanceof  INullExpression);
133 133
                 $this->processNullConstantExpression($expression);
134 134
                 break;
Please login to merge, or discard this patch.
src/Enums/ValueKind.php 2 patches
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -29,19 +29,19 @@
 block discarded – undo
29 29
  */
30 30
 class ValueKind extends Enum
31 31
 {
32
-    protected const None          =0;
32
+    protected const None          = 0;
33 33
     protected const Binary        = 1;
34
-    protected const Boolean       =2;
35
-    protected const Collection    =3;
36
-    protected const DateTimeOffset=4;
37
-    protected const DateTime      =5;
38
-    protected const Decimal       =6;
39
-    protected const Enum          =7;
40
-    protected const Floating      =8;
41
-    protected const Guid          =9;
42
-    protected const Integer       =10;
43
-    protected const Null          =11;
44
-    protected const String        =12;
45
-    protected const Structured    =13;
46
-    protected const Time          =14;
34
+    protected const Boolean       = 2;
35
+    protected const Collection    = 3;
36
+    protected const DateTimeOffset = 4;
37
+    protected const DateTime      = 5;
38
+    protected const Decimal       = 6;
39
+    protected const Enum          = 7;
40
+    protected const Floating      = 8;
41
+    protected const Guid          = 9;
42
+    protected const Integer       = 10;
43
+    protected const Null          = 11;
44
+    protected const String        = 12;
45
+    protected const Structured    = 13;
46
+    protected const Time          = 14;
47 47
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     protected const Floating      =8;
41 41
     protected const Guid          =9;
42 42
     protected const Integer       =10;
43
-    protected const Null          =11;
43
+    protected const null          =11;
44 44
     protected const String        =12;
45 45
     protected const Structured    =13;
46 46
     protected const Time          =14;
Please login to merge, or discard this patch.