GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — php70 ( cc0d0f...bf86e8 )
by Joni
02:38
created
lib/ASN1/Type/Primitive/Integer.php 1 patch
Switch Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -71,11 +71,11 @@
 block discarded – undo
71 71
         $num = $this->_number->gmpObj();
72 72
         switch (gmp_sign($num)) {
73 73
             // positive
74
-            case 1:
75
-                return self::_encodePositiveInteger($num);
76
-            // negative
77
-            case -1:
78
-                return self::_encodeNegativeInteger($num);
74
+        case 1:
75
+            return self::_encodePositiveInteger($num);
76
+        // negative
77
+        case -1:
78
+            return self::_encodeNegativeInteger($num);
79 79
         }
80 80
         // zero
81 81
         return "\0";
Please login to merge, or discard this patch.
lib/ASN1/Element.php 1 patch
Switch Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -358,12 +358,12 @@  discard block
 block discarded – undo
358 358
     private function _isPseudoType(int $tag): bool
359 359
     {
360 360
         switch ($tag) {
361
-            case self::TYPE_STRING:
362
-                return $this instanceof StringType;
363
-            case self::TYPE_TIME:
364
-                return $this instanceof TimeType;
365
-            case self::TYPE_CONSTRUCTED_STRING:
366
-                return $this instanceof ConstructedString;
361
+        case self::TYPE_STRING:
362
+            return $this instanceof StringType;
363
+        case self::TYPE_TIME:
364
+            return $this instanceof TimeType;
365
+        case self::TYPE_CONSTRUCTED_STRING:
366
+            return $this instanceof ConstructedString;
367 367
         }
368 368
         return false;
369 369
     }
@@ -450,20 +450,20 @@  discard block
 block discarded – undo
450 450
     protected static function _determineImplClass(Identifier $identifier): string
451 451
     {
452 452
         switch ($identifier->typeClass()) {
453
-            case Identifier::CLASS_UNIVERSAL:
454
-                $cls = self::_determineUniversalImplClass($identifier->intTag());
455
-                // constructed strings may be present in BER
456
-                if ($identifier->isConstructed() &&
457
-                    is_subclass_of($cls, StringType::class)) {
458
-                    $cls = ConstructedString::class;
459
-                }
460
-                return $cls;
461
-            case Identifier::CLASS_CONTEXT_SPECIFIC:
462
-                return ContextSpecificType::class;
463
-            case Identifier::CLASS_APPLICATION:
464
-                return ApplicationType::class;
465
-            case Identifier::CLASS_PRIVATE:
466
-                return PrivateType::class;
453
+        case Identifier::CLASS_UNIVERSAL:
454
+            $cls = self::_determineUniversalImplClass($identifier->intTag());
455
+            // constructed strings may be present in BER
456
+            if ($identifier->isConstructed() &&
457
+                is_subclass_of($cls, StringType::class)) {
458
+                $cls = ConstructedString::class;
459
+            }
460
+            return $cls;
461
+        case Identifier::CLASS_CONTEXT_SPECIFIC:
462
+            return ContextSpecificType::class;
463
+        case Identifier::CLASS_APPLICATION:
464
+            return ApplicationType::class;
465
+        case Identifier::CLASS_PRIVATE:
466
+            return PrivateType::class;
467 467
         }
468 468
         throw new \UnexpectedValueException(
469 469
             sprintf("%s %d not implemented.",
Please login to merge, or discard this patch.