opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
Files
➕ New
📤 Upload
✎ Editing:
OneTraitPerFileStandard.xml
← Back
<documentation title="One Trait Per File"> <standard> <![CDATA[ There should only be one trait defined in a file. ]]> </standard> <code_comparison> <code title="Valid: Only one trait in the file."> <![CDATA[ <?php <em>trait Foo</em> { } ]]> </code> <code title="Invalid: Multiple traits defined in one file."> <![CDATA[ <?php <em>trait Foo</em> { } <em>trait 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