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 (#1)
by
unknown
03:47
created
src/Naneau/FileGen/AccessRights.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param  string $name
37 37
      * @param  int    $mode mode in octal (0XXX)
38
-     * @return void
38
+     * @return Node
39 39
      **/
40 40
     public function __construct($name, $mode = null)
41 41
     {
Please login to merge, or discard this patch.
src/Naneau/FileGen/Console/Helper/ParameterHelper.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,9 @@
 block discarded – undo
11 11
 
12 12
 use Naneau\FileGen\Structure;
13 13
 use Naneau\FileGen\Parameter\Parameter;
14
-
15 14
 use Symfony\Component\Console\Helper\HelperInterface;
16 15
 use Symfony\Component\Console\Helper\HelperSet;
17 16
 use Symfony\Component\Console\Helper\QuestionHelper;
18
-
19 17
 use Symfony\Component\Console\Input\InputInterface;
20 18
 use Symfony\Component\Console\Output\OutputInterface;
21 19
 use Symfony\Component\Console\Question\Question;
Please login to merge, or discard this patch.
src/Naneau/FileGen/File.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @param  string                  $name
43 43
      * @param  ContentGenerator|string $contents
44 44
      * @param  int                     $mode     mode in octal 0XXX
45
-     * @return void
45
+     * @return Node
46 46
      **/
47 47
     public function __construct($name, $contents = '', $mode = null)
48 48
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,7 @@
 block discarded – undo
10 10
 namespace Naneau\FileGen;
11 11
 
12 12
 use Naneau\FileGen\Parameterized;
13
-
14 13
 use Naneau\FileGen\AccessRights;
15
-
16 14
 use Naneau\FileGen\File\Contents as ContentGenerator;
17 15
 use Naneau\FileGen\File\Contents\StringBased as StringContents;
18 16
 
Please login to merge, or discard this patch.
src/Naneau/FileGen/File/Contents/StringBased.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     /**
54 54
      * Set the contents of the file
55 55
      *
56
-     * @param  ContentGenerator|string $contents
56
+     * @param  string $contents
57 57
      * @return self
58 58
      */
59 59
     public function setContents($contents)
Please login to merge, or discard this patch.
src/Naneau/FileGen/Generator.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,6 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Generate a Structure on disk
75 75
      *
76
-     * @param  Structure $directory
77 76
      * @return bool
78 77
      **/
79 78
     public function generate(Structure $structure)
@@ -158,7 +157,7 @@  discard block
 block discarded – undo
158 157
      * Create a node
159 158
      *
160 159
      * @param  Node $node
161
-     * @return bool
160
+     * @return Generator
162 161
      **/
163 162
     private function createNode(Node $node)
164 163
     {
@@ -185,7 +184,7 @@  discard block
 block discarded – undo
185 184
      * Create a file
186 185
      *
187 186
      * @param  File $file
188
-     * @return bool
187
+     * @return Generator
189 188
      **/
190 189
     private function createFile(File $file)
191 190
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,14 +10,11 @@
 block discarded – undo
10 10
 namespace Naneau\FileGen;
11 11
 
12 12
 use Naneau\FileGen\Parameterized;
13
-
14 13
 use Naneau\FileGen\Directory;
15 14
 use Naneau\FileGen\File;
16 15
 use Naneau\FileGen\SymLink;
17
-
18 16
 use Naneau\FileGen\Generator\Exception as GeneratorException;
19 17
 use Naneau\FileGen\Generator\Exception\NodeExists as NodeExistsException;
20
-
21 18
 use Symfony\Component\Filesystem\Filesystem;
22 19
 use Symfony\Component\Filesystem\Exception\IOException as FilesystemIOException;
23 20
 
Please login to merge, or discard this patch.
src/Naneau/FileGen/Parameter/Parameter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     /**
130 130
      * Set the default value
131 131
      *
132
-     * @param  mixed     $defaultValue
132
+     * @param  string|null     $defaultValue
133 133
      * @return Parameter
134 134
      */
135 135
     public function setDefaultValue($defaultValue)
Please login to merge, or discard this patch.
src/Naneau/FileGen/Structure.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Constructor
40 40
      *
41
-     * @return void
41
+     * @return Structure
42 42
      **/
43 43
     public function __construct()
44 44
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * Create (and add) a parent directory for a path
147 147
      *
148 148
      * @param  string $name
149
-     * @return void
149
+     * @return Directory
150 150
      **/
151 151
     private function parentDirectory($name)
152 152
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@
 block discarded – undo
12 12
 use Naneau\FileGen\Directory;
13 13
 use Naneau\FileGen\File;
14 14
 use Naneau\FileGen\SymLink;
15
-
16 15
 use Naneau\FileGen\Parameter\Set as ParameterSet;
17
-
18 16
 use Naneau\FileGen\Structure\Exception as StructureException;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
src/Naneau/FileGen/SymLink.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @param  string $from endpoint (what the link points to)
36 36
      * @param  string $to   used as $name for Node
37
-     * @return void
37
+     * @return Node
38 38
      **/
39 39
     public function __construct($from, $to)
40 40
     {
Please login to merge, or discard this patch.
tests/Naneau/FileGen/Test/Console/ParameterCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace Naneau\FileGen\Test\Console;
11 11
 
12 12
 use Naneau\FileGen\Structure;
13
-
14 13
 use Symfony\Component\Console\Command\Command;
15 14
 use Symfony\Component\Console\Input\InputInterface;
16 15
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.