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: ExpectedOutputCodeComparisonLineLength.md
# GeneratorTest Coding Standard ## Code Comparison, line length Ensure there is no PHP "Warning: str_repeat(): Second argument has to be greater than or equal to 0". Ref: squizlabs/PHP_CodeSniffer#2522 <table> <tr> <th>Valid: contains line which is too long.</th> <th>Invalid: contains line which is too long.</th> </tr> <tr> <td> class Foo extends Bar implements Countable, Serializable { } </td> <td> class Foo extends Bar { public static function foobar($param1, $param2) {} } </td> </tr> </table> Documentation generated on *REDACTED* by [PHP_CodeSniffer *VERSION*](https://github.com/PHPCSStandards/PHP_CodeSniffer)
Save
Cancel