Skip to content

Commit e9cd535

Browse files
committed
1 parent e2715b7 commit e9cd535

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

Data/Bundle/Writer/PhpBundleWriter.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class PhpBundleWriter implements BundleWriterInterface
2525
public function write(string $path, string $locale, mixed $data): void
2626
{
2727
$template = <<<'TEMPLATE'
28-
<?php
28+
<?php
2929
30-
return %s;
30+
return %s;
3131

32-
TEMPLATE;
32+
TEMPLATE;
3333

3434
if ($data instanceof \Traversable) {
3535
$data = iterator_to_array($data);

Resources/bin/update-data.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,23 @@
3535

3636
if ($argc > 3 || 2 === $argc && '-h' === $argv[1]) {
3737
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>
3939
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.
4141
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.
4444
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/.
4848
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:
5151
52-
composer install
52+
composer install
5353

54-
MESSAGE
54+
MESSAGE
5555
);
5656
}
5757

@@ -214,15 +214,15 @@
214214
echo "Resource bundle compilation complete.\n";
215215

216216
$gitInfo = <<<GIT_INFO
217-
Git information
218-
===============
217+
Git information
218+
===============
219219
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')}
224224
225-
GIT_INFO;
225+
GIT_INFO;
226226

227227
$gitInfoFile = $dataDir.'/git-info.txt';
228228

0 commit comments

Comments
 (0)