Passed
Pull Request — master (#156)
by Alex
07:16
created
src/ModelVisitorConcerns/VisitElements.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
          * @var EdmModelVisitor $this
39 39
          */
40 40
         switch ($element->getSchemaElementKind()) {
41
-            case SchemaElementKind::Function():
41
+            case SchemaElementKind::Function ():
42 42
                 assert($element instanceof IFunction);
43 43
                 $this->processFunction($element);
44 44
                 break;
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
          * @var EdmModelVisitor $this
39 39
          */
40 40
         switch ($element->getSchemaElementKind()) {
41
-            case SchemaElementKind::Function():
41
+            case SchemaElementKind::function():
42 42
                 assert($element instanceof IFunction);
43 43
                 $this->processFunction($element);
44 44
                 break;
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
@@ -110,7 +110,7 @@
 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;
Please login to merge, or discard this 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/ModelVisitorConcerns/VisitAnnotations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         /*
31 31
          * @var EdmModelVisitor $this
32 32
          */
33
-        self::visitCollection($annotations, [$this,'visitAnnotation']);
33
+        self::visitCollection($annotations, [$this, 'visitAnnotation']);
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
src/Library/EdmEntityType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * @param bool        $isOpen             denotes if the type is open
46 46
      * @param IEntityType $baseStructuredType the base type of this entity type
47 47
      */
48
-    public function __construct(string $namespaceName, string $name, bool $isAbstract =false, bool $isOpen= true, IEntityType $baseStructuredType = null)
48
+    public function __construct(string $namespaceName, string $name, bool $isAbstract = false, bool $isOpen = true, IEntityType $baseStructuredType = null)
49 49
     {
50 50
         parent::__construct($isAbstract, $isOpen, $baseStructuredType);
51 51
         $this->namespaceName = $namespaceName;
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
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * @var array<IDependent>
31 31
      */
32
-    protected $dependents =[];
32
+    protected $dependents = [];
33 33
     /**
34 34
      * @var ITypeReference
35 35
      */
Please login to merge, or discard this patch.
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/EdmStructuralProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @param string|null          $defaultValueString the default value of this property
39 39
      * @param ConcurrencyMode|null $concurrencyMode    the concurrency mode of this property
40 40
      */
41
-    public function __construct(IStructuredType $declaringType, string $name, ITypeReference $type, string $defaultValueString = null, ConcurrencyMode $concurrencyMode= null)
41
+    public function __construct(IStructuredType $declaringType, string $name, ITypeReference $type, string $defaultValueString = null, ConcurrencyMode $concurrencyMode = null)
42 42
     {
43 43
         parent::__construct($declaringType, $name, $type);
44 44
         $this->defaultValueString = $defaultValueString;
Please login to merge, or discard this patch.
src/Library/Internal/Ambiguous/AmbiguousFunctionBinding.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public function getSchemaElementKind(): SchemaElementKind
81 81
     {
82
-        return SchemaElementKind::Function();
82
+        return SchemaElementKind::Function ();
83 83
     }
84 84
 
85 85
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public function getSchemaElementKind(): SchemaElementKind
81 81
     {
82
-        return SchemaElementKind::Function();
82
+        return SchemaElementKind::function();
83 83
     }
84 84
 
85 85
     /**
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.