Deprecate IgnoreClassForCodeCoverage
, IgnoreMethodForCodeCoverage
, and IgnoreFunctionForCodeCoverage
attributes
#5513
Labels
feature/code-coverage
Issues related to code coverage (but not php-code-coverage)
feature/metadata/attributes
type/deprecation
Something will be/is deprecated
Milestone
Implementing the
IgnoreClassForCodeCoverage
,IgnoreMethodForCodeCoverage
, andIgnoreFunctionForCodeCoverage
attributes was a bad idea.php-code-coverage will continute to support docblock-level
@codeCoverageIgnore
annotations on units of code such as classes or methods as well as the inline annotations@codeCoverageIgnoreStart
,@codeCoverageIgnoreEnd
, and@codeCoverageIgnore
. Due to the reasons explained in #5235, we have to stick to annotations in comments here instead of using attributes.Timeline
These changes need to be rolled back:
IgnoreClassForCodeCoverage
,IgnoreMethodForCodeCoverage
, andIgnoreFunctionForCodeCoverage
attributes #5237This will not be implemented:
@codeCoverageIgnore
annotation and theCodeCoverageIgnore
attribute #5238The text was updated successfully, but these errors were encountered: