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 — master ( 44febf...07c3ac )
by Joni
02:34
created
lib/ASN1/Type/Primitive/Enumerated.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -7,14 +7,14 @@
 block discarded – undo
7 7
  */
8 8
 class Enumerated extends Integer
9 9
 {
10
-    /**
11
-     * Constructor.
12
-     *
13
-     * @param int|string $number
14
-     */
15
-    public function __construct($number)
16
-    {
17
-        parent::__construct($number);
18
-        $this->_typeTag = self::TYPE_ENUMERATED;
19
-    }
10
+	/**
11
+	 * Constructor.
12
+	 *
13
+	 * @param int|string $number
14
+	 */
15
+	public function __construct($number)
16
+	{
17
+		parent::__construct($number);
18
+		$this->_typeTag = self::TYPE_ENUMERATED;
19
+	}
20 20
 }
Please login to merge, or discard this patch.
lib/ASN1/Feature/Encodable.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
  */
10 10
 interface Encodable
11 11
 {
12
-    /**
13
-     * Encode object to DER.
14
-     *
15
-     * @return string
16
-     */
17
-    public function toDER(): string;
12
+	/**
13
+	 * Encode object to DER.
14
+	 *
15
+	 * @return string
16
+	 */
17
+	public function toDER(): string;
18 18
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/OctetString.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,16 +12,16 @@
 block discarded – undo
12 12
  */
13 13
 class OctetString extends PrimitiveString
14 14
 {
15
-    use UniversalClass;
15
+	use UniversalClass;
16 16
     
17
-    /**
18
-     * Constructor.
19
-     *
20
-     * @param string $string
21
-     */
22
-    public function __construct(string $string)
23
-    {
24
-        $this->_typeTag = self::TYPE_OCTET_STRING;
25
-        parent::__construct($string);
26
-    }
17
+	/**
18
+	 * Constructor.
19
+	 *
20
+	 * @param string $string
21
+	 */
22
+	public function __construct(string $string)
23
+	{
24
+		$this->_typeTag = self::TYPE_OCTET_STRING;
25
+		parent::__construct($string);
26
+	}
27 27
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/ObjectDescriptor.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -12,26 +12,26 @@
 block discarded – undo
12 12
  */
13 13
 class ObjectDescriptor extends PrimitiveString
14 14
 {
15
-    use UniversalClass;
15
+	use UniversalClass;
16 16
     
17
-    /**
18
-     * Constructor.
19
-     *
20
-     * @param string $descriptor
21
-     */
22
-    public function __construct(string $descriptor)
23
-    {
24
-        $this->_string = $descriptor;
25
-        $this->_typeTag = self::TYPE_OBJECT_DESCRIPTOR;
26
-    }
17
+	/**
18
+	 * Constructor.
19
+	 *
20
+	 * @param string $descriptor
21
+	 */
22
+	public function __construct(string $descriptor)
23
+	{
24
+		$this->_string = $descriptor;
25
+		$this->_typeTag = self::TYPE_OBJECT_DESCRIPTOR;
26
+	}
27 27
     
28
-    /**
29
-     * Get the object descriptor.
30
-     *
31
-     * @return string
32
-     */
33
-    public function descriptor(): string
34
-    {
35
-        return $this->_string;
36
-    }
28
+	/**
29
+	 * Get the object descriptor.
30
+	 *
31
+	 * @return string
32
+	 */
33
+	public function descriptor(): string
34
+	{
35
+		return $this->_string;
36
+	}
37 37
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/Constructed/Sequence.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,14 +12,14 @@
 block discarded – undo
12 12
  */
13 13
 class Sequence extends Structure
14 14
 {
15
-    /**
16
-     * Constructor.
17
-     *
18
-     * @param Element ...$elements Any number of elements
19
-     */
20
-    public function __construct(Element ...$elements)
21
-    {
22
-        $this->_typeTag = self::TYPE_SEQUENCE;
23
-        parent::__construct(...$elements);
24
-    }
15
+	/**
16
+	 * Constructor.
17
+	 *
18
+	 * @param Element ...$elements Any number of elements
19
+	 */
20
+	public function __construct(Element ...$elements)
21
+	{
22
+		$this->_typeTag = self::TYPE_SEQUENCE;
23
+		parent::__construct(...$elements);
24
+	}
25 25
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/UniversalClass.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
  */
12 12
 trait UniversalClass
13 13
 {
14
-    /**
15
-     * @see \Sop\ASN1\Feature\ElementBase::typeClass()
16
-     *
17
-     * @return int
18
-     */
19
-    public function typeClass(): int
20
-    {
21
-        return Identifier::CLASS_UNIVERSAL;
22
-    }
14
+	/**
15
+	 * @see \Sop\ASN1\Feature\ElementBase::typeClass()
16
+	 *
17
+	 * @return int
18
+	 */
19
+	public function typeClass(): int
20
+	{
21
+		return Identifier::CLASS_UNIVERSAL;
22
+	}
23 23
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/NullType.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -17,38 +17,38 @@
 block discarded – undo
17 17
  */
18 18
 class NullType extends Element
19 19
 {
20
-    use UniversalClass;
21
-    use PrimitiveType;
20
+	use UniversalClass;
21
+	use PrimitiveType;
22 22
 
23
-    /**
24
-     * Constructor.
25
-     */
26
-    public function __construct()
27
-    {
28
-        $this->_typeTag = self::TYPE_NULL;
29
-    }
23
+	/**
24
+	 * Constructor.
25
+	 */
26
+	public function __construct()
27
+	{
28
+		$this->_typeTag = self::TYPE_NULL;
29
+	}
30 30
 
31
-    /**
32
-     * {@inheritdoc}
33
-     */
34
-    protected function _encodedContentDER(): string
35
-    {
36
-        return '';
37
-    }
31
+	/**
32
+	 * {@inheritdoc}
33
+	 */
34
+	protected function _encodedContentDER(): string
35
+	{
36
+		return '';
37
+	}
38 38
 
39
-    /**
40
-     * {@inheritdoc}
41
-     */
42
-    protected static function _decodeFromDER(Identifier $identifier,
43
-        string $data, int &$offset): ElementBase
44
-    {
45
-        $idx = $offset;
46
-        if (!$identifier->isPrimitive()) {
47
-            throw new DecodeException('Null value must be primitive.');
48
-        }
49
-        // null type has always zero length
50
-        Length::expectFromDER($data, $idx, 0);
51
-        $offset = $idx;
52
-        return new self();
53
-    }
39
+	/**
40
+	 * {@inheritdoc}
41
+	 */
42
+	protected static function _decodeFromDER(Identifier $identifier,
43
+		string $data, int &$offset): ElementBase
44
+	{
45
+		$idx = $offset;
46
+		if (!$identifier->isPrimitive()) {
47
+			throw new DecodeException('Null value must be primitive.');
48
+		}
49
+		// null type has always zero length
50
+		Length::expectFromDER($data, $idx, 0);
51
+		$offset = $idx;
52
+		return new self();
53
+	}
54 54
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/T61String.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -12,26 +12,26 @@
 block discarded – undo
12 12
  */
13 13
 class T61String extends PrimitiveString
14 14
 {
15
-    use UniversalClass;
15
+	use UniversalClass;
16 16
 
17
-    /**
18
-     * Constructor.
19
-     *
20
-     * @param string $string
21
-     */
22
-    public function __construct(string $string)
23
-    {
24
-        $this->_typeTag = self::TYPE_T61_STRING;
25
-        parent::__construct($string);
26
-    }
17
+	/**
18
+	 * Constructor.
19
+	 *
20
+	 * @param string $string
21
+	 */
22
+	public function __construct(string $string)
23
+	{
24
+		$this->_typeTag = self::TYPE_T61_STRING;
25
+		parent::__construct($string);
26
+	}
27 27
 
28
-    /**
29
-     * {@inheritdoc}
30
-     */
31
-    protected function _validateString(string $string): bool
32
-    {
33
-        // allow everything since there's literally
34
-        // thousands of allowed characters (16 bit composed characters)
35
-        return true;
36
-    }
28
+	/**
29
+	 * {@inheritdoc}
30
+	 */
31
+	protected function _validateString(string $string): bool
32
+	{
33
+		// allow everything since there's literally
34
+		// thousands of allowed characters (16 bit composed characters)
35
+		return true;
36
+	}
37 37
 }
Please login to merge, or discard this patch.
lib/ASN1/Type/Primitive/UTF8String.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -14,24 +14,24 @@
 block discarded – undo
14 14
  */
15 15
 class UTF8String extends PrimitiveString
16 16
 {
17
-    use UniversalClass;
17
+	use UniversalClass;
18 18
 
19
-    /**
20
-     * Constructor.
21
-     *
22
-     * @param string $string
23
-     */
24
-    public function __construct(string $string)
25
-    {
26
-        $this->_typeTag = self::TYPE_UTF8_STRING;
27
-        parent::__construct($string);
28
-    }
19
+	/**
20
+	 * Constructor.
21
+	 *
22
+	 * @param string $string
23
+	 */
24
+	public function __construct(string $string)
25
+	{
26
+		$this->_typeTag = self::TYPE_UTF8_STRING;
27
+		parent::__construct($string);
28
+	}
29 29
 
30
-    /**
31
-     * {@inheritdoc}
32
-     */
33
-    protected function _validateString(string $string): bool
34
-    {
35
-        return mb_check_encoding($string, 'UTF-8');
36
-    }
30
+	/**
31
+	 * {@inheritdoc}
32
+	 */
33
+	protected function _validateString(string $string): bool
34
+	{
35
+		return mb_check_encoding($string, 'UTF-8');
36
+	}
37 37
 }
Please login to merge, or discard this patch.