<?php

if ( $x ) {}
f( );
q(                      );
g();
if ($x) {} else if ( $y ) {}

$obj->m(
  $x,
  $y,
  $z);
for ( $ii = 0; $ii < 1; $ii++ ) {}
foreach ( $x as $y ) {}
function q( $x ) {}
final class X {
  public function f( $y ) {}
}
foreach ( $z as $k => $v ) {}
some_call( /* respect authorial intent */ $b,
  $a // if comments are present
  );
~~~~~~~~~~
warning:3:5
warning:3:8
warning:4:3
warning:5:3
warning:7:21
warning:7:24
warning:13:6
warning:13:30
warning:14:10
warning:14:19
warning:15:12
warning:15:15
warning:17:21
warning:17:24
warning:19:10
warning:19:25
~~~~~~~~~~
<?php

if ($x) {}
f();
q();
g();
if ($x) {} else if ($y) {}

$obj->m(
  $x,
  $y,
  $z);
for ($ii = 0; $ii < 1; $ii++) {}
foreach ($x as $y) {}
function q($x) {}
final class X {
  public function f($y) {}
}
foreach ($z as $k => $v) {}
some_call( /* respect authorial intent */ $b,
  $a // if comments are present
  );
