Passed
Push — master ( dfa54b...1ac8b7 )
by Yo!
05:57 queued 02:43
created
src/Scaffolding/Generator.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Set a string or array of directories.
32 32
      *
33
-     * @param array $value
33
+     * @param string $value
34 34
      */
35 35
     public function setSkeletonDirs($value)
36 36
     {
@@ -57,6 +57,10 @@  discard block
 block discarded – undo
57 57
         return new \Twig_Environment($loader, $options);
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $template
62
+     * @param string $target
63
+     */
60 64
     protected function renderFile($template, $target, $model)
61 65
     {
62 66
         if (!is_dir(dirname($target))) {
Please login to merge, or discard this patch.
src/Scaffolding/PluginGenerator.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,6 @@
 block discarded – undo
113 113
     /**
114 114
      * Sets the license of the plugin. MIT by default.
115 115
      *
116
-     * @param string $value
117 116
      */
118 117
     public function setLicense($name)
119 118
     {
Please login to merge, or discard this patch.
src/Core/DataSource/Filesystem/FilesystemDataSource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -263,6 +263,9 @@
 block discarded – undo
263 263
         ]));
264 264
     }
265 265
 
266
+    /**
267
+     * @param string $path
268
+     */
266 269
     private function createItem($path, $attributes = [], $binary = false)
267 270
     {
268 271
         $item = new Item('', $path, $attributes, $binary);
Please login to merge, or discard this patch.
src/HttpServer/ServerRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * Constructor.
29 29
      * 
30
-     * @param Symfony\Component\HttpFoundation\Request $request
30
+     * @param Request $request
31 31
      * @param string                                   $documentroot
32 32
      */
33 33
     public function __construct(Request $request, $documentroot)
Please login to merge, or discard this patch.
src/HttpServer/HttpServer.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@  discard block
 block discarded – undo
36 36
      * Constructor.
37 37
      *
38 38
      * @param IOInterface $io
39
-     * @param TwigFactory $twigFactory
40 39
      * @param string      $serverroot
41 40
      * @param string      $documentroot
42 41
      * @param int         $port
@@ -160,6 +159,11 @@  discard block
 block discarded – undo
160 159
         return $finalResponse;
161 160
     }
162 161
 
162
+    /**
163
+     * @param string $ip
164
+     * @param string $path
165
+     * @param integer $statusCode
166
+     */
163 167
     private function logRequest($ip, $path, $statusCode)
164 168
     {
165 169
         $date = new \Datetime();
@@ -176,6 +180,9 @@  discard block
 block discarded – undo
176 180
         $this->io->write($data);
177 181
     }
178 182
 
183
+    /**
184
+     * @param string $templateDir
185
+     */
179 186
     private function buildTwig($templateDir)
180 187
     {
181 188
         $options = [
@@ -189,6 +196,10 @@  discard block
 block discarded – undo
189 196
         $this->twig = new \Twig_Environment($loader, $options);
190 197
     }
191 198
 
199
+    /**
200
+     * @param integer $statusCode
201
+     * @param string $data
202
+     */
192 203
     private function getErrorModel($statusCode, $data)
193 204
     {
194 205
         switch ($statusCode) {
Please login to merge, or discard this patch.
src/Core/ContentManager/ContentManager.php 1 patch
Doc Comments   +15 added lines, -9 removed lines patch added patch discarded remove patch
@@ -65,15 +65,15 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Constructor.
67 67
      *
68
-     * @param Yosymfony\Spress\Core\DataSource\DataSourceManager                         $dataSourceManager
69
-     * @param Yosymfony\Spress\Core\DataWriter\DataWriterInterface                       $dataWriter
70
-     * @param Yosymfony\Spress\Core\ContentManager\Converter\ConverterManager            $converterManager
71
-     * @param Yosymfony\Spress\Core\ContentManager\Collection\CollectionManager          $CollectionManager
72
-     * @param Yosymfony\Spress\Core\ContentManager\Permalink\PermalinkGeneratorInterface $permalinkGenerator
73
-     * @param Yosymfony\Spress\Core\ContentManager\Renderizer\RenderizerInterface        $renderizer
74
-     * @param Yosymfony\Spress\Core\ContentManager\SiteAttribute\SiteAttributeInterface  $siteAttribute
75
-     * @param Yosymfony\Spress\Core\Plugin\PluginManager                                 $pluginManager
76
-     * @param Symfony\Component\EventDispatcher\EventDispatcher                          $eventDispatcher
68
+     * @param DataSourceManager                         $dataSourceManager
69
+     * @param DataWriterInterface                       $dataWriter
70
+     * @param ConverterManager            $converterManager
71
+     * @param CollectionManager          $CollectionManager
72
+     * @param PermalinkGeneratorInterface $permalinkGenerator
73
+     * @param RenderizerInterface        $renderizer
74
+     * @param SiteAttributeInterface  $siteAttribute
75
+     * @param PluginManager                                 $pluginManager
76
+     * @param EventDispatcher                          $eventDispatcher
77 77
      */
78 78
     public function __construct(
79 79
         DataSourceManager $dataSourceManager,
@@ -428,6 +428,9 @@  discard block
 block discarded – undo
428 428
         return $result;
429 429
     }
430 430
 
431
+    /**
432
+     * @param string $timezone
433
+     */
431 434
     private function configureTimezone($timezone)
432 435
     {
433 436
         if (is_string($timezone) === false) {
@@ -475,6 +478,9 @@  discard block
 block discarded – undo
475 478
         return $attributes['avoid_renderizer'];
476 479
     }
477 480
 
481
+    /**
482
+     * @param string $key
483
+     */
478 484
     private function escapeDot($key)
479 485
     {
480 486
         return str_replace('.', '[.]', $key);
Please login to merge, or discard this patch.
src/Core/DataWriter/FilesystemDataWriter.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Constructor.
34 34
      *
35
-     * @param Symfony\Component\Filesystem\Filesystem $filesystem
35
+     * @param Filesystem $filesystem
36 36
      * @param string                                  $outputDir  The output folder. e.g: "build".
37 37
      */
38 38
     public function __construct(Filesystem $filesystem, $outputDir)
@@ -97,6 +97,9 @@  discard block
 block discarded – undo
97 97
     {
98 98
     }
99 99
 
100
+    /**
101
+     * @param string $relativePath
102
+     */
100 103
     protected function composeOutputPath($relativePath)
101 104
     {
102 105
         $path = $this->outputDir.'/'.$relativePath;
Please login to merge, or discard this patch.
src/Command/SiteBuildCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@
 block discarded – undo
304 304
     /**
305 305
      * Write the result of rebuilding a site.
306 306
      * 
307
-     * @param Yosymfony\Spress\IO\ConsoleIO $io
307
+     * @param ConsoleIO $io
308 308
      * @param array                         $newResources
309 309
      * @param array                         $updatedResources
310 310
      * @param array                         $deletedResources
Please login to merge, or discard this patch.
src/IO/ConsoleIO.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Constructor.
32 32
      *
33
-     * @param Symfony\Component\Console\Input\InputInterface   $input  Input operations.
34
-     * @param Symfony\Component\Console\Output\OutputInterface $output Ouputs operations.
33
+     * @param InputInterface   $input  Input operations.
34
+     * @param OutputInterface $output Ouputs operations.
35 35
      */
36 36
     public function __construct(InputInterface $input, OutputInterface $output)
37 37
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * Formats a success result bar.
146 146
      *
147
-     * @param string|array $message
147
+     * @param string $message
148 148
      */
149 149
     public function success($message)
150 150
     {
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     /**
165 165
      * Formats an warning result bar.
166 166
      *
167
-     * @param string|array $message
167
+     * @param string $message
168 168
      */
169 169
     public function warning($message)
170 170
     {
Please login to merge, or discard this patch.