@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Graze\DataFile\Modify\Compress\CompressionType; |
6 | 6 | use League\Flysystem\Adapter\Local; |
7 | -use League\Flysystem\Filesystem; |
|
8 | 7 | |
9 | 8 | class LocalFile extends FileNode implements LocalFileNodeInterface |
10 | 9 | { |
@@ -1,15 +1,15 @@ |
||
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 |
@@ -24,9 +24,9 @@ discard block |
||
24 | 24 | { |
25 | 25 | $file = m::mock(FileNode::class); |
26 | 26 | $file->shouldReceive('getMetadata') |
27 | - ->andReturn([ |
|
28 | - 'name' => 'test', |
|
29 | - ]); |
|
27 | + ->andReturn([ |
|
28 | + 'name' => 'test', |
|
29 | + ]); |
|
30 | 30 | $collection = new FileNodeCollection(); |
31 | 31 | $collection->add($file); |
32 | 32 | |
@@ -41,14 +41,14 @@ discard block |
||
41 | 41 | { |
42 | 42 | $file = m::mock(FileNode::class); |
43 | 43 | $file->shouldReceive('getMetadata') |
44 | - ->andReturn([ |
|
45 | - 'name' => 'test', |
|
46 | - ]); |
|
44 | + ->andReturn([ |
|
45 | + 'name' => 'test', |
|
46 | + ]); |
|
47 | 47 | $file2 = m::mock(FileNode::class); |
48 | 48 | $file2->shouldReceive('getMetadata') |
49 | - ->andReturn([ |
|
50 | - 'name' => 'test2', |
|
51 | - ]); |
|
49 | + ->andReturn([ |
|
50 | + 'name' => 'test2', |
|
51 | + ]); |
|
52 | 52 | $collection = new FileNodeCollection(); |
53 | 53 | $collection->add($file); |
54 | 54 | $collection->add($file2); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | { |
68 | 68 | $file = m::mock(FileNode::class); |
69 | 69 | $file->shouldReceive('getMetadata') |
70 | - ->andReturn(false); |
|
70 | + ->andReturn(false); |
|
71 | 71 | $collection = new FileNodeCollection(); |
72 | 72 | $collection->add($file); |
73 | 73 |
@@ -5,8 +5,8 @@ |
||
5 | 5 | use Graze\DataFile\Test\Helper\FakeOptionalLogger; |
6 | 6 | use Graze\DataFile\Test\TestCase; |
7 | 7 | use Mockery as m; |
8 | -use Psr\Log\LoggerInterface; |
|
9 | 8 | use Psr\Log\LogLevel; |
9 | +use Psr\Log\LoggerInterface; |
|
10 | 10 | |
11 | 11 | class OptionalLoggerTraitTest extends TestCase |
12 | 12 | { |
@@ -1,15 +1,15 @@ discard block |
||
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 |
||
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 | } |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Graze\DataFile\Test\Unit\Modify; |
4 | 4 | |
5 | -use Graze\DataFile\Modify\Exception\MakeDirectoryFailedException; |
|
6 | 5 | use Graze\DataFile\Modify\MakeDirectory; |
7 | 6 | use Graze\DataFile\Node\FileNode; |
8 | 7 | use Graze\DataFile\Test\TestCase; |
@@ -1,15 +1,15 @@ discard block |
||
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 |
||
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(); |
@@ -1,15 +1,15 @@ |
||
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\Finder; |
15 | 15 |
@@ -1,15 +1,15 @@ |
||
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\Format; |
15 | 15 |
@@ -1,15 +1,15 @@ |
||
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\Format; |
15 | 15 |
@@ -1,15 +1,15 @@ |
||
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\Format; |
15 | 15 |
@@ -1,15 +1,15 @@ |
||
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\Format; |
15 | 15 |