We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
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
The text was updated successfully, but these errors were encountered: