PHP Classes

File: vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.md

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.md   Download  
File: vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 19 days ago
Size: 749 bytes
 

Contents

Class file image Download

GeneratorTest Coding Standard

Code Comparison, block length

This is a standard block. <table> <tr>

<th>Valid: code sample A has more lines than B.</th>
<th>Invalid: shorter.</th>

</tr> <tr> <td>

// This code sample has more lines
// than the "invalid" one.
$one = 10;

</td> <td>

$a = 10;

</td> </tr> </table> <table> <tr>

<th>Valid: shorter.</th>
<th>Invalid: code sample B has more lines than A.</th>

</tr> <tr> <td>

echo $foo;

</td> <td>

// This code sample has more lines
// than the "valid" one.
print $foo;

</td> </tr> </table>

Documentation generated on REDACTED by PHP_CodeSniffer VERSION