Skip to content

AC-661: Create phpcs static check for XmlTest #266

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

Merged
merged 9 commits into from
Sep 13, 2021
Merged

AC-661: Create phpcs static check for XmlTest #266

merged 9 commits into from
Sep 13, 2021

Conversation

jcuerdo
Copy link
Contributor

@jcuerdo jcuerdo commented Sep 9, 2021

\Magento\Test\Legacy\Magento\Widget\XmlTest test for backwards-incompatible change in widget.xml structure

@svera
Copy link
Contributor

svera commented Sep 9, 2021

Also provide a description for the PR

Copy link
Contributor

@loginesta loginesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can run the following in advance vendor/bin/phpcs --standard=Magento2 Magento2/Helpers/ Magento2/Sniffs, prior to pushing changes to your PR

@jcuerdo jcuerdo requested review from loginesta and svera September 9, 2021 14:33
Copy link
Contributor

@svera svera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This case is still missing, I was referring to badly formatted XML file, not wrong XML:

Include another file like this, but having the translate attribute in a new line to check also badly formatted XML files

loginesta
loginesta previously approved these changes Sep 9, 2021
@jcuerdo
Copy link
Contributor Author

jcuerdo commented Sep 13, 2021

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

@magento-engcom-team
Copy link
Contributor

@jcuerdo the pull request 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.

5 participants