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 ( 270292...93d70f )
by Damian
33:12
created
src/App/Manager/UploadManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             }
37 37
 
38 38
             $newFile = $this->fileUploader->upload($file, $fileCollection);
39
-            $newFiles[] = $newFile->getPath().'/'.$newFile->getFilename();
39
+            $newFiles[] = $newFile->getPath() . '/' . $newFile->getFilename();
40 40
         }
41 41
 
42 42
         return $newFiles;
Please login to merge, or discard this patch.
src/App/Manager/FileCollectionManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         $files = [];
36 36
 
37 37
         foreach ($finder as $file) {
38
-            $files[] = $fileCollection->getDirectory().$file->getRelativePathname();
38
+            $files[] = $fileCollection->getDirectory() . $file->getRelativePathname();
39 39
         }
40 40
 
41 41
         return $files;
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     private function generateName()
115 115
     {
116
-        return md5(microtime().uniqid(rand(), true).'salt');
116
+        return md5(microtime() . uniqid(rand(), true) . 'salt');
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.
src/App/Uploader/FileUploader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,14 +26,14 @@
 block discarded – undo
26 26
 
27 27
     private function generateFileName(UploadedFile $file)
28 28
     {
29
-        $baseFilename = str_replace('.'.$file->getClientOriginalExtension(), null, $file->getClientOriginalName());
29
+        $baseFilename = str_replace('.' . $file->getClientOriginalExtension(), null, $file->getClientOriginalName());
30 30
         $baseFilename = preg_replace('/[^a-zA-Z0-9_-]/', '', $baseFilename);
31 31
 
32
-        return $this->generateHash().'-'.$baseFilename.'.'.$file->guessExtension();
32
+        return $this->generateHash() . '-' . $baseFilename . '.' . $file->guessExtension();
33 33
     }
34 34
 
35 35
     private function generateHash()
36 36
     {
37
-        return substr(md5(microtime().uniqid(rand(), true).'salt'), 0, 8);
37
+        return substr(md5(microtime() . uniqid(rand(), true) . 'salt'), 0, 8);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
web/app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Symfony\Component\HttpFoundation\Request;
4 4
 
5
-require __DIR__.'/../app/MicroKernel.php';
5
+require __DIR__ . '/../app/MicroKernel.php';
6 6
 
7 7
 $kernel = new MicroKernel('prod', false);
8 8
 $request = Request::createFromGlobals();
Please login to merge, or discard this patch.
example/simpleClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,10 +18,10 @@
 block discarded – undo
18 18
 curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'POST');
19 19
 $result = curl_exec($ch);
20 20
 
21
-echo 'response: '.$result;
21
+echo 'response: ' . $result;
22 22
 echo PHP_EOL;
23 23
 
24 24
 if (curl_errno($ch)) {
25
-    echo 'Error:'.curl_error($ch);
25
+    echo 'Error:' . curl_error($ch);
26 26
 }
27 27
 curl_close($ch);
Please login to merge, or discard this patch.