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
Pull Request — master (#2)
by
unknown
06:46
created
lib/UCD/Unicode/Character/Collection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function getCharacters()
40 40
     {
41
-        return $this->filterWith(function (CodepointAssigned $assigned) {
41
+        return $this->filterWith(function(CodepointAssigned $assigned) {
42 42
             return $assigned instanceof Character;
43 43
         });
44 44
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function getNonCharacters()
50 50
     {
51
-        return $this->filterWith(function (CodepointAssigned $assigned) {
51
+        return $this->filterWith(function(CodepointAssigned $assigned) {
52 52
             return $assigned instanceof NonCharacter;
53 53
         });
54 54
     }
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     public function getSurrogates()
60 60
     {
61
-        return $this->filterWith(function (CodepointAssigned $assigned) {
61
+        return $this->filterWith(function(CodepointAssigned $assigned) {
62 62
             return $assigned instanceof Surrogate;
63 63
         });
64 64
     }
Please login to merge, or discard this patch.
Repository/CharacterRepository/FileRepository/File/PHPFile.php 3 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return mixed
43
+     * @return string
44 44
      */
45 45
     private function readFile()
46 46
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     }
82 82
 
83 83
     /**
84
-     * @param array $items
84
+     * @param string[] $items
85 85
      * @return string
86 86
      */
87 87
     private function generateFileContentForArray(array $items)
@@ -110,7 +110,6 @@  discard block
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-     * @param array $items
114 113
      * @return boolean
115 114
      */
116 115
     private function isZippedFile()
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use PhpParser\Node\Scalar\String_;
9 9
 use PhpParser\Node\Stmt\Return_;
10 10
 use PhpParser\PrettyPrinter\Standard;
11
-
12 11
 use UCD\Exception\UnexpectedValueException;
13 12
 use UCD\Infrastructure\Repository\CharacterRepository\FileRepository\File;
14 13
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     {
47 47
         $pathname = $this->fileInfo->getPathname();
48 48
 
49
-        return require $this->isZippedFile() ? 'compress.zlib://' . $pathname : $pathname;
49
+        return require $this->isZippedFile() ? 'compress.zlib://'.$pathname : $pathname;
50 50
     }
51 51
 
52 52
     /**
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $content = $this->generateFileContentForArray($items);
73 73
 
74 74
         $fileInfo = $this->isZippedFile()
75
-            ? new \SplFileInfo('compress.zlib://' . $this->fileInfo->getPathname())
75
+            ? new \SplFileInfo('compress.zlib://'.$this->fileInfo->getPathname())
76 76
             : $this->fileInfo;
77 77
         $file = $fileInfo->openFile('w');
78 78
         $file->fwrite($content);
Please login to merge, or discard this patch.