Skip to content

Commit df81a1a

Browse files
minor symfony#58472 CS: clean some whitespaces/indentation (keradus)
This PR was squashed before being merged into the 7.2 branch. Discussion ---------- CS: clean some whitespaces/indentation | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | Fix CS | License | MIT Commits ------- d0f63b8 CS: clean some whitespaces/indentation
1 parent b173105 commit df81a1a

File tree

5 files changed

+199
-198
lines changed

5 files changed

+199
-198
lines changed

src/Symfony/Bridge/Twig/Tests/Node/SearchAndRenderBlockNodeTest.php

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ public function testCompileWidgetWithVariables()
6262
if (class_exists(Nodes::class)) {
6363
$arguments = new Nodes([
6464
new NameExpression('form', 0),
65-
new ArrayExpression([
66-
new ConstantExpression('foo', 0),
67-
new ConstantExpression('bar', 0),
65+
new ArrayExpression([
66+
new ConstantExpression('foo', 0),
67+
new ConstantExpression('bar', 0),
6868
], 0),
6969
]);
7070
} else {
@@ -226,9 +226,9 @@ public function testCompileLabelWithAttributes()
226226
$arguments = new Nodes([
227227
new NameExpression('form', 0),
228228
new ConstantExpression(null, 0),
229-
new ArrayExpression([
230-
new ConstantExpression('foo', 0),
231-
new ConstantExpression('bar', 0),
229+
new ArrayExpression([
230+
new ConstantExpression('foo', 0),
231+
new ConstantExpression('bar', 0),
232232
], 0),
233233
]);
234234
} else {
@@ -268,11 +268,11 @@ public function testCompileLabelWithLabelAndAttributes()
268268
$arguments = new Nodes([
269269
new NameExpression('form', 0),
270270
new ConstantExpression('value in argument', 0),
271-
new ArrayExpression([
272-
new ConstantExpression('foo', 0),
273-
new ConstantExpression('bar', 0),
274-
new ConstantExpression('label', 0),
275-
new ConstantExpression('value in attributes', 0),
271+
new ArrayExpression([
272+
new ConstantExpression('foo', 0),
273+
new ConstantExpression('bar', 0),
274+
new ConstantExpression('label', 0),
275+
new ConstantExpression('value in attributes', 0),
276276
], 0),
277277
]);
278278
} else {
@@ -310,14 +310,14 @@ public function testCompileLabelWithLabelThatEvaluatesToNull()
310310
if (class_exists(Nodes::class)) {
311311
$arguments = new Nodes([
312312
new NameExpression('form', 0),
313-
new ConditionalExpression(
314-
// if
315-
new ConstantExpression(true, 0),
316-
// then
317-
new ConstantExpression(null, 0),
318-
// else
319-
new ConstantExpression(null, 0),
320-
0
313+
new ConditionalExpression(
314+
// if
315+
new ConstantExpression(true, 0),
316+
// then
317+
new ConstantExpression(null, 0),
318+
// else
319+
new ConstantExpression(null, 0),
320+
0
321321
),
322322
]);
323323
} else {
@@ -361,20 +361,20 @@ public function testCompileLabelWithLabelThatEvaluatesToNullAndAttributes()
361361
if (class_exists(Nodes::class)) {
362362
$arguments = new Nodes([
363363
new NameExpression('form', 0),
364-
new ConditionalExpression(
365-
// if
366-
new ConstantExpression(true, 0),
367-
// then
368-
new ConstantExpression(null, 0),
369-
// else
370-
new ConstantExpression(null, 0),
371-
0
372-
),
373-
new ArrayExpression([
374-
new ConstantExpression('foo', 0),
375-
new ConstantExpression('bar', 0),
376-
new ConstantExpression('label', 0),
377-
new ConstantExpression('value in attributes', 0),
364+
new ConditionalExpression(
365+
// if
366+
new ConstantExpression(true, 0),
367+
// then
368+
new ConstantExpression(null, 0),
369+
// else
370+
new ConstantExpression(null, 0),
371+
0
372+
),
373+
new ArrayExpression([
374+
new ConstantExpression('foo', 0),
375+
new ConstantExpression('bar', 0),
376+
new ConstantExpression('label', 0),
377+
new ConstantExpression('value in attributes', 0),
378378
], 0),
379379
]);
380380
} else {

0 commit comments

Comments
 (0)