Skip to content

Include all Magento2 sniffs in Magento2Framework #417

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

Conversation

fredden
Copy link
Member

@fredden fredden commented Jul 13, 2022

I have recently opened a pull request on https://github.com/magento/magento2. When I ran the static analysis automated test, some complaints were raised (for unchanged parts of the files which were being fixed/modified). To see these locally, I ran phpcs --standard=Magento2Framework path-to/file.php, however not all the complaints showed. When I ran phpcs --standard=Magento2 path-to/file.php the other complaints were visible. It doesn't seem right that the Magento2Framework standard doesn't include the rules defined in the Magento2 standard. This pull request fixes this inconsistency.

@sinhaparul
Copy link
Contributor

@magento import PR to magento-commerce/magento-coding-standard repository

@m2-github-services
Copy link
Contributor

@sinhaparul the Pull Request is successfully imported.

@sidolov
Copy link
Collaborator

sidolov commented Sep 27, 2023

@magento import PR to magento-commerce/magento-coding-standard repository

@m2-github-services
Copy link
Contributor

@sidolov the Pull Request is successfully imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants