Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check @deprecated format only if file has comment #400

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

mattijv
Copy link
Contributor

@mattijv mattijv commented Jun 2, 2022

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.

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.
@sivaschenko
Copy link
Member

@magento import pr to magento-commerce/magento-coding-standard

@sivaschenko
Copy link
Member

Thanks for the fix @mattijv !

@m2-github-services
Copy link
Contributor

@sivaschenko the Pull Request is successfully imported.

@magento-devops-reposync-svc magento-devops-reposync-svc merged commit e69b7f8 into magento:develop Jun 9, 2022
@m2-community-project m2-community-project bot moved this from Reviewer Approved to Done in Pull Request Progress Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Calling hasDeprecatedWellFormatted with a false $commentStartPtr leads to error
4 participants