PHP Classes

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

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.txt   Download  
File: vendor/squizlabs/php_codesniffer/tests/Core/Generators/Expectations/ExpectedOutputCodeComparisonBlockLength.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 27 days ago
Size: 1,640 bytes
 

Contents

Class file image Download
---------------------------------------------------------------- | 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; | ----------------------------------------------------------------------------------------------------