Skip to content

Conversation

svera
Copy link
Contributor

@svera svera commented Sep 21, 2021

This sniff will check config.xml files looking for obsolete nodes occurrences in them, using Magento2/Sniffs/Legacy/_files/obsolete_config_nodes.php as reference.

<severity>10</severity>
<type>error</type>
</rule>
<rule ref="Magento2.Legacy.ObsoleteConfigNodes">
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the correct name is "ObsoleteNodeInConfig"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jcuerdo this is referring a to nodes specific to config, so it's also correct to call them this way. Also, old rule is called also config nodes.

@svera
Copy link
Contributor Author

svera commented Sep 22, 2021

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

@m2-github-services
Copy link
Contributor

@svera the Pull Request is successfully imported.

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

5 participants