opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
Functions
➕ New
📤 Upload
✎ Editing:
OpeningFunctionBraceBsdAllmanStandard.xml
← Back
<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 Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel