Completed
Push — master ( 279d2c...857202 )
by Harry
03:11
created
tests/src/FileTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /**
42 42
      * Delete the folder and all files/folders within it
43 43
      *
44
-     * @param $path
44
+     * @param string $path
45 45
      *
46 46
      * @return bool
47 47
      */
Please login to merge, or discard this patch.
tests/integration/Modify/HeadTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /**
42 42
      * Delete the folder and all files/folders within it
43 43
      *
44
-     * @param $path
44
+     * @param string $path
45 45
      *
46 46
      * @return bool
47 47
      */
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     {
209 209
         $file = m::mock(FileNodeInterface::class);
210 210
         $file->shouldReceive('__toString')
211
-             ->andReturn('some/file/here');
211
+                ->andReturn('some/file/here');
212 212
 
213 213
         $this->expectException(InvalidArgumentException::class);
214 214
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         $process = m::mock(Process::class)->makePartial();
221 221
         $process->shouldReceive('isSuccessful')->andReturn(false);
222 222
         $this->processFactory->shouldReceive('createProcess')
223
-                             ->andReturn($process);
223
+                                ->andReturn($process);
224 224
 
225 225
         $file = new LocalFile(static::$dir . 'failed_tail.test');
226 226
         $file->put('nothing interesting here');
Please login to merge, or discard this patch.
tests/integration/Modify/TailTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     /**
42 42
      * Delete the folder and all files/folders within it
43 43
      *
44
-     * @param $path
44
+     * @param string $path
45 45
      *
46 46
      * @return bool
47 47
      */
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     {
209 209
         $file = m::mock(FileNodeInterface::class);
210 210
         $file->shouldReceive('__toString')
211
-             ->andReturn('some/file/here');
211
+                ->andReturn('some/file/here');
212 212
 
213 213
         $this->expectException(InvalidArgumentException::class);
214 214
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
         $process = m::mock(Process::class)->makePartial();
221 221
         $process->shouldReceive('isSuccessful')->andReturn(false);
222 222
         $this->processFactory->shouldReceive('createProcess')
223
-                             ->andReturn($process);
223
+                                ->andReturn($process);
224 224
 
225 225
         $file = new LocalFile(static::$dir . 'failed_tail.test');
226 226
         $file->put('nothing interesting here');
Please login to merge, or discard this patch.
src/Helper/Process/ProcessTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *                                    process
44 44
      * @param array|null     $env         The environment variables or null to inherit
45 45
      * @param string|null    $input       The input
46
-     * @param int|float|null $timeout     The timeout in seconds or null to disable
46
+     * @param integer $timeout     The timeout in seconds or null to disable
47 47
      * @param array          $options     An array of options for proc_open
48 48
      *
49 49
      * @return Process
Please login to merge, or discard this patch.
src/Modify/Compress/CompressionType.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     const UNKNOWN = 'unknown';
11 11
 
12 12
     /**
13
-     * @return array
13
+     * @return string[]
14 14
      */
15 15
     public static function getCompressionTypes()
16 16
     {
Please login to merge, or discard this patch.
src/Node/FileNodeInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     }
21 21
 
22 22
     /**
23
-     * @return mixed
23
+     * @return string
24 24
      */
25 25
     public function getDirectory()
26 26
     {
Please login to merge, or discard this patch.
src/Modify/Compress/AbstractCompressor.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@  discard block
 block discarded – undo
40 40
         }
41 41
 
42 42
         $outputFile = $node->getClone()
43
-                           ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.' . $this->getExtension())
44
-                           ->setCompression($this->getCompression());
43
+                            ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.' . $this->getExtension())
44
+                            ->setCompression($this->getCompression());
45 45
 
46 46
         $this->log(LogLevel::INFO, "Compressing file: {file} into {target} using {compression}", [
47 47
             'file'        => $node,
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
         }
77 77
 
78 78
         $outputFile = $node->getClone()
79
-                           ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename'])
80
-                           ->setCompression(CompressionType::NONE);
79
+                            ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename'])
80
+                            ->setCompression(CompressionType::NONE);
81 81
 
82 82
         $this->log(LogLevel::INFO, "DeCompressing file: {file} into {target} using {compression}", [
83 83
             'file'        => $node,
Please login to merge, or discard this patch.
src/Modify/ConvertEncoding.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@
 block discarded – undo
51 51
         );
52 52
 
53 53
         $output = $file->getClone()
54
-                       ->setPath($pathInfo['dirname'] . '/' . $outputFileName)
55
-                       ->setEncoding($encoding);
54
+                        ->setPath($pathInfo['dirname'] . '/' . $outputFileName)
55
+                        ->setEncoding($encoding);
56 56
 
57 57
         $cmd = "iconv " .
58 58
             ($file->getEncoding() ? "--from-code={$file->getEncoding()} " : '') .
Please login to merge, or discard this patch.
src/Modify/Tail.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
         $outputFilePath = $pathInfo['dirname'] . '/' . $outputFileName;
89 89
 
90 90
         $output = $file->getClone()
91
-                       ->setPath($outputFilePath);
91
+                        ->setPath($outputFilePath);
92 92
 
93 93
         $this->log(LogLevel::INFO, "Retrieving the last {lines} from file {file}", [
94 94
             'lines' => $this->lines,
Please login to merge, or discard this patch.