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 ( 62435e...5ac723 )
by Stan
12:33
created
src/Entity/UserProfilePhotos.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class UserProfilePhotos extends AbstractEntity
6 6
 {
7
-    const ENTITY_TYPE   = 'UserProfilePhotos';
7
+    const ENTITY_TYPE = 'UserProfilePhotos';
8 8
 
9 9
     protected $total_count;
10 10
 
Please login to merge, or discard this patch.
src/Entity/Message.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 
5 5
 class Message extends AbstractEntity
6 6
 {
7
-    const ENTITY_TYPE             = 'Message';
7
+    const ENTITY_TYPE = 'Message';
8 8
 
9 9
     protected $messageType = self::ENTITY_TYPE;
10 10
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
     }
160 160
 
161 161
     /**
162
-     * @return array
162
+     * @return MessageEntityArray
163 163
      */
164 164
     public function getEntities()
165 165
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Teebot\Entity;
4 4
 
5
-use Teebot\Command\Handler;
6
-use Teebot\Config;
7
-
8 5
 class Message extends AbstractEntity
9 6
 {
10 7
     const ENTITY_TYPE             = 'Message';
Please login to merge, or discard this patch.
src/Entity/InputFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function initFileForUpload()
22 22
     {
23 23
         if (!$this->isFileReadable($this->file)) {
24
-            throw new Critical('File "' . $this->file . '" is not readable or does not exist!');
24
+            throw new Critical('File "'.$this->file.'" is not readable or does not exist!');
25 25
         }
26 26
 
27 27
         return new \CURLFile($this->file);
Please login to merge, or discard this patch.
src/Entity/File.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,13 +90,13 @@
 block discarded – undo
90 90
             return null;
91 91
         }
92 92
 
93
-        return $basePath . $this->file_path;
93
+        return $basePath.$this->file_path;
94 94
     }
95 95
 
96 96
     public function download($storePath)
97 97
     {
98 98
         if (file_exists($storePath) && !is_writable($storePath)) {
99
-            throw new Critical('File "' . $storePath . '" is already exist!"');
99
+            throw new Critical('File "'.$storePath.'" is already exist!"');
100 100
         }
101 101
 
102 102
         $filePath = $this->getFullPath();
Please login to merge, or discard this patch.
src/Traits/Property.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     protected function getSetGetMethodName($prefix, $name)
27 27
     {
28
-        $setter = $prefix . str_replace("_", "", ucwords($name, "_"));
28
+        $setter = $prefix.str_replace("_", "", ucwords($name, "_"));
29 29
 
30 30
         if (method_exists($this, $setter)) {
31 31
             return $setter;
Please login to merge, or discard this patch.
src/Exception/Output.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             echo sprintf(
47 47
                 $pattern,
48 48
                 $e->getMessage()
49
-            ). "\n";
49
+            )."\n";
50 50
         }
51 51
 
52 52
         if ($e instanceof Fatal) {
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
         );
151 151
 
152 152
         if (!empty($args)) {
153
-            $url .= '?' . $args;
153
+            $url .= '?'.$args;
154 154
         }
155 155
 
156 156
         return $url;
Please login to merge, or discard this patch.
src/Response.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
         $entity      = null;
138 138
 
139 139
         if (!class_exists($entityClass)) {
140
-            Output::log(new Critical('Entity "' . $entityClass . '" does not exists or not supported yet!'));
140
+            Output::log(new Critical('Entity "'.$entityClass.'" does not exists or not supported yet!'));
141 141
         }
142 142
         /** @var AbstractEntity $entity */
143 143
         $entity = new $entityClass($rawItemData);
Please login to merge, or discard this patch.
hook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  * @author Stan Drozdov <[email protected]>
6 6
  */
7 7
 
8
-require_once realpath(__DIR__) . '/vendor/autoload.php';
8
+require_once realpath(__DIR__).'/vendor/autoload.php';
9 9
 
10 10
 $client   = new \Teebot\Client(['n' => 'Example']);
11 11
 $response = $client->webhook();
Please login to merge, or discard this patch.