1Indentation
2-----
3<?php
4$x;
5-----
6$stmts[0] = new Stmt\If_(new Expr\Variable('a'), ['stmts' => $stmts]);
7-----
8!!indent="  "
9<?php
10if ($a) {
11  $x;
12}
13-----
14<?php
15$x;
16-----
17$stmts[0] = new Stmt\If_(new Expr\Variable('a'), ['stmts' => $stmts]);
18-----
19!!indent="\t"
20<?php
21if ($a) {
22@@{"\t"}@@$x;
23}
24-----
25<?php
26if ($a) {
27@@{"\t"}@@$x;
28}
29-----
30$stmts[0]->stmts[] = new Stmt\Expression(new Expr\Variable('y'));
31-----
32!!indent="\t"
33<?php
34if ($a) {
35@@{"\t"}@@$x;
36@@{"\t"}@@$y;
37}
38-----
39<?php
40array_merge(
41    [
42$x,
43        $y,
44    ]
45);
46-----
47$call = $stmts[0]->expr;
48$stmts[0]->expr = new Expr\StaticCall(new Node\Name\FullyQualified('Compat'), $call->name, $call->args);
49-----
50<?php
51\Compat::array_merge([
52$x,
53    $y,
54]);
55-----
56<?php
57if ($a) {
58        if (
59$b
60        ) {}
61}
62-----
63$stmts[0] = new Stmt\While_($stmts[0]->cond, $stmts[0]->stmts);
64-----
65<?php
66while ($a) {
67    if (
68$b
69    ) {}
70}
71