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.
Passed
Push — master ( c4f121...b9594d )
by Joni
05:22
created
lib/JWX/JWT/Claim/AudienceClaim.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -13,24 +13,24 @@
 block discarded – undo
13 13
  */
14 14
 class AudienceClaim extends RegisteredClaim
15 15
 {
16
-    /**
17
-     * Constructor.
18
-     *
19
-     * @param string ...$audiences One or more audiences
20
-     */
21
-    public function __construct(string ...$audiences)
22
-    {
23
-        parent::__construct(self::NAME_AUDIENCE, $audiences,
24
-            new ContainsValidator());
25
-    }
16
+	/**
17
+	 * Constructor.
18
+	 *
19
+	 * @param string ...$audiences One or more audiences
20
+	 */
21
+	public function __construct(string ...$audiences)
22
+	{
23
+		parent::__construct(self::NAME_AUDIENCE, $audiences,
24
+			new ContainsValidator());
25
+	}
26 26
     
27
-    /**
28
-     *
29
-     * {@inheritdoc}
30
-     */
31
-    public static function fromJSONValue($value): self
32
-    {
33
-        $value = (array) $value;
34
-        return new self(...$value);
35
-    }
27
+	/**
28
+	 *
29
+	 * {@inheritdoc}
30
+	 */
31
+	public static function fromJSONValue($value): self
32
+	{
33
+		$value = (array) $value;
34
+		return new self(...$value);
35
+	}
36 36
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/IssuedAtClaim.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -13,25 +13,25 @@
 block discarded – undo
13 13
  */
14 14
 class IssuedAtClaim extends RegisteredClaim
15 15
 {
16
-    use NumericDateClaim;
16
+	use NumericDateClaim;
17 17
     
18
-    /**
19
-     * Constructor.
20
-     *
21
-     * @param int $issue_time Issued at time
22
-     */
23
-    public function __construct(int $issue_time)
24
-    {
25
-        parent::__construct(self::NAME_ISSUED_AT, $issue_time);
26
-    }
18
+	/**
19
+	 * Constructor.
20
+	 *
21
+	 * @param int $issue_time Issued at time
22
+	 */
23
+	public function __construct(int $issue_time)
24
+	{
25
+		parent::__construct(self::NAME_ISSUED_AT, $issue_time);
26
+	}
27 27
     
28
-    /**
29
-     * Initialize with time set to current time
30
-     *
31
-     * @return self
32
-     */
33
-    public static function now(): self
34
-    {
35
-        return new self(time());
36
-    }
28
+	/**
29
+	 * Initialize with time set to current time
30
+	 *
31
+	 * @return self
32
+	 */
33
+	public static function now(): self
34
+	{
35
+		return new self(time());
36
+	}
37 37
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/GreaterValidator.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 block discarded – undo
9 9
  */
10 10
 class GreaterValidator extends Validator
11 11
 {
12
-    /**
13
-     *
14
-     * {@inheritdoc}
15
-     */
16
-    public function validate($value, $constraint): bool
17
-    {
18
-        return $value > $constraint;
19
-    }
12
+	/**
13
+	 *
14
+	 * {@inheritdoc}
15
+	 */
16
+	public function validate($value, $constraint): bool
17
+	{
18
+		return $value > $constraint;
19
+	}
20 20
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/Validator.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -9,24 +9,24 @@
 block discarded – undo
9 9
  */
10 10
 abstract class Validator
11 11
 {
12
-    /**
13
-     * Check whether value is valid by given constraint.
14
-     *
15
-     * @param mixed $value Value to assert
16
-     * @param mixed $constraint Constraint
17
-     * @return bool True if value is valid
18
-     */
19
-    abstract public function validate($value, $constraint): bool;
12
+	/**
13
+	 * Check whether value is valid by given constraint.
14
+	 *
15
+	 * @param mixed $value Value to assert
16
+	 * @param mixed $constraint Constraint
17
+	 * @return bool True if value is valid
18
+	 */
19
+	abstract public function validate($value, $constraint): bool;
20 20
     
21
-    /**
22
-     * Functor method.
23
-     *
24
-     * @param mixed $value
25
-     * @param mixed $constraint
26
-     * @return bool
27
-     */
28
-    public function __invoke($value, $constraint): bool
29
-    {
30
-        return $this->validate($value, $constraint);
31
-    }
21
+	/**
22
+	 * Functor method.
23
+	 *
24
+	 * @param mixed $value
25
+	 * @param mixed $constraint
26
+	 * @return bool
27
+	 */
28
+	public function __invoke($value, $constraint): bool
29
+	{
30
+		return $this->validate($value, $constraint);
31
+	}
32 32
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/ContainsValidator.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,15 +12,15 @@
 block discarded – undo
12 12
  */
13 13
 class ContainsValidator extends Validator
14 14
 {
15
-    /**
16
-     *
17
-     * {@inheritdoc}
18
-     */
19
-    public function validate($value, $constraint): bool
20
-    {
21
-        if (is_array($value)) {
22
-            return in_array($constraint, $value);
23
-        }
24
-        return $value == $constraint;
25
-    }
15
+	/**
16
+	 *
17
+	 * {@inheritdoc}
18
+	 */
19
+	public function validate($value, $constraint): bool
20
+	{
21
+		if (is_array($value)) {
22
+			return in_array($constraint, $value);
23
+		}
24
+		return $value == $constraint;
25
+	}
26 26
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/LessOrEqualValidator.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
  */
11 11
 class LessOrEqualValidator extends Validator
12 12
 {
13
-    /**
14
-     *
15
-     * {@inheritdoc}
16
-     */
17
-    public function validate($value, $constraint): bool
18
-    {
19
-        return $value <= $constraint;
20
-    }
13
+	/**
14
+	 *
15
+	 * {@inheritdoc}
16
+	 */
17
+	public function validate($value, $constraint): bool
18
+	{
19
+		return $value <= $constraint;
20
+	}
21 21
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/LessValidator.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 block discarded – undo
9 9
  */
10 10
 class LessValidator extends Validator
11 11
 {
12
-    /**
13
-     *
14
-     * {@inheritdoc}
15
-     */
16
-    public function validate($value, $constraint): bool
17
-    {
18
-        return $value < $constraint;
19
-    }
12
+	/**
13
+	 *
14
+	 * {@inheritdoc}
15
+	 */
16
+	public function validate($value, $constraint): bool
17
+	{
18
+		return $value < $constraint;
19
+	}
20 20
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/EqualsValidator.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,12 +9,12 @@
 block discarded – undo
9 9
  */
10 10
 class EqualsValidator extends Validator
11 11
 {
12
-    /**
13
-     *
14
-     * {@inheritdoc}
15
-     */
16
-    public function validate($value, $constraint): bool
17
-    {
18
-        return $value == $constraint;
19
-    }
12
+	/**
13
+	 *
14
+	 * {@inheritdoc}
15
+	 */
16
+	public function validate($value, $constraint): bool
17
+	{
18
+		return $value == $constraint;
19
+	}
20 20
 }
Please login to merge, or discard this patch.
lib/JWX/JWT/Claim/Validator/GreaterOrEqualValidator.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
  */
11 11
 class GreaterOrEqualValidator extends Validator
12 12
 {
13
-    /**
14
-     *
15
-     * {@inheritdoc}
16
-     */
17
-    public function validate($value, $constraint): bool
18
-    {
19
-        return $value >= $constraint;
20
-    }
13
+	/**
14
+	 *
15
+	 * {@inheritdoc}
16
+	 */
17
+	public function validate($value, $constraint): bool
18
+	{
19
+		return $value >= $constraint;
20
+	}
21 21
 }
Please login to merge, or discard this patch.