opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Generic
/
Docs
/
WhiteSpace
➕ New
📤 Upload
✎ Editing:
IncrementDecrementSpacingStandard.xml
← Back
<documentation title="Increment Decrement Spacing"> <standard> <![CDATA[ There should be no whitespace between variables and increment/decrement operators. ]]> </standard> <code_comparison> <code title="Valid: No whitespace between variables and increment/decrement operators."> <![CDATA[ ++<em></em>$i; --<em></em>$i['key']['id']; ClassName::$prop<em></em>++; $obj->prop<em></em>--; ]]> </code> <code title="Invalid: Whitespace between variables and increment/decrement operators."> <![CDATA[ ++<em> </em>$i; --<em> </em>$i['key']['id']; ClassName::$prop<em> </em>++; $obj->prop<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