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 ( ab3243...c3401f )
by Stan
02:44
created
src/Command/Executor.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
      * @param bool           $isCommand Boolean flag which indicates that passed entity should
194 194
      *                                  be treated as a command
195 195
      *
196
-     * @return bool
196
+     * @return boolean|null
197 197
      */
198 198
     protected function triggerEvent(AbstractEntity $entity, AbstractEntity $parent = null, $isCommand = false)
199 199
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
 
277 277
             $className = $this->config->getCommandNamespace() . "\\" . $name;
278 278
         } elseif ($entity instanceof AbstractEntity) {
279
-            $className = $this->config->getEntityEventNamespace() . "\\". $entity->getEntityType();
279
+            $className = $this->config->getEntityEventNamespace() . "\\" . $entity->getEntityType();
280 280
         }
281 281
 
282 282
         if ($className && class_exists($className)) {
Please login to merge, or discard this patch.
src/Entity/Command.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return mixed
45
+     * @return string
46 46
      */
47 47
     public function getName()
48 48
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return mixed
53
+     * @return string
54 54
      */
55 55
     public function getArgs()
56 56
     {
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
         return $command;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $command
81
+     */
79 82
     protected function getArgsFromText($command, $text)
80 83
     {
81 84
         $length = strlen(static::PREFIX . $command);
Please login to merge, or discard this 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 Command extends AbstractEntity
6 6
 {
7
-    const ENTITY_TYPE             = 'Command';
7
+    const ENTITY_TYPE = 'Command';
8 8
 
9 9
     const PREFIX          = '/';
10 10
 
Please login to merge, or discard this patch.
hook.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * An example of how to run Teebot in webhook mode.
4
- *
5
- * @author Stan Drozdov <[email protected]>
6
- */
3
+     * An example of how to run Teebot in webhook mode.
4
+     *
5
+     * @author Stan Drozdov <[email protected]>
6
+     */
7 7
 define('ROOT_DIR', realpath(__DIR__));
8 8
 require_once ROOT_DIR . '/vendor/autoload.php';
9 9
 
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
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     {
135 135
         foreach ($this->supportedProperties as $propertyName => $isRequired) {
136 136
             if ($isRequired === true && empty($properties[$propertyName])) {
137
-                throw new Critical('Required property "'.$propertyName.'" is not set!');
137
+                throw new Critical('Required property "' . $propertyName . '" is not set!');
138 138
             }
139 139
         }
140 140
     }
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
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             echo sprintf(
41 41
                 $pattern,
42 42
                 $e->getMessage()
43
-            ). "\n";
43
+            ) . "\n";
44 44
         }
45 45
 
46 46
         if ($e instanceof Fatal) {
Please login to merge, or discard this patch.
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 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 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.
run.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Teebot console listener. Through this script Teebot will be started as demon and will continuously
4
- * request an updates from Telegram's servers.
5
- *
6
- * @author Stan Drozdov <[email protected]>
7
- */
3
+     * Teebot console listener. Through this script Teebot will be started as demon and will continuously
4
+     * request an updates from Telegram's servers.
5
+     *
6
+     * @author Stan Drozdov <[email protected]>
7
+     */
8 8
 
9 9
 define('ROOT_DIR', realpath(__DIR__));
10 10
 require_once ROOT_DIR . '/vendor/autoload.php';
Please login to merge, or discard this patch.