|
35 | 35 |
|
36 | 36 | if ($argc > 3 || 2 === $argc && '-h' === $argv[1]) { |
37 | 37 | bailout(<<<'MESSAGE' |
38 | | -Usage: php update-data.php <path/to/icu/source> <path/to/icu/build> |
| 38 | + Usage: php update-data.php <path/to/icu/source> <path/to/icu/build> |
39 | 39 |
|
40 | | -Updates the ICU data for Symfony to the latest version of ICU. |
| 40 | + Updates the ICU data for Symfony to the latest version of ICU. |
41 | 41 |
|
42 | | -If you downloaded the git repository before, you can pass the path to the |
43 | | -repository source in the first optional argument. |
| 42 | + If you downloaded the git repository before, you can pass the path to the |
| 43 | + repository source in the first optional argument. |
44 | 44 |
|
45 | | -If you also built the repository before, you can pass the directory where that |
46 | | -build is stored in the second parameter. The build directory needs to contain |
47 | | -the subdirectories bin/ and lib/. |
| 45 | + If you also built the repository before, you can pass the directory where that |
| 46 | + build is stored in the second parameter. The build directory needs to contain |
| 47 | + the subdirectories bin/ and lib/. |
48 | 48 |
|
49 | | -For running this script, the intl extension must be loaded and all vendors |
50 | | -must have been installed through composer: |
| 49 | + For running this script, the intl extension must be loaded and all vendors |
| 50 | + must have been installed through composer: |
51 | 51 |
|
52 | | -composer install |
| 52 | + composer install |
53 | 53 |
|
54 | | -MESSAGE |
| 54 | + MESSAGE |
55 | 55 | ); |
56 | 56 | } |
57 | 57 |
|
|
214 | 214 | echo "Resource bundle compilation complete.\n"; |
215 | 215 |
|
216 | 216 | $gitInfo = <<<GIT_INFO |
217 | | -Git information |
218 | | -=============== |
| 217 | + Git information |
| 218 | + =============== |
219 | 219 |
|
220 | | -URL: {$git->getUrl()} |
221 | | -Revision: {$git->getLastCommitHash()} |
222 | | -Author: {$git->getLastAuthor()} |
223 | | -Date: {$git->getLastAuthoredDate()->format('c')} |
| 220 | + URL: {$git->getUrl()} |
| 221 | + Revision: {$git->getLastCommitHash()} |
| 222 | + Author: {$git->getLastAuthor()} |
| 223 | + Date: {$git->getLastAuthoredDate()->format('c')} |
224 | 224 |
|
225 | | -GIT_INFO; |
| 225 | + GIT_INFO; |
226 | 226 |
|
227 | 227 | $gitInfoFile = $dataDir.'/git-info.txt'; |
228 | 228 |
|
|
0 commit comments