Passed
Pull Request — master (#156)
by Alex
03:37
created
src/Enums/ValueKind.php 1 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.
src/Enums/SchemaElementKind.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 {
27 27
     protected const None            = null;
28 28
     protected const TypeDefinition  = 'SchemaType';
29
-    protected const Function        = 'Function';
29
+    protected const function        = 'Function';
30 30
     protected const ValueTerm       = 'ValueTerm';
31 31
     protected const EntityContainer = 'EntityContainer';
32 32
 }
Please login to merge, or discard this patch.
src/Enums/ExpressionKind.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     protected const IntegerConstant             = 8;
80 80
     protected const StringConstant              = 9;
81 81
     protected const TimeConstant                = 10;
82
-    protected const Null                        = 11;
82
+    protected const null                        = 11;
83 83
     protected const Record                      = 12;
84 84
     protected const Collection                  = 14;
85 85
     protected const Path                        = 15;
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     protected const ValueTermReference          = 19;
90 90
     protected const EntitySetReference          = 20;
91 91
     protected const EnumMemberReference         = 21;
92
-    protected const If                          = 22;
92
+    protected const if                          = 22;
93 93
     protected const AssertType                  = 23;
94 94
     protected const IsType                      = 24;
95 95
     protected const FunctionApplication         = 25;
Please login to merge, or discard this patch.
src/Csdl/Internal/Semantics/BadElements/UnresolvedFunction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::function();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/ModelVisitorConcerns/VisitExpressions.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                 assert($expression instanceof  IGuidConstantExpression);
111 111
                 $this->processGuidConstantExpression($expression);
112 112
                 break;
113
-            case ExpressionKind::If():
113
+            case ExpressionKind::if():
114 114
                 assert($expression instanceof  IIfExpression);
115 115
                 $this->processIfExpression($expression);
116 116
                 break;
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
                 assert($expression instanceof  ILabeledExpression);
135 135
                 $this->processLabeledExpression($expression);
136 136
                 break;
137
-            case ExpressionKind::Null():
137
+            case ExpressionKind::null():
138 138
                 assert($expression instanceof  INullExpression);
139 139
                 $this->processNullConstantExpression($expression);
140 140
                 break;
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/Ambiguous/AmbiguousFunctionBinding.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::function();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/Library/EdmFunction.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::function();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/ModelVisitorConcerns/VisitElements.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         /** @var EdmModelVisitor $this */
36 36
         switch ($element->getSchemaElementKind()) {
37
-            case SchemaElementKind::Function():
37
+            case SchemaElementKind::function():
38 38
                 assert($element instanceof IFunction);
39 39
                 $this->processFunction($element);
40 40
                 break;
Please login to merge, or discard this patch.