GeneratorTest Coding Standards

Table of Contents

No Content

Code Comparison Only, Missing Standard Block

Valid: Lorem ipsum dolor sit amet. Invalid: Maecenas non rutrum dolor.
class Code {} class Comparison {}

One Standard Block, Code Comparison

Documentation contains one standard block and one code comparison.

Valid: Lorem ipsum dolor sit amet. Invalid: Maecenas non rutrum dolor.
class Code {} class Comparison {}

One Standard Block, No Code

Documentation contains one standard block and no code comparison.

One Standard Block, Two Code Comparisons

Documentation contains one standard block and two code comparisons.

Valid: Etiam commodo magna at vestibulum blandit. Invalid: Vivamus lacinia ante velit.
class Code {} class Comparison {}
Valid: Pellentesque nisi neque. Invalid: Mauris dictum metus quis maximus pharetra.
$one = 10; $a = 10;

Two Standard Blocks, No Code

This is standard block one.

This is standard block two.

Two Standard Blocks, One Code Comparison

This is standard block one.

Valid: Vestibulum et orci condimentum. Invalid: Donec in nisl ut tortor convallis interdum.
class Code {} class Comparison {}

This is standard block two.

Two Standard Blocks, Three Code Comparisons

This is standard block one.

Valid: Vestibulum et orci condimentum. Invalid: Donec in nisl ut tortor convallis interdum.
class Code {} class Comparison {}

This is standard block two.

Valid: Pellentesque nisi neque. Invalid: Mauris dictum metus quis maximus pharetra.
$one = 10; $a = 10;
Valid: Quisque sagittis nisi vitae. Invalid: Morbi ac libero vitae lorem.
echo $foo; print $foo;
Documentation generated on #REDACTED# by PHP_CodeSniffer #VERSION#