Completed
Pull Request — master (#1)
by Harry
03:34
created
src/Modify/Transfer/Transfer.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Modify\Transfer;
15 15
 
Please login to merge, or discard this patch.
src/Node/FileNode.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Node;
15 15
 
Please login to merge, or discard this patch.
src/Node/FileNodeCollection.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Node;
15 15
 
Please login to merge, or discard this patch.
src/Node/FileNodeCollectionInterface.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Node;
15 15
 
Please login to merge, or discard this patch.
src/Node/FileNodeInterface.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Node;
15 15
 
Please login to merge, or discard this patch.
src/Node/LocalFileNodeInterface.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Node;
15 15
 
Please login to merge, or discard this patch.
tests/integration/Modify/Compress/FindCompressionTest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Test\Integration\Modify\Compress;
15 15
 
@@ -49,13 +49,13 @@  discard block
 block discarded – undo
49 49
         $this->processFactory = m::mock(ProcessFactory::class)->makePartial();
50 50
         $this->compressionFactory = m::mock(CompressionFactory::class);
51 51
         $this->compressionFactory->shouldReceive('isCompression')
52
-                                 ->with('gzip')
53
-                                 ->andReturn(true);
52
+                                    ->with('gzip')
53
+                                    ->andReturn(true);
54 54
         $this->compressionFactory->shouldReceive('isCompression')
55
-                                 ->with('zip')
56
-                                 ->andReturn(true);
55
+                                    ->with('zip')
56
+                                    ->andReturn(true);
57 57
         $this->compressionFactory->shouldReceive('isCompression')
58
-                                 ->andReturn(false);
58
+                                    ->andReturn(false);
59 59
         $this->findCompression = new FindCompression($this->compressionFactory);
60 60
         $this->findCompression->setProcessFactory($this->processFactory);
61 61
     }
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
                 );
111 111
 
112 112
         $this->processFactory->shouldReceive('createProcess')
113
-                             ->andReturn($process);
113
+                                ->andReturn($process);
114 114
 
115 115
         $file = new LocalFile(static::$dir . 'unknown_compression.test');
116 116
         $file->put('random stuff and things 2!');
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
         $process->shouldReceive('mustRun')->andThrow(new ProcessFailedException($process));
131 131
 
132 132
         $this->processFactory->shouldReceive('createProcess')
133
-                             ->andReturn($process);
133
+                                ->andReturn($process);
134 134
 
135 135
         $file = new LocalFile(static::$dir . 'failed_find_encoding_process.test');
136 136
         $file->put('random stuff and things 2!');
Please login to merge, or discard this patch.
tests/integration/Modify/Compress/GzipTest.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Test\Integration\Modify\Compress;
15 15
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         $process = m::mock(Process::class)->makePartial();
106 106
         $processFactory = m::mock(ProcessFactory::class);
107 107
         $processFactory->shouldReceive('createProcess')
108
-                       ->andReturn($process);
108
+                        ->andReturn($process);
109 109
         $this->gzip->setProcessFactory($processFactory);
110 110
         $process->shouldReceive('run')->once();
111 111
         $process->shouldReceive('isSuccessful')->once()->andReturn(false);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         $process = m::mock(Process::class)->makePartial();
130 130
         $processFactory = m::mock(ProcessFactory::class);
131 131
         $processFactory->shouldReceive('createProcess')
132
-                       ->andReturn($process);
132
+                        ->andReturn($process);
133 133
         $this->gzip->setProcessFactory($processFactory);
134 134
         $process->shouldReceive('run')->once();
135 135
         $process->shouldReceive('isSuccessful')->once()->andReturn(false);
Please login to merge, or discard this patch.
tests/integration/Modify/Compress/ZipTest.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of graze/data-file
4
- *
5
- * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
- *
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
- *
10
- * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
- * @link    https://github.com/graze/data-file
12
- */
3
+     * This file is part of graze/data-file
4
+     *
5
+     * Copyright (c) 2016 Nature Delivered Ltd. <https://www.graze.com>
6
+     *
7
+     * For the full copyright and license information, please view the LICENSE
8
+     * file that was distributed with this source code.
9
+     *
10
+     * @license https://github.com/graze/data-file/blob/master/LICENSE.md
11
+     * @link    https://github.com/graze/data-file
12
+     */
13 13
 
14 14
 namespace Graze\DataFile\Test\Integration\Modify\Compress;
15 15
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     {
115 115
         $process = m::mock(Process::class)->makePartial();
116 116
         $this->processFactory->shouldReceive('createProcess')
117
-                             ->andReturn($process);
117
+                                ->andReturn($process);
118 118
         $process->shouldReceive('run')->once();
119 119
         $process->shouldReceive('isSuccessful')->once()->andReturn(false);
120 120
         $process->shouldReceive('getCommandLine')->andReturn('');
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     {
137 137
         $process = m::mock(Process::class)->makePartial();
138 138
         $this->processFactory->shouldReceive('createProcess')
139
-                             ->andReturn($process);
139
+                                ->andReturn($process);
140 140
         $process->shouldReceive('run')->once();
141 141
         $process->shouldReceive('isSuccessful')->once()->andReturn(false);
142 142
         $process->shouldReceive('getCommandLine')->andReturn('');
Please login to merge, or discard this patch.