Completed
Pull Request — master (#140)
by Michael Ryan
03:19
created
src/Base/Abstracts/Package/Build.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
         ];
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $hint
73
+     */
71 74
     public function getLog($hint = null)
72 75
     {
73 76
         $ret = array();
@@ -99,6 +102,9 @@  discard block
 block discarded – undo
99 102
         }
100 103
     }
101 104
 
105
+    /**
106
+     * @return string
107
+     */
102 108
     protected function getLogFilename($path, $log_item, $def_fl, array &$logs)
103 109
     {
104 110
         $is_hint = (isset($log_item['hint']) && !empty($log_item['hint']));
@@ -197,6 +203,9 @@  discard block
 block discarded – undo
197 203
         return (0 === $exitCode);
198 204
     }
199 205
 
206
+    /**
207
+     * @param string $configureOptions
208
+     */
200 209
     protected function appendPkgConfigureOptions(&$configureOptions)
201 210
     {
202 211
         $opt = $this->pkg->getConfigureOptions();
Please login to merge, or discard this patch.
src/Package/HHVM/Util/Cmake/Parser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         $this->loader = $loader;
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $path
52
+     */
50 53
     public function load($path)
51 54
     {
52 55
         if (false === is_file($path)) {
@@ -68,6 +71,9 @@  discard block
 block discarded – undo
68 71
         return $this->loader->load($package);
69 72
     }
70 73
 
74
+    /**
75
+     * @param string $cont
76
+     */
71 77
     public function getExtName($cont)
72 78
     {
73 79
         $ret = null;
Please login to merge, or discard this patch.
src/Package/PHP/Util/XML/Loader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * @param string $path
54 54
      *
55
-     * @return Pickle\Base\Interfaces\Package
55
+     * @return \Composer\Package\PackageInterface
56 56
      */
57 57
     public function load($path)
58 58
     {
Please login to merge, or discard this patch.
src/Package/Util/Loader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -143,6 +143,9 @@
 block discarded – undo
143 143
         }
144 144
     }
145 145
 
146
+    /**
147
+     * @param string $key
148
+     */
146 149
     protected function isValid($config, $key, $type = 'any')
147 150
     {
148 151
         switch ($type) {
Please login to merge, or discard this patch.
src/Console/Command/SelfUpdateCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\Console\Input\InputOption;
8 8
 use Symfony\Component\Console\Output\OutputInterface;
9 9
 use Humbug\SelfUpdate\Updater;
10
-use Humbug\SelfUpdate\Exception;
11 10
 
12 11
 class SelfUpdateCommand extends Command
13 12
 {
Please login to merge, or discard this patch.
src/Console/Command/InstallerCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -37,13 +37,11 @@
 block discarded – undo
37 37
 namespace Pickle\Console\Command;
38 38
 
39 39
 use Symfony\Component\Console\Command\Command;
40
-use Symfony\Component\Console\Input\InputArgument;
41 40
 use Symfony\Component\Console\Input\InputInterface;
42 41
 use Symfony\Component\Console\Input\InputOption;
43 42
 use Symfony\Component\Console\Output\OutputInterface;
44 43
 use Symfony\Component\Console\Question\ConfirmationQuestion;
45 44
 use Symfony\Component\Console\Question\ChoiceQuestion;
46
-use Symfony\Component\Console\Question\Question;
47 45
 use Symfony\Component\Console\Helper\Table;
48 46
 use Pickle\Base\Interfaces\Package;
49 47
 use Pickle\Base\Abstracts\Console\Command\BuildCommand;
Please login to merge, or discard this patch.
src/Package/PHP/Command/Release.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
     }
79 79
 
80 80
     /**
81
-     * @param $path
82
-     * @return null|Package\Util\JSON\Pickle\Base\Interfaces\Package
81
+     * @param string $path
82
+     * @return \Composer\Package\PackageInterface
83 83
      * @throws \Exception
84 84
      */
85 85
     protected function readPackage($path)
Please login to merge, or discard this patch.
src/Package/PHP/Command/Release/Windows/Binary.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,8 @@
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-     * @param $path
119
-     * @return null|Package\Util\JSON\Pickle\Base\Interfaces\Package
118
+     * @param string $path
119
+     * @return \Composer\Package\PackageInterface
120 120
      * @throws \Exception
121 121
      */
122 122
     protected function readPackage($path)
Please login to merge, or discard this patch.
src/Package/PHP/Package.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
     }
295 295
 
296 296
     /**
297
-     * @return array
297
+     * @return string[]
298 298
      * @throws \Exception
299 299
      */
300 300
     public function getVersionFromHeader()
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
     }
324 324
 
325 325
     /**
326
-     * @param $path
326
+     * @param string $path
327 327
      * @return bool
328 328
      */
329 329
     protected function extConfigIsIn($path)
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
     }
339 339
 
340 340
     /**
341
-     * @param $path
341
+     * @param string $path
342 342
      */
343 343
     protected function locateSourceDirByExtConfig($path)
344 344
     {
Please login to merge, or discard this patch.