@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | { |
45 | 45 | $collection = m::mock(FileNodeCollectionInterface::class); |
46 | 46 | $collection->shouldReceive('getIterator') |
47 | - ->andReturn([]); |
|
47 | + ->andReturn([]); |
|
48 | 48 | |
49 | 49 | $node = m::mock(LocalFile::class); |
50 | 50 | static::assertTrue($this->merge->canContract($collection, $node)); |
@@ -55,9 +55,9 @@ discard block |
||
55 | 55 | $collection = new FileNodeCollection(); |
56 | 56 | $file1 = m::mock(LocalFile::class); |
57 | 57 | $file1->shouldReceive('exists') |
58 | - ->andReturn(true); |
|
58 | + ->andReturn(true); |
|
59 | 59 | $file1->shouldReceive('getCompression') |
60 | - ->andReturn(CompressionType::NONE); |
|
60 | + ->andReturn(CompressionType::NONE); |
|
61 | 61 | $collection->add($file1); |
62 | 62 | |
63 | 63 | $out = m::mock(LocalFile::class); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | $file2 = m::mock(FileNodeInterface::class); |
68 | 68 | $file2->shouldReceive('getCompression') |
69 | - ->andReturn(CompressionType::NONE); |
|
69 | + ->andReturn(CompressionType::NONE); |
|
70 | 70 | $collection->add($file2); |
71 | 71 | |
72 | 72 | static::assertFalse($this->merge->canContract($collection, $out)); |
@@ -77,9 +77,9 @@ discard block |
||
77 | 77 | $collection = new FileNodeCollection(); |
78 | 78 | $file1 = m::mock(LocalFile::class); |
79 | 79 | $file1->shouldReceive('exists') |
80 | - ->andReturn(true); |
|
80 | + ->andReturn(true); |
|
81 | 81 | $file1->shouldReceive('getCompression') |
82 | - ->andReturn(CompressionType::NONE); |
|
82 | + ->andReturn(CompressionType::NONE); |
|
83 | 83 | $collection->add($file1); |
84 | 84 | |
85 | 85 | $out = m::mock(LocalFile::class); |
@@ -88,9 +88,9 @@ discard block |
||
88 | 88 | |
89 | 89 | $file2 = m::mock(LocalFile::class); |
90 | 90 | $file2->shouldReceive('exists') |
91 | - ->andReturn(false); |
|
91 | + ->andReturn(false); |
|
92 | 92 | $file2->shouldReceive('getCompression') |
93 | - ->andReturn(CompressionType::NONE); |
|
93 | + ->andReturn(CompressionType::NONE); |
|
94 | 94 | $collection->add($file2); |
95 | 95 | |
96 | 96 | static::assertFalse($this->merge->canContract($collection, $out)); |
@@ -101,9 +101,9 @@ discard block |
||
101 | 101 | $collection = new FileNodeCollection(); |
102 | 102 | $file1 = m::mock(LocalFile::class); |
103 | 103 | $file1->shouldReceive('exists') |
104 | - ->andReturn(true); |
|
104 | + ->andReturn(true); |
|
105 | 105 | $file1->shouldReceive('getCompression') |
106 | - ->andReturn(CompressionType::NONE); |
|
106 | + ->andReturn(CompressionType::NONE); |
|
107 | 107 | $collection->add($file1); |
108 | 108 | |
109 | 109 | $out = m::mock(LocalFile::class); |
@@ -112,9 +112,9 @@ discard block |
||
112 | 112 | |
113 | 113 | $file2 = m::mock(LocalFile::class); |
114 | 114 | $file2->shouldReceive('exists') |
115 | - ->andReturn(true); |
|
115 | + ->andReturn(true); |
|
116 | 116 | $file2->shouldReceive('getCompression') |
117 | - ->andReturn(CompressionType::GZIP); |
|
117 | + ->andReturn(CompressionType::GZIP); |
|
118 | 118 | $collection->add($file2); |
119 | 119 | |
120 | 120 | static::assertFalse($this->merge->canContract($collection, $out)); |
@@ -125,9 +125,9 @@ discard block |
||
125 | 125 | $collection = new FileNodeCollection(); |
126 | 126 | $file = m::mock(LocalFile::class); |
127 | 127 | $file->shouldReceive('exists') |
128 | - ->andReturn(false); |
|
128 | + ->andReturn(false); |
|
129 | 129 | $file->shouldReceive('getCompression') |
130 | - ->andReturn(CompressionType::NONE); |
|
130 | + ->andReturn(CompressionType::NONE); |
|
131 | 131 | $collection->add($file); |
132 | 132 | |
133 | 133 | $target = m::mock(LocalFile::class); |
@@ -142,9 +142,9 @@ discard block |
||
142 | 142 | $collection = new FileNodeCollection(); |
143 | 143 | $file = m::mock(LocalFile::class); |
144 | 144 | $file->shouldReceive('exists') |
145 | - ->andReturn(true); |
|
145 | + ->andReturn(true); |
|
146 | 146 | $file->shouldReceive('getCompression') |
147 | - ->andReturn(CompressionType::NONE); |
|
147 | + ->andReturn(CompressionType::NONE); |
|
148 | 148 | $collection->add($file); |
149 | 149 | |
150 | 150 | $target = m::mock(FileNodeInterface::class); |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | { |
242 | 242 | $process = m::mock('Symfony\Component\Process\Process')->makePartial(); |
243 | 243 | $this->processFactory->shouldReceive('createProcess') |
244 | - ->andReturn($process); |
|
244 | + ->andReturn($process); |
|
245 | 245 | |
246 | 246 | $process->shouldReceive('isSuccessful')->andReturn(false); |
247 | 247 |