Passed
Pull Request — master (#156)
by Alex
02:44
created
Internal/InterfaceValidator/VisitorOfIFunctionReferenceExpression.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
             $references[] = $expression->getReferencedFunction();
25 25
             return null;
26 26
         } else {
27
-            return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedFunction') ];
27
+            return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedFunction')];
28 28
         }
29 29
     }
30 30
 
Please login to merge, or discard this patch.
Internal/InterfaceValidator/VisitorOfIEntitySetReferenceExpression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $references[] = $expression->getReferencedEntitySet();
18 18
             return null;
19 19
         } else {
20
-            return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEntitySet') ];
20
+            return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEntitySet')];
21 21
         }
22 22
     }
23 23
 
Please login to merge, or discard this patch.
src/Edm/Validation/Internal/InterfaceValidator/VisitorOfIDelayedValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $followup[] = $value->getValue();
18 18
             return null;
19 19
         } else {
20
-            return [ InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value') ];
20
+            return [InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value')];
21 21
         }
22 22
     }
23 23
 
Please login to merge, or discard this patch.
Edm/Validation/Internal/InterfaceValidator/VisitorOfIValueAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $followup[] = $annotation->getValue();
18 18
             return null;
19 19
         } else {
20
-            return [InterfaceValidator::CreatePropertyMustNotBeNullError($annotation, 'Value') ];
20
+            return [InterfaceValidator::CreatePropertyMustNotBeNullError($annotation, 'Value')];
21 21
         }
22 22
     }
23 23
 
Please login to merge, or discard this patch.
Internal/InterfaceValidator/VisitorOfIParameterReferenceExpression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $references[] = $expression->getReferencedParameter();
18 18
             return null;
19 19
         } else {
20
-            return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedParameter') ];
20
+            return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedParameter')];
21 21
         }
22 22
     }
23 23
 
Please login to merge, or discard this patch.
Internal/InterfaceValidator/VisitorOfIEnumMemberReferenceExpression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $references[] = $expression->getReferencedEnumMember();
18 18
             return null;
19 19
         } else {
20
-            return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEnumMember') ];
20
+            return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEnumMember')];
21 21
         }
22 22
     }
23 23
 
Please login to merge, or discard this patch.
src/Edm/Validation/Internal/InterfaceValidator/VisitorOfIValue.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
                 );
156 156
                 break;
157 157
 
158
-            case ValueKind::Null():
158
+            case ValueKind::null():
159 159
                 InterfaceValidator::CollectErrors(
160 160
                     InterfaceValidator::CheckForInterfaceKindValueMismatchError(
161 161
                         $value,
Please login to merge, or discard this patch.
src/Edm/Validation/Internal/InterfaceValidator/VisitorOfICollectionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             $followup[] = $type->getElementType();
19 19
             return null;
20 20
         } else {
21
-            return[ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'ElementType')];
21
+            return[InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'ElementType')];
22 22
         }
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/Edm/Validation/ValidationRules/IPrimitiveValue/PrimitiveValueRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,6 +12,6 @@
 block discarded – undo
12 12
 {
13 13
     public function getValidatedType(): string
14 14
     {
15
-        return IPrimitiveValue::class ;
15
+        return IPrimitiveValue::class;
16 16
     }
17 17
 }
Please login to merge, or discard this patch.