phpunit
phpunit copied to clipboard
`@requires` should support `!=` for every type
@requires OSFAMILY != Windows should be supported.
Currently the docs say the operators are supported for PHP, PHPUnit and extension version constraints only.
I belive all operators should be supported and <, >, >=, <= should emit a warning if the left/right side of the expression is non-version string.
Annotations will not be changed. In fact, they will be deprecated in PHPUnit 11 and removed in PHPUnit 12.
Should also work for the new attributes, I am assuming? Couldn't find it in the manual whether != is supported or not.
If it should be supported but currently isn't, might be a nice small project for me.