Closed antonioeatgoat closed 2 months ago
At the current moment, we don't have any specific rule for spaces after the negation operator.
This means that the following cases are both accepted:
!$test
! $test
No space should be enforced.
For the implementation, it is possible to use the existing SlevomatCodingStandard.Operators.NegationOperatorSpacing, which allows to configure the number of expected spaces.
Either having the space or not, but not both cases accepted.
No response
Is your feature request related to a problem?
At the current moment, we don't have any specific rule for spaces after the negation operator.
This means that the following cases are both accepted:
!$test
! $test
Describe the desired solution
No space should be enforced.
For the implementation, it is possible to use the existing SlevomatCodingStandard.Operators.NegationOperatorSpacing, which allows to configure the number of expected spaces.
Describe the alternatives that you have considered
Either having the space or not, but not both cases accepted.
Additional context
No response
Code of Conduct