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 ( 7cb941...28b23d )
by Stan
06:11
created
src/Api/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
  * @author Stanislav Drozdov <[email protected]>
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace Teebot\Api;
14 14
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             $entity = $this->buildEntity($rawItemData, $entityClass);
136 136
 
137 137
             if ($entity && $entity instanceof Update) {
138
-                $this->lastUpdate = (int)$entity->getUpdateId();
138
+                $this->lastUpdate = (int) $entity->getUpdateId();
139 139
             }
140 140
 
141 141
             $entities[] = $entity;
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
         $entity      = null;
161 161
 
162 162
         if (!class_exists($entityClass)) {
163
-            throw new BuildEntityException('Entity "' . $entityClass . '" does not exists or not supported yet!');
163
+            throw new BuildEntityException('Entity "'.$entityClass.'" does not exists or not supported yet!');
164 164
         }
165 165
 
166 166
         /** @var EntityInterface $entity */
Please login to merge, or discard this patch.
src/Api/Command/Processor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * @author  Stanislav Drozdov <[email protected]>
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Teebot\Api\Command;
15 15
 
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
      *
275 275
      * @return bool
276 276
      */
277
-    protected function isCommandSupported(?string $preDefinedCommand, string $command): bool
277
+    protected function isCommandSupported(?string $preDefinedCommand, string $command) : bool
278 278
     {
279 279
         return $preDefinedCommand !== null && strtolower($preDefinedCommand) == strtolower($command);
280 280
     }
Please login to merge, or discard this patch.
src/Api/Command/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  * @author  Stanislav Drozdov <[email protected]>
11 11
  */
12 12
 
13
-declare(strict_types=1);
13
+declare(strict_types = 1);
14 14
 
15 15
 namespace Teebot\Api\Command;
16 16
 
Please login to merge, or discard this patch.
src/Api/Command/AbstractEntityEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  * @author  Stanislav Drozdov <[email protected]>
11 11
  */
12 12
 
13
-declare(strict_types=1);
13
+declare(strict_types = 1);
14 14
 
15 15
 namespace Teebot\Api\Command;
16 16
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     {
133 133
         $chatId = $this->getChatId();
134 134
 
135
-        if ((int)$chatId == 0) {
135
+        if ((int) $chatId == 0) {
136 136
             return false;
137 137
         }
138 138
 
Please login to merge, or discard this patch.
src/Api/HttpClient.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 Teebot\Api;
6 6
 
Please login to merge, or discard this patch.
src/Api/Logger/Logger.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 Teebot\Api\Logger;
6 6
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function __construct(ContainerInterface $config)
30 30
     {
31 31
         $this->config = $config;
32
-        $filename     = TEEBOT_ROOT . $this->config->get('logger.filename');
32
+        $filename     = TEEBOT_ROOT.$this->config->get('logger.filename');
33 33
         $this->logger = new Monolog('Teebot');
34 34
         $this->logger->pushHandler(
35 35
             new StreamHandler($filename, Monolog::WARNING)
Please login to merge, or discard this patch.
src/Api/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * @author  Stanislav Drozdov <[email protected]>
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Teebot\Api;
15 15
 
Please login to merge, or discard this patch.
src/Api/Traits/Property.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
  * @author  Stanislav Drozdov <[email protected]>
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace Teebot\Api\Traits;
14 14
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      */
27 27
     protected function getSetGetMethodName(string $prefix, string $name): ?string
28 28
     {
29
-        $setter = $prefix . str_replace("_", "", ucwords($name, "_"));
29
+        $setter = $prefix.str_replace("_", "", ucwords($name, "_"));
30 30
 
31 31
         if (method_exists($this, $setter)) {
32 32
             return $setter;
Please login to merge, or discard this patch.
src/Api/Traits/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  * @author  Stanislav Drozdov <[email protected]>
9 9
  */
10 10
 
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace Teebot\Api\Traits;
14 14
 
Please login to merge, or discard this patch.