## 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.
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| arrays.md | File | 1.58 KB | 0644 |
|
| attributes.md | File | 1.75 KB | 0644 |
|
| classes.md | File | 13.82 KB | 0644 |
|
| commenting.md | File | 5.72 KB | 0644 |
|
| complexity.md | File | 288 B | 0644 |
|
| control-structures.md | File | 9.32 KB | 0644 |
|
| exceptions.md | File | 1.14 KB | 0644 |
|
| files.md | File | 2.54 KB | 0644 |
|
| functions.md | File | 5.21 KB | 0644 |
|
| namespaces.md | File | 7.76 KB | 0644 |
|
| numbers.md | File | 625 B | 0644 |
|
| operators.md | File | 1.11 KB | 0644 |
|
| php.md | File | 3.09 KB | 0644 |
|
| strings.md | File | 392 B | 0644 |
|
| type-hints.md | File | 10.71 KB | 0644 |
|
| variables.md | File | 749 B | 0644 |
|
| whitespaces.md | File | 623 B | 0644 |
|