opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Squiz
/
Docs
/
WhiteSpace
➕ New
📤 Upload
✎ Editing:
FunctionClosingBraceSpaceStandard.xml
← Back
<documentation title="Function Closing Brace Space"> <standard> <![CDATA[ There should be a single blank line before the function closing brace. ]]> </standard> <code_comparison> <code title="Valid: A single blank line before the function closing brace."> <![CDATA[ function outer() <em>{ }</em> ]]> </code> <code title="Invalid: No blank line before the function closing brace."> <![CDATA[ function outer() <em>{}</em> ]]> </code> </code_comparison> <standard> <![CDATA[ Closing brace of nested function must be on a new line. ]]> </standard> <code_comparison> <code title="Valid: Nested function closing brace is on a new line."> <![CDATA[ function outer() { function inner() <em>{ }</em> } ]]> </code> <code title="Invalid: Nested function closing brace on the same line."> <![CDATA[ function outer() { function inner() <em>{}</em> } ]]> </code> </code_comparison> <standard> <![CDATA[ Closing brace of nested function must not be followed by a blank line. ]]> </standard> <code_comparison> <code title="Valid: No blank line before the closing brace of a nested function."> <![CDATA[ function outer() { function inner() <em>{ }</em> } ]]> </code> <code title="Invalid: A single blank line before the closing brace of a nested function."> <![CDATA[ function outer() { function inner() <em>{ }</em> } ]]> </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