magento-coding-standard icon indicating copy to clipboard operation
magento-coding-standard copied to clipboard

Allow more version numbers in `@deprecated` tag

Open fredden opened this issue 2 years ago • 0 comments
trafficstars

While reviewing the Static Test failures in https://github.com/magento/magento2/pull/36976 (which are out of scope for the intended change), I noticed that the message required for a @deprecated tag does not support the version numbers that Adobe use for Magento modules. For example, the magento/module-backend module is currently version 102.0.6, but the regular expression in the coding standard does not allow version numbers with more than one digit per part. This pull request fixes this oversight.

fredden avatar Mar 07 '23 16:03 fredden