Completed
Pull Request — master (#1)
by Harry
03:34
created
tests/src/TestCase.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\Test;
15 15
 
Please login to merge, or discard this patch.
tests/unit/Format/CsvFormatTest.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\Test\Unit\Format;
15 15
 
Please login to merge, or discard this patch.
tests/unit/Format/FormatAwareTraitTest.php 1 patch
Indentation   +11 added lines, -11 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\Unit\Format;
15 15
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         $this->formatAware->setFormat($format);
44 44
 
45 45
         $format->shouldReceive('getType')
46
-               ->andReturn('test_format');
46
+                ->andReturn('test_format');
47 47
 
48 48
         static::assertEquals('test_format', $this->formatAware->getFormatType());
49 49
     }
Please login to merge, or discard this patch.
tests/unit/Helper/GetOptionTraitTest.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\Test\Unit\Helper;
15 15
 
Please login to merge, or discard this patch.
tests/unit/Helper/OptionalLoggerTraitTest.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\Unit\Helper;
15 15
 
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
         $this->logger->setLogger($logger);
43 43
 
44 44
         $logger->shouldReceive('log')
45
-               ->with(LogLevel::INFO, 'Graze\DataFile\Test\Helper\FakeOptionalLogger: some text', [])
46
-               ->once();
45
+                ->with(LogLevel::INFO, 'Graze\DataFile\Test\Helper\FakeOptionalLogger: some text', [])
46
+                ->once();
47 47
 
48 48
         $this->logger->doLog('some text');
49 49
     }
Please login to merge, or discard this patch.
tests/unit/Modify/Compress/CompressionFactoryTest.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\Test\Unit\Modify\Compress;
15 15
 
Please login to merge, or discard this patch.
tests/unit/Modify/MakeDirectoryTest.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\Unit\Modify;
15 15
 
@@ -28,8 +28,8 @@  discard block
 block discarded – undo
28 28
         $directory = new FileNode($fileSystem, 'random/path');
29 29
 
30 30
         $fileSystem->shouldReceive('createDir')
31
-                   ->with($directory->getDirectory(), ['visibility' => 'public'])
32
-                   ->andReturn(false);
31
+                    ->with($directory->getDirectory(), ['visibility' => 'public'])
32
+                    ->andReturn(false);
33 33
         $this->expectException(MakedirectoryFailedException::class);
34 34
 
35 35
         $maker = new MakeDirectory();
Please login to merge, or discard this patch.
tests/unit/Node/FileNodeCollectionTest.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\Test\Unit\Node;
15 15
 
Please login to merge, or discard this patch.
tests/unit/Node/FileNodeTest.php 1 patch
Indentation   +14 added lines, -14 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\Node;
15 15
 
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
         $file = new FileNode($fileSystem, 'not/exists');
28 28
 
29 29
         $fileSystem->shouldReceive('has')
30
-                   ->with('not/exists')
31
-                   ->andReturn(false);
30
+                    ->with('not/exists')
31
+                    ->andReturn(false);
32 32
 
33 33
         static::assertEquals([], $file->getContents());
34 34
     }
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
         $newPath = new FileNode($fileSystem, 'some/target');
42 42
 
43 43
         $fileSystem->shouldReceive('copy')
44
-                   ->with($localFile->getPath(), $newPath->getPath())
45
-                   ->andReturn(false);
44
+                    ->with($localFile->getPath(), $newPath->getPath())
45
+                    ->andReturn(false);
46 46
 
47 47
         $this->expectException(CopyFailedException::class);
48 48
 
Please login to merge, or discard this patch.