Unary operators should be placed adjacent to their operands.
--- Original
+++ New
<?php
-$sample ++;
--- $sample;
-$sample = ! ! $a;
-$sample = ~ $c;
-function & foo(){}
+$sample++;
+--$sample;
+$sample = !!$a;
+$sample = ~$c;
+function &foo(){}
The rule is part of the following rule sets: