Passed
Pull Request — master (#40)
by Alex
03:15
created
src/Enums/PropertyKind.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
  * @method bool isStructural()
18 18
  * @method static Navigation(): self Represents a property implementing @see IEdmNavigationProperty
19 19
  * @method bool isNavigation()
20
-
21 20
  */
22 21
 class PropertyKind extends Enum
23 22
 {
Please login to merge, or discard this patch.
src/Util/XmlCharType.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@
 block discarded – undo
334 334
             $str1 = mb_substr($ranges,$p,1,'UTF-8');
335 335
             $str2 = mb_substr($ranges,$p+1,1,'UTF-8');
336 336
             for ($i = mb_ord($str1),
337
-                 $last = mb_ord($str2); $i <= $last; $i++)
337
+                    $last = mb_ord($str2); $i <= $last; $i++)
338 338
             {
339 339
                 if(!isset(self::$s_CharProperties[$i])){
340 340
                     self::$s_CharProperties[$i] = $value;
Please login to merge, or discard this patch.
src/Edm/Validation/ValidationRules/ITypeReference/TypeReferenceRule.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 {
12 12
     public function getValidatedType(): string
13 13
     {
14
-         return ITypeReference::class;
14
+            return ITypeReference::class;
15 15
     }
16 16
 }
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
IEnumMember/EnumMemberValueMustHaveSameTypeAsUnderlyingType.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -24,15 +24,15 @@
 block discarded – undo
24 24
     {
25 25
         assert($enumMember instanceof IEnumMember);
26 26
         $discoveredErrors = [];
27
-                   if (
28
-                       !$context->checkIsBad($enumMember->getDeclaringType()) &&
27
+                    if (
28
+                        !$context->checkIsBad($enumMember->getDeclaringType()) &&
29 29
                        !$context->checkIsBad($enumMember->getDeclaringType()->getUnderlyingType()) &&
30 30
                        !ExpressionTypeChecker::TryAssertPrimitiveAsType($enumMember->getValue(),
31
-                           EdmTypeSemantics::GetPrimitiveTypeReference($enumMember->getDeclaringType()->getUnderlyingType(), false), $discoveredErrors))
32
-                   {
33
-                       $context->AddError(
34
-                           $enumMember->Location(),
35
-                           EdmErrorCode::EnumMemberTypeMustMatchEnumUnderlyingType(),
36
-                           StringConst::EdmModel_Validator_Semantic_EnumMemberTypeMustMatchEnumUnderlyingType($enumMember->getName()));
37
-                   }    }
31
+                            EdmTypeSemantics::GetPrimitiveTypeReference($enumMember->getDeclaringType()->getUnderlyingType(), false), $discoveredErrors))
32
+                    {
33
+                        $context->AddError(
34
+                            $enumMember->Location(),
35
+                            EdmErrorCode::EnumMemberTypeMustMatchEnumUnderlyingType(),
36
+                            StringConst::EdmModel_Validator_Semantic_EnumMemberTypeMustMatchEnumUnderlyingType($enumMember->getName()));
37
+                    }    }
38 38
 }
39 39
\ No newline at end of file
Please login to merge, or discard this patch.
src/Csdl/Internal/Serialization/EdmModelCsdlSerializationVisitor.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1293,7 +1293,7 @@  discard block
 block discarded – undo
1293 1293
 
1294 1294
         // Association Set
1295 1295
         if (!($this->model->GetAssociationSetName($thisEntitySet, $thisNavprop) ==
1296
-              $this->model->GetAssociationSetName($thatEntitySet, $thatNavprop) &&
1296
+                $this->model->GetAssociationSetName($thatEntitySet, $thatNavprop) &&
1297 1297
             $this->model->GetAssociationFullName($thisNavprop) == $this->model->GetAssociationFullName($thatNavprop))) {
1298 1298
             return false;
1299 1299
         }
@@ -1318,7 +1318,7 @@  discard block
 block discarded – undo
1318 1318
             }
1319 1319
 
1320 1320
             if (!($this->model->GetAssociationEndName($thisNavprop->getPartner()) ==
1321
-                  $this->model->GetAssociationEndName($thatNavprop->getPartner()) &&
1321
+                    $this->model->GetAssociationEndName($thatNavprop->getPartner()) &&
1322 1322
                 $thisOtherEntitySet->getName() == $thatOtherEntitySet->getName())) {
1323 1323
                 return false;
1324 1324
             }
Please login to merge, or discard this patch.