Closed
Description
Description
PHP CodeSniffer goes out-of-box with beautifier tool (phpcbf
). To use this functionality sniff should throw fixable warning
/error
and provide fix (tokens replacement, content change, etc).
Now rules under Magento/Annotation
raise regular warnings so annotation issues cannot be fixes automatically by phpcbf
.
Expected behavior
The sniff throws fixable warning instead of warning and provides fix for an issue it detects.
Benefits
Annotation issues will be fixable automatically by phpcbf
tool.
Additional information
Useful links: