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 ( 1025cc...e9c1b9 )
by Ayesh
10:42 queued 08:50
created
src/Parser.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@  discard block
 block discarded – undo
81 81
     if ($birth_days_since > 500) {
82 82
       $birth_days_since -= 500;
83 83
       $this->data_components['gender'] = 'F';
84
-    }
85
-    else {
84
+    } else {
86 85
       $this->data_components['gender'] = 'M';
87 86
     }
88 87
 
@@ -99,8 +98,7 @@  discard block
 block discarded – undo
99 98
     $strlen = strlen((string) $id_number);
100 99
     if ($strlen === 12) {
101 100
       $this->data_components['format'] = static::ID_FORMAT_2016;
102
-    }
103
-    else {
101
+    } else {
104 102
       $this->data_components['format'] = static::ID_FORMAT_PRE_2016;
105 103
     }
106 104
   }
Please login to merge, or discard this patch.
examples/validation.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 try {
13 13
   $parser = new Parser($id_number);
14
-}
15
-catch (InvalidArgumentException $exception) {
14
+} catch (InvalidArgumentException $exception) {
16 15
   echo $exception->getMessage(); // "Birthday indicator is invalid."
17 16
 }
Please login to merge, or discard this patch.