---------------------------------------------------------------- | GENERATORTEST CODING STANDARD: CODE COMPARISON, BLOCK LENGTH | ---------------------------------------------------------------- This is a standard block. ----------------------------------------- CODE COMPARISON ------------------------------------------ | Valid: code sample A has more lines than B. | Invalid: shorter. | ---------------------------------------------------------------------------------------------------- | // This code sample has more lines | $a = 10; | | // than the "invalid" one. | | | $one = 10; | | ---------------------------------------------------------------------------------------------------- ----------------------------------------- CODE COMPARISON ------------------------------------------ | Valid: shorter. | Invalid: code sample B has more lines than A. | ---------------------------------------------------------------------------------------------------- | echo $foo; | // This code sample has more lines | | | // than the "valid" one. | | | print $foo; | ----------------------------------------------------------------------------------------------------