opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
PSR12
/
Docs
/
Classes
➕ New
📤 Upload
✎ Editing:
ClosingBraceStandard.xml
← Back
<documentation title="Closing Brace"> <standard> <![CDATA[ The closing brace of object-oriented constructs and functions must not be followed by any comment or statement on the same line. ]]> </standard> <code_comparison> <code title="Valid: Closing brace is the last content on the line."> <![CDATA[ class Foo { // Class content. }<em></em> function bar() { // Function content. }<em></em> ]]> </code> <code title="Invalid: Comment or statement following the closing brace on the same line."> <![CDATA[ interface Foo2 { // Interface content. } <em>echo 'Hello!';</em> function bar() { // Function content. } <em>//end bar()</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