Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca7c1fe

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: [CS] Add missing commas
2 parents0a74658 +9ce8caf commitca7c1fe

File tree

18 files changed

+27
-27
lines changed

18 files changed

+27
-27
lines changed

‎components/form.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ option when building each field:
687687
'constraints' => [
688688
new NotBlank(),
689689
new Type(\DateTime::class),
690-
]
690+
],
691691
])
692692
->getForm();
693693
@@ -714,7 +714,7 @@ option when building each field:
714714
'constraints' => [
715715
new NotBlank(),
716716
new Type(\DateTime::class),
717-
]
717+
],
718718
])
719719
->getForm();
720720
// ...

‎components/property_access.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ You can also use multi dimensional arrays::
7272
],
7373
[
7474
'first_name' => 'Ryan',
75-
]
75+
],
7676
];
7777

7878
var_dump($propertyAccessor->getValue($persons, '[0][first_name]')); // 'Wouter'

‎components/var_dumper/advanced.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ method::
200200
$dumper->dump($var, $output, [
201201
// 1 and 160 are the default values for these options
202202
'maxDepth' => 1,
203-
'maxStringLength' => 160
203+
'maxStringLength' => 160,
204204
]);
205205

206206
The output format of a dumper can be fine tuned by the two flags
@@ -223,7 +223,7 @@ next to its content::
223223

224224
$varCloner = new VarCloner();
225225
$var = ['test'];
226-
226+
227227
$dumper = new CliDumper();
228228
echo $dumper->dump($varCloner->cloneVar($var), true);
229229

@@ -248,7 +248,7 @@ similar to PHP's short array notation::
248248

249249
$varCloner = new VarCloner();
250250
$var = ['test'];
251-
251+
252252
$dumper = new CliDumper();
253253
echo $dumper->dump($varCloner->cloneVar($var), true);
254254

@@ -273,7 +273,7 @@ using the logical OR operator ``|``::
273273

274274
$varCloner = new VarCloner();
275275
$var = ['test'];
276-
276+
277277
$dumper = new CliDumper(null, null, AbstractDumper::DUMP_STRING_LENGTH | AbstractDumper::DUMP_LIGHT_ARRAY);
278278
echo $dumper->dump($varCloner->cloneVar($var), true);
279279

‎components/var_exporter.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ created by using the special ``"\0"`` property name to define their internal val
120120

121121
// Creates an SplObjectHash where $info1 is associated to $object1, etc.
122122
$theObject = Instantiator::instantiate(SplObjectStorage::class, [
123-
"\0" => [$object1, $info1, $object2, $info2...]
123+
"\0" => [$object1, $info1, $object2, $info2...],
124124
]);
125125

126126
// creates an ArrayObject populated with $inputArray
127127
$theObject = Instantiator::instantiate(ArrayObject::class, [
128-
"\0" => [$inputArray]
128+
"\0" => [$inputArray],
129129
]);
130130

131131
.. _`OPcache`:https://www.php.net/opcache

‎configuration.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ This example shows how you could configure the database connection using an env
524524
'dbal' => [
525525
// by convention the env var names are always uppercase
526526
'url' => '%env(resolve:DATABASE_URL)%',
527-
]
527+
],
528528
]);
529529
};
530530

‎create_framework/unit_testing.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using `PHPUnit`_. Create a PHPUnit configuration file in
2626
<directorysuffix=".php">./src</directory>
2727
</include>
2828
</coverage>
29-
29+
3030
<testsuites>
3131
<testsuitename="Test Suite">
3232
<directory>./tests</directory>
@@ -167,7 +167,7 @@ Response::
167167
->will($this->returnValue([
168168
'_route' => 'is_leap_year/{year}',
169169
'year' => '2000',
170-
'_controller' => [new LeapYearController(), 'index']
170+
'_controller' => [new LeapYearController(), 'index'],
171171
]))
172172
;
173173
$matcher

‎mailer.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
6161
$containerConfigurator->extension('framework', [
6262
'mailer' => [
6363
'dsn' => '%env(MAILER_DSN)%',
64-
]
64+
],
6565
]);
6666
};
6767

‎mercure.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ Add your JWT secret to the configuration as follow:
400400
'url' => 'https://mercure-hub.example.com/.well-known/mercure',
401401
'jwt' => [
402402
'secret' => '!ChangeMe!',
403-
]
403+
],
404404
],
405405
],
406406
]);
@@ -499,7 +499,7 @@ Then, reference this service in the bundle configuration:
499499
'url' => 'https://mercure-hub.example.com/.well-known/mercure',
500500
'jwt' => [
501501
'provider' => MyJwtProvider::class,
502-
]
502+
],
503503
],
504504
],
505505
]);

‎reference/configuration/framework.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3320,9 +3320,9 @@ the `SMTP session`_. This value overrides any other recipient set in the code.
33203320
'recipients' => [
33213321
'admin@symfony.com',
33223322
'lead@symfony.com',
3323-
]
3324-
]
3325-
]
3323+
],
3324+
],
3325+
],
33263326
]);
33273327
};
33283328

‎reference/forms/types/birthday.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ values for the year, month and day fields::
101101
$builder->add('birthdate', BirthdayType::class, [
102102
'placeholder' => [
103103
'year' => 'Year', 'month' => 'Month', 'day' => 'Day',
104-
]
104+
],
105105
]);
106106

107107
..include::/reference/forms/types/options/date_format.rst.inc

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp