Passed
Pull Request — master (#50)
by Alex
03:38
created
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
                 if (!isset(self::$s_CharProperties[$i])) {
339 339
                     self::$s_CharProperties[$i] = $value;
340 340
                 }
Please login to merge, or discard this patch.
IEnumMember/EnumMemberValueMustHaveSameTypeAsUnderlyingType.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
         if (!$context->checkIsBad($enumMember->getDeclaringType()) &&
29 29
                        !$context->checkIsBad($enumMember->getDeclaringType()->getUnderlyingType()) &&
30 30
                        !ExpressionTypeChecker::TryAssertPrimitiveAsType(
31
-                           $enumMember->getValue(),
32
-                           EdmTypeSemantics::GetPrimitiveTypeReference($enumMember->getDeclaringType()->getUnderlyingType(), false),
33
-                           $discoveredErrors
34
-                       )) {
31
+                            $enumMember->getValue(),
32
+                            EdmTypeSemantics::GetPrimitiveTypeReference($enumMember->getDeclaringType()->getUnderlyingType(), false),
33
+                            $discoveredErrors
34
+                        )) {
35 35
             EdmUtil::checkArgumentNull($enumMember->Location(), 'enumMember->Location');
36 36
             $context->AddError(
37 37
                 $enumMember->Location(),
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
@@ -1294,7 +1294,7 @@  discard block
 block discarded – undo
1294 1294
 
1295 1295
         // Association Set
1296 1296
         if (!($this->model->GetAssociationSetName($thisEntitySet, $thisNavprop) ==
1297
-              $this->model->GetAssociationSetName($thatEntitySet, $thatNavprop) &&
1297
+                $this->model->GetAssociationSetName($thatEntitySet, $thatNavprop) &&
1298 1298
             $this->model->GetAssociationFullName($thisNavprop) == $this->model->GetAssociationFullName($thatNavprop))) {
1299 1299
             return false;
1300 1300
         }
@@ -1316,7 +1316,7 @@  discard block
 block discarded – undo
1316 1316
 
1317 1317
         if (null !== $thisOtherEntitySet) {
1318 1318
             if (!($this->model->GetAssociationEndName($thisNavprop->getPartner()) ==
1319
-                  $this->model->GetAssociationEndName($thatNavprop->getPartner()) &&
1319
+                    $this->model->GetAssociationEndName($thatNavprop->getPartner()) &&
1320 1320
                   $thisOtherEntitySet->getName() == $thatOtherEntitySet->getName())) {
1321 1321
                 return false;
1322 1322
             }
Please login to merge, or discard this patch.
src/Helpers/VocabularyAnnotationHelpers.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         /** @var IVocabularyAnnotation $annotation */
20 20
         $annotation = $this;
21 21
         return $annotation->GetSerializationLocation($model) ==
22
-               EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->TargetString();
22
+                EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->TargetString();
23 23
     }
24 24
 
25 25
     public function TargetString(): string
Please login to merge, or discard this patch.
src/Helpers/ModelHelpersVocabularyAnnotation.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     ): iterable {
36 36
         assert(
37 37
             null === $term || $term instanceof ITerm || is_string($term),
38
-               '$term should be a string or instanceof iTerm'
38
+                '$term should be a string or instanceof iTerm'
39 39
         );
40 40
         if (null === $term) {
41 41
             return $this->processNullVocabularyAnnotationTerm($element);
Please login to merge, or discard this patch.