Passed
Pull Request — master (#66)
by Alex
03:03
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
@@ -1298,7 +1298,7 @@  discard block
 block discarded – undo
1298 1298
 
1299 1299
         // Association Set
1300 1300
         if (!($this->model->getAssociationSetName($thisEntitySet, $thisNavprop) ==
1301
-              $this->model->getAssociationSetName($thatEntitySet, $thatNavprop) &&
1301
+                $this->model->getAssociationSetName($thatEntitySet, $thatNavprop) &&
1302 1302
               $this->model->getAssociationFullName($thisNavprop) == $this->model->getAssociationFullName($thatNavprop))) {
1303 1303
             return false;
1304 1304
         }
@@ -1320,7 +1320,7 @@  discard block
 block discarded – undo
1320 1320
 
1321 1321
         if (null !== $thisOtherEntitySet) {
1322 1322
             if (!($this->model->getAssociationEndName($thisNavprop->getPartner()) ==
1323
-                  $this->model->getAssociationEndName($thatNavprop->getPartner()) &&
1323
+                    $this->model->getAssociationEndName($thatNavprop->getPartner()) &&
1324 1324
                   $thisOtherEntitySet->getName() == $thatOtherEntitySet->getName())) {
1325 1325
                 return false;
1326 1326
             }
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
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         /** @var IVocabularyAnnotation $annotation */
19 19
         $annotation = $this;
20 20
         return $annotation->getSerializationLocation($model) ===
21
-               EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->targetString();
21
+                EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->targetString();
22 22
     }
23 23
 
24 24
     public function targetString(): ?string
Please login to merge, or discard this patch.