Skip to content

Commit bf0b0d2

Browse files
authored
Usage example code indentation fix.
1 parent 668bfce commit bf0b0d2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ Install files in a project as part of a `composer install` or `composer update`.
77
```php
88
<?php
99
// Create a file mapping.
10-
$mappingFilePaths = new UnixFileMapping(
11-
__DIR__ . '/../folder/files',
12-
getcwd(),
13-
['./dir/one','./dir/two']
14-
15-
);
10+
$mappingFilePaths = new UnixFileMapping(
11+
__DIR__ . '/../folder/files',
12+
getcwd(),
13+
['./dir/one','./dir/two']
14+
15+
);
1616

1717
// Get a file mapping reader.
1818
$reader = new UnixFileMappingReader($sourceDirectory, $targetDirectory, $mappingFilePaths);
1919

2020
// Get an installer, supply with the file mapping reader.
2121
$installer = new FileInstaller($reader);
2222

23-
// Install according to mapping, supply with Composer IOInterface.
24-
$installer->install($io);
23+
// Install according to mapping, supply with Composer IOInterface.
24+
$installer->install($io);
2525
```

0 commit comments

Comments
 (0)