Closed mmoll closed 5 years ago
https://symfony.com/doc/current/contributing/code/standards.html says "Place unary operators (!, --, ...) adjacent to the affected variable;".
Symfony.ControlStructure.UnaryOperatorsSniff does not contain the ! (on purpose?) and has no autofixer, so i think it's better this way.
Symfony.ControlStructure.UnaryOperatorsSniff
!
/cc @djoos @xalopp
Thanks for your contribution @mmoll!
https://symfony.com/doc/current/contributing/code/standards.html says "Place unary operators (!, --, ...) adjacent to the affected variable;".
Symfony.ControlStructure.UnaryOperatorsSniff
does not contain the!
(on purpose?) and has no autofixer, so i think it's better this way./cc @djoos @xalopp