Completed
Pull Request — master (#104)
by Thibaud
03:23
created
src/Adapter/AbstractBinaryAdapter.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
      * @param ParserInterface $parser An output parser
54 54
      * @param ResourceManager $manager A resource manager
55 55
      * @param ProcessBuilderFactoryInterface $inflator A process builder factory for the inflator binary
56
-     * @param ProcessBuilderFactoryInterface|null $deflator A process builder factory for the deflator binary
56
+     * @param ProcessBuilderFactoryInterface $deflator A process builder factory for the deflator binary
57 57
      */
58 58
     public function __construct(
59 59
         ParserInterface $parser,
Please login to merge, or discard this patch.
src/Adapter/AbstractTarAdapter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -345,6 +345,9 @@
 block discarded – undo
345 345
         return new \SplFileInfo($to ? : $resource->getResource());
346 346
     }
347 347
 
348
+    /**
349
+     * @param string $to
350
+     */
348 351
     protected function doTarExtractMembers($options, ResourceInterface $resource, $members, $to = null, $overwrite = false)
349 352
     {
350 353
         if (null !== $to && !is_dir($to)) {
Please login to merge, or discard this patch.
src/Adapter/ZipExtensionAdapter.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -301,6 +301,7 @@  discard block
 block discarded – undo
301 301
 
302 302
     /**
303 303
      * @info is public for PHP 5.3 compatibility, should be private
304
+     * @param string $file
304 305
      */
305 306
     public function checkReadability(\ZipArchive $zip, $file)
306 307
     {
@@ -314,6 +315,7 @@  discard block
 block discarded – undo
314 315
 
315 316
     /**
316 317
      * @info is public for PHP 5.3 compatibility, should be private
318
+     * @param string $file
317 319
      */
318 320
     public function addFileToZip(\ZipArchive $zip, $file)
319 321
     {
Please login to merge, or discard this patch.
src/Parser/ParserFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Maps the corresponding parser to the selected adapter
31 31
      *
32
-     * @param   $adapterName An adapter name
32
+     * @param   string $adapterName An adapter name
33 33
      *
34 34
      * @return ParserInterface
35 35
      *
Please login to merge, or discard this patch.
src/Archive/Archive.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,12 +117,12 @@
 block discarded – undo
117 117
     /**
118 118
      * @inheritdoc
119 119
      */
120
-     public function extract($toDirectory)
121
-     {
120
+        public function extract($toDirectory)
121
+        {
122 122
         $this->adapter->extract($this->resource, $toDirectory);
123 123
 
124 124
         return $this;
125
-     }
125
+        }
126 126
 
127 127
     /**
128 128
      * @inheritdoc
Please login to merge, or discard this patch.
src/Parser/BSDTarOutputParser.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
                 throw new RuntimeException(sprintf('Failed to parse mtime date from %s', $line));
79 79
             }
80 80
 
81
-             $members[] = array(
81
+                $members[] = array(
82 82
                 'location'  => $chunks[7],
83 83
                 'size'      => $chunks[5],
84 84
                 'mtime'     => $date,
Please login to merge, or discard this patch.
src/Parser/ZipOutputParser.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@
 block discarded – undo
71 71
         return $members;
72 72
     }
73 73
 
74
-      /**
75
-     * @inheritdoc
76
-     */
74
+        /**
75
+         * @inheritdoc
76
+         */
77 77
     public function parseInflatorVersion($output)
78 78
     {
79 79
         $lines = array_values(array_filter(explode("\n", $output, 3)));
Please login to merge, or discard this patch.
src/ProcessBuilder/ProcessBuilderFactoryInterface.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
 
17 17
 interface ProcessBuilderFactoryInterface
18 18
 {
19
-     /**
20
-     * Returns a new instance of Symfony ProcessBuilder
21
-     *
22
-     * @return ProcessBuilder
23
-     *
24
-     * @throws InvalidArgumentException
25
-     */
19
+        /**
20
+         * Returns a new instance of Symfony ProcessBuilder
21
+         *
22
+         * @return ProcessBuilder
23
+         *
24
+         * @throws InvalidArgumentException
25
+         */
26 26
     public function create();
27 27
 
28 28
     /**
Please login to merge, or discard this patch.