BossBey File Manager
PHP:
7.4.33
OS:
Linux
User:
root
Root
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
tests
/
Core
/
Generators
/
Expectations
📤 Upload
📝 New File
📁 New Folder
Close
Editing: ExpectedOutputCodeComparisonBlockLength.txt
---------------------------------------------------------------- | 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; | ----------------------------------------------------------------------------------------------------
Save
Cancel