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 — php72 ( 2f43a1...f5fc00 )
by Joni
03:42
created
lib/ASN1/Type/Primitive/Integer.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type\Primitive;
6 6
 
Please login to merge, or discard this patch.
lib/ASN1/Element.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1;
6 6
 
Please login to merge, or discard this patch.
Switch Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -401,20 +401,20 @@  discard block
 block discarded – undo
401 401
     protected static function _determineImplClass(Identifier $identifier): string
402 402
     {
403 403
         switch ($identifier->typeClass()) {
404
-            case Identifier::CLASS_UNIVERSAL:
405
-                $cls = self::_determineUniversalImplClass($identifier->intTag());
406
-                // constructed strings may be present in BER
407
-                if ($identifier->isConstructed() &&
408
-                    is_subclass_of($cls, PrimitiveString::class)) {
409
-                    $cls = ConstructedString::class;
410
-                }
411
-                return $cls;
412
-            case Identifier::CLASS_CONTEXT_SPECIFIC:
413
-                return ContextSpecificType::class;
414
-            case Identifier::CLASS_APPLICATION:
415
-                return ApplicationType::class;
416
-            case Identifier::CLASS_PRIVATE:
417
-                return PrivateType::class;
404
+        case Identifier::CLASS_UNIVERSAL:
405
+            $cls = self::_determineUniversalImplClass($identifier->intTag());
406
+            // constructed strings may be present in BER
407
+            if ($identifier->isConstructed() &&
408
+                is_subclass_of($cls, PrimitiveString::class)) {
409
+                $cls = ConstructedString::class;
410
+            }
411
+            return $cls;
412
+        case Identifier::CLASS_CONTEXT_SPECIFIC:
413
+            return ContextSpecificType::class;
414
+        case Identifier::CLASS_APPLICATION:
415
+            return ApplicationType::class;
416
+        case Identifier::CLASS_PRIVATE:
417
+            return PrivateType::class;
418 418
         }
419 419
         throw new \UnexpectedValueException(
420 420
             sprintf('%s %d not implemented.',
@@ -487,10 +487,10 @@  discard block
 block discarded – undo
487 487
     private function _isPseudoType(int $tag): bool
488 488
     {
489 489
         switch ($tag) {
490
-            case self::TYPE_STRING:
491
-                return $this instanceof StringType;
492
-            case self::TYPE_TIME:
493
-                return $this instanceof TimeType;
490
+        case self::TYPE_STRING:
491
+            return $this instanceof StringType;
492
+        case self::TYPE_TIME:
493
+            return $this instanceof TimeType;
494 494
         }
495 495
         return false;
496 496
     }
Please login to merge, or discard this patch.
lib/ASN1/Type/Constructed/Sequence.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type\Constructed;
6 6
 
Please login to merge, or discard this patch.
lib/ASN1/Type/Constructed/Set.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type\Constructed;
6 6
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     {
35 35
         $obj = clone $this;
36 36
         usort($obj->_elements,
37
-            function (Element $a, Element $b) {
37
+            function(Element $a, Element $b) {
38 38
                 if ($a->typeClass() != $b->typeClass()) {
39 39
                     return $a->typeClass() < $b->typeClass() ? -1 : 1;
40 40
                 }
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $obj = clone $this;
59 59
         usort($obj->_elements,
60
-            function (Element $a, Element $b) {
60
+            function(Element $a, Element $b) {
61 61
                 $a_der = $a->toDER();
62 62
                 $b_der = $b->toDER();
63 63
                 return strcmp($a_der, $b_der);
Please login to merge, or discard this patch.
lib/ASN1/Type/UniversalClass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type;
6 6
 
Please login to merge, or discard this patch.
lib/ASN1/Type/Structure.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type;
6 6
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function __construct(ElementBase ...$elements)
47 47
     {
48 48
         $this->_elements = array_map(
49
-            function (ElementBase $el) {
49
+            function(ElementBase $el) {
50 50
                 return $el->asElement();
51 51
             }, $elements);
52 52
     }
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
     {
206 206
         if (!isset($this->_unspecifiedTypes)) {
207 207
             $this->_unspecifiedTypes = array_map(
208
-                function (Element $el) {
208
+                function(Element $el) {
209 209
                     return new UnspecifiedType($el);
210 210
                 }, $this->_elements);
211 211
         }
Please login to merge, or discard this patch.
lib/ASN1/Type/Tagged/ApplicationType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type\Tagged;
6 6
 
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/Real.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type\Primitive;
6 6
 
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/ObjectIdentifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Sop\ASN1\Type\Primitive;
6 6
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     protected static function _implodeSubIDs(\GMP ...$subids): string
146 146
     {
147 147
         return implode('.',
148
-            array_map(function ($num) {
148
+            array_map(function($num) {
149 149
                 return gmp_strval($num, 10);
150 150
             }, $subids));
151 151
     }
Please login to merge, or discard this patch.