Closed mattijv closed 2 years ago
The MethodAnnotationStructureSniff throws an error if the file does not have a comment ($commentStartPtr is false). This commit moves the @deprecated format check after we check that the file has a comment.
This fixes #399.
@magento import pr to magento-commerce/magento-coding-standard
Thanks for the fix @mattijv !
@sivaschenko the Pull Request is successfully imported.
The MethodAnnotationStructureSniff throws an error if the file does not have a comment ($commentStartPtr is false). This commit moves the @deprecated format check after we check that the file has a comment.
This fixes #399.