I think we could think about whether errors like > Version requirement is incomplete. can be made autofixable...? most obvious examples would be ```diff - #[RequiresPhp('^8.0')] + #[RequiresPhp('^8.0.0')] ``` ```diff - #[RequiresPhp('>=8.0')] +- #[RequiresPhp('>=8.0.0')] ``` ```diff - #[RequiresPhp('>=8')] +- #[RequiresPhp('>=8.0.0')] ``` ```diff - #[RequiresPhpunit('>=12')] +- #[RequiresPhpunit('>=12.0.0')] ``` in which the comparison operator is given, but the version is not 3 digits see - https://github.com/phpstan/phpstan-phpunit/pull/268 - https://github.com/phpstan/phpstan-phpunit/pull/308
Activity