Skip to content

Commit 0b8eeaa

Browse files
MC-19366: Fixes that field name validation was executed although it should not
1 parent 49f0b0b commit 0b8eeaa

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

Magento2/ruleset.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,15 @@
526526
<severity>6</severity>
527527
<type>warning</type>
528528
</rule>
529-
<!-- Field name validation deactivated as per request https://github.com/magento/magento-coding-standard/pull/141#discussion_r323349939 -->
530-
<!-- <rule ref="Magento2.GraphQL.ValidFieldName">-->
531-
<!-- <severity>6</severity>-->
532-
<!-- <type>warning</type>-->
533-
<!-- </rule>-->
529+
<rule ref="Magento2.GraphQL.ValidFieldName">
530+
<!--
531+
* Field name validation deactivated as per request
532+
* https://github.com/magento/magento-coding-standard/pull/141#discussion_r323349939
533+
-->
534+
<exclude name="Magento2.GraphQL.ValidFieldName" />
535+
<severity>6</severity>
536+
<type>warning</type>
537+
</rule>
534538
<rule ref="Magento2.GraphQL.ValidArgumentName">
535539
<severity>6</severity>
536540
<type>warning</type>

0 commit comments

Comments
 (0)