inContentLanguage() ->text(); $str = '1' . $foo . $s . '2' . 'LONG LINE' . 'MORELONGLINE'; f( ...$a ); $arrayWithWrongCommaSpacing = [ 'a', 'b', 'c', 'd' ]; [ $a, $b ] = [ 1, 2 ]; $doubleNegative = (bool)random_int( 0, 1 ); $wrongConstantCase1 = true; $wrongConstantCase2 = false; $misplacedSemicolon = true; $becauseItIsOnADiferentLine = true; $misplacedCommas = [ 'First', 'Second', ]; // Check spacing after the `if` keyword if ( rand() ) { } $spaceBeforeMethodCallOp = $someObj->someCall(); function wfTestNestedFunction() { function thisShouldBeFlagged() { echo 'fail!'; } }