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 — develop ( 08ab60...e9a6a6 )
by Gabriel
04:36
created
src/Session/SessionManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * Public method to return the session id
74 74
      * @todo implement a verification method ( ex: adding another validation string in the sessionID )
75
-     * @return int
75
+     * @return string
76 76
      */
77 77
     public function getId()
78 78
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     public function setRootDomain($domain)
99 99
     {
100 100
         if ($domain !== 'localhost') {
101
-            ini_set('session.cookie_domain', '.'.$domain);
101
+            ini_set('session.cookie_domain', '.' . $domain);
102 102
         }
103 103
 
104 104
         CookieJar::instance()->setDefaults(
Please login to merge, or discard this patch.
src/View/Email.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @param $body
156
+     * @param string|null $body
157 157
      * @return $this
158 158
      */
159 159
     public function setBody($body)
Please login to merge, or discard this patch.
src/Filesystem/FilesystemServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function registerNativeFilesystem()
43 43
     {
44
-        $this->getContainer()->share('files', function () {
44
+        $this->getContainer()->share('files', function() {
45 45
             return new Filesystem;
46 46
         });
47 47
     }
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
     {
56 56
         $this->registerManager();
57 57
 
58
-        $this->getContainer()->share('filesystem.disk', function () {
58
+        $this->getContainer()->share('filesystem.disk', function() {
59 59
             return app('filesystem')->disk($this->getDefaultDriver());
60 60
         });
61
-        $this->getContainer()->share('filesystem.cloud', function () {
61
+        $this->getContainer()->share('filesystem.cloud', function() {
62 62
             return app('filesystem')->disk($this->getCloudDriver());
63 63
         });
64 64
     }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function registerManager()
72 72
     {
73
-        $this->getContainer()->share('filesystem', function () {
73
+        $this->getContainer()->share('filesystem', function() {
74 74
             return new FilesystemManager($this->getContainer()->get('app'));
75 75
         });
76 76
     }
Please login to merge, or discard this patch.
src/Container/Bridges/LeagueContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $this->aliases[$alias] = $abstract;
61 61
 //        $this->abstractAliases[$abstract][] = $alias;
62 62
 
63
-        $this->share($alias, function () use ($abstract) {
63
+        $this->share($alias, function() use ($abstract) {
64 64
             return $this->get($abstract);
65 65
         });
66 66
     }
Please login to merge, or discard this patch.
src/Container/ServicesProviders/ProviderRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
     public function getProvider($provider)
133 133
     {
134 134
         $name = is_string($provider) ? $provider : get_class($provider);
135
-        return \Nip_Helper_Arrays::first($this->providers, function ($value) use ($name) {
135
+        return \Nip_Helper_Arrays::first($this->providers, function($value) use ($name) {
136 136
             return $value instanceof $name;
137 137
         });
138 138
     }
Please login to merge, or discard this patch.
src/Utility/Str.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -67,8 +67,8 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public static function endsWith($haystack, $needles)
69 69
     {
70
-        foreach ((array)$needles as $needle) {
71
-            if (substr($haystack, -strlen($needle)) === (string)$needle) {
70
+        foreach ((array) $needles as $needle) {
71
+            if (substr($haystack, -strlen($needle)) === (string) $needle) {
72 72
                 return true;
73 73
             }
74 74
         }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         // to make it convenient to check if the strings starts with the given
106 106
         // pattern such as "library/*", making any string check convenient.
107 107
         $pattern = str_replace('\*', '.*', $pattern);
108
-        return (bool)preg_match('#^' . $pattern . '\z#u', $value);
108
+        return (bool) preg_match('#^' . $pattern . '\z#u', $value);
109 109
     }
110 110
 
111 111
     /**
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     public static function contains($haystack, $needles)
217 217
     {
218
-        foreach ((array)$needles as $needle) {
218
+        foreach ((array) $needles as $needle) {
219 219
             if ($needle != '' && mb_strpos($haystack, $needle) !== false) {
220 220
                 return true;
221 221
             }
@@ -499,8 +499,8 @@  discard block
 block discarded – undo
499 499
      */
500 500
     public static function startsWith($haystack, $needles)
501 501
     {
502
-        foreach ((array)$needles as $needle) {
503
-            if ($needle != '' && substr($haystack, 0, strlen($needle)) === (string)$needle) {
502
+        foreach ((array) $needles as $needle) {
503
+            if ($needle != '' && substr($haystack, 0, strlen($needle)) === (string) $needle) {
504 504
                 return true;
505 505
             }
506 506
         }
Please login to merge, or discard this patch.
src/Utility/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public static function toAscii($str, $replace = [], $delimiter = '-')
19 19
     {
20 20
         if (!empty($replace)) {
21
-            $str = str_replace((array)$replace, ' ', $str);
21
+            $str = str_replace((array) $replace, ' ', $str);
22 22
         }
23 23
 
24 24
         $clean = iconv('UTF-8', 'ASCII//TRANSLIT', $str);
Please login to merge, or discard this patch.
src/form/Elements/Timeselect.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
             $hoursElement = $this->getForm()->getNewElement('select');
18 18
 
19 19
             $hoursElement->addOption('-', 'HH');
20
-            for ($i=0; $i<=24 ; $i++) {
21
-                $hoursElement->addOption($i, $i.'h');
20
+            for ($i = 0; $i <= 24; $i++) {
21
+                $hoursElement->addOption($i, $i . 'h');
22 22
             }
23 23
             $hoursElement->setValue('-');
24 24
 
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
             $minutesElement = $this->getForm()->getNewElement('select');
31 31
 
32 32
             $minutesElement->addOption('-', 'MM');
33
-            for ($i=0; $i<=59 ; $i++) {
34
-                $minutesElement->addOption($i, $i.'m');
33
+            for ($i = 0; $i <= 59; $i++) {
34
+                $minutesElement->addOption($i, $i . 'm');
35 35
             }
36 36
             $minutesElement->setValue('-');
37 37
 
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
             $secondsElement = $this->getForm()->getNewElement('select');
43 43
 
44 44
             $secondsElement->addOption('-', 'SS');
45
-            for ($i=0; $i<=59 ; $i++) {
46
-                $secondsElement->addOption($i, $i.'s');
45
+            for ($i = 0; $i <= 59; $i++) {
46
+                $secondsElement->addOption($i, $i . 's');
47 47
             }
48 48
             $secondsElement->setValue('-');
49 49
 
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
         $hour = intval($this->elements['hours']->getValue());
126 126
         $minutes = intval($this->elements['minutes']->getValue());
127 127
         $seconds = intval($this->elements['seconds']->getValue());
128
-        if ($hour+$minutes+$seconds > 0) {
129
-            return mktime($hour,$minutes,$seconds);
128
+        if ($hour + $minutes + $seconds > 0) {
129
+            return mktime($hour, $minutes, $seconds);
130 130
         }
131 131
         return false;
132 132
     }
Please login to merge, or discard this patch.
src/form/Elements/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $name = str_replace(']', '', $name);
18 18
             $parts = explode('[', $name);
19 19
 
20
-            if (count($parts) > 1 ) {
20
+            if (count($parts) > 1) {
21 21
                 if ($_FILES[$parts[0]]) {
22 22
                     $fileData = [];
23 23
                     foreach ($_FILES[$parts[0]] as $key=>$data) {
Please login to merge, or discard this patch.