Closed martinssipenko closed 6 months ago
As described in https://github.com/sebastianbergmann/phpunit/issues/5235 and https://github.com/sebastianbergmann/phpunit/issues/5513 the CodeCoverageIgnore attribute was a mistake and is now deprecated, therefore Rector should not try to replace annotation with the attribute.
CodeCoverageIgnore
https://github.com/rectorphp/rector-phpunit/blob/2095737213ec328db197774a5d073e962c14174c/config/sets/annotations-to-attributes.php#L91
@martinssipenko Could you create a PR to fix it? Thank you.
@samsonasik created https://github.com/rectorphp/rector-phpunit/pull/304
As described in https://github.com/sebastianbergmann/phpunit/issues/5235 and https://github.com/sebastianbergmann/phpunit/issues/5513 the
CodeCoverageIgnore
attribute was a mistake and is now deprecated, therefore Rector should not try to replace annotation with the attribute.https://github.com/rectorphp/rector-phpunit/blob/2095737213ec328db197774a5d073e962c14174c/config/sets/annotations-to-attributes.php#L91