Closed SimonHeimberg closed 4 years ago
In case of class constants, postfix is forced (self::$x++ is valid, ++self::$x is invalid). Is this expected?
self::$x++
++self::$x
Missing test cases in Symfony/Tests/ControlStructure/UnaryOperatorsUnitTest.inc:
++Class::$v; // should be valid, but fails currently Class::$v++; // valid ++$obj->v; // valid $obj->v++; // valid
version: 3.10.0 (of escapestudios/symfony2-coding-standard)
@SimonHeimberg Could you check GH-181?
In case of class constants, postfix is forced (
self::$x++
is valid,++self::$x
is invalid). Is this expected?Missing test cases in Symfony/Tests/ControlStructure/UnaryOperatorsUnitTest.inc:
version: 3.10.0 (of escapestudios/symfony2-coding-standard)