BossBey File Manager
PHP:
7.4.33
OS:
Linux
User:
root
Root
/
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
Functions
📤 Upload
📝 New File
📁 New Folder
Close
Editing: OpeningFunctionBraceBsdAllmanStandard.xml
<documentation title="Opening Function Brace Bsd Allman"> <standard> <![CDATA[ Function declarations must follow the "BSD/Allman style". The opening brace is on the line following the function declaration and is indented to the same column as the start of the function declaration. The brace must be the last content on the line. ]]> </standard> <code_comparison> <code title="Valid: Opening brace on the next line."> <![CDATA[ function fooFunction($arg1, $arg2 = '') <em>{</em> // Do something } ]]> </code> <code title="Invalid: Opening brace on the same line."> <![CDATA[ function fooFunction($arg1, $arg2 = '') <em>{</em> // Do something } ]]> </code> </code_comparison> </documentation>
Save
Cancel