opt
/
cpanel
/
ea-wappspector
/
vendor
/
slevomat
/
coding-standard
/
doc
➕ New
📤 Upload
✎ Editing:
operators.md
← Back
## Operators #### SlevomatCodingStandard.Operators.DisallowEqualOperators 🔧 Disallows using loose `==` and `!=` comparison operators. Use `===` and `!==` instead, they are much more secure and predictable. #### SlevomatCodingStandard.Operators.DisallowIncrementAndDecrementOperators Disallows using `++` and `--` operators. #### SlevomatCodingStandard.Operators.NegationOperatorSpacing 🔧 Checks if there is the same number of spaces after negation operator as expected. Sniff provides the following settings: * `spacesCount`: the number of spaces expected after the negation operator #### SlevomatCodingStandard.Operators.RequireCombinedAssignmentOperator 🔧 Requires using combined assignment operators, eg `+=`, `.=` etc. #### SlevomatCodingStandard.Operators.RequireOnlyStandaloneIncrementAndDecrementOperators Reports `++` and `--` operators not used standalone. #### SlevomatCodingStandard.Operators.SpreadOperatorSpacing 🔧 Enforces configurable number of spaces after the `...` operator. Sniff provides the following settings: * `spacesCountAfterOperator`: the number of spaces after the `...` operator.
💾 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