@@ -199,6 +199,9 @@ |
||
199 | 199 | ]; |
200 | 200 | } |
201 | 201 | |
202 | + /** |
|
203 | + * @param string $relativePathname |
|
204 | + */ |
|
202 | 205 | private static function makeTestSource($relativePathname, array $configurationData = []) |
203 | 206 | { |
204 | 207 | $configuration = new Configuration($configurationData); |
@@ -20,6 +20,9 @@ |
||
20 | 20 | |
21 | 21 | class CompositeDataSourceTest extends TestCase |
22 | 22 | { |
23 | + /** |
|
24 | + * @param string $dataSourceId |
|
25 | + */ |
|
23 | 26 | public function makeDataSource($dataSourceId) |
24 | 27 | { |
25 | 28 | $dataSource = $this->createMock(DataSourceInterface::class); |
@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | class SourceSetTest extends TestCase |
21 | 21 | { |
22 | + /** |
|
23 | + * @param string $sourceId |
|
24 | + */ |
|
22 | 25 | public function makeTestSource($sourceId, $hasChanged = true) |
23 | 26 | { |
24 | 27 | $source = $this->createMock(SourceInterface::class); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | */ |
54 | 54 | public function dataSourceId(): string |
55 | 55 | { |
56 | - return 'CompositeDataSource('.implode(',', array_map(function (DataSourceInterface $dataSource) { |
|
56 | + return 'CompositeDataSource('.implode(',', array_map(function(DataSourceInterface $dataSource) { |
|
57 | 57 | return $dataSource->dataSourceId(); |
58 | 58 | }, $this->dataSources)); |
59 | 59 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | /** |
44 | 44 | * File reference. (if hasFileReference) |
45 | 45 | */ |
46 | - public function file() :?\SplFileInfo; |
|
46 | + public function file() : ?\SplFileInfo; |
|
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Formatted content (if not hasFileReference) |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | namespace Sculpin\Core\Io; |
15 | 15 | |
16 | -use Symfony\Component\Console\Helper\HelperSet; |
|
17 | 16 | use Symfony\Component\Console\Input\InputInterface; |
18 | 17 | use Symfony\Component\Console\Output\OutputInterface; |
19 | 18 |