1234567891011121314151617181920212223242526272829303132333435363738 |
- <?xml version="1.0"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <ruleset name="Magento2FunctionalTestingFramework">
- <description>Custom Magento2 Functional Testing Framework coding standard.</description>
- <rule ref="PSR2"/>
- <rule ref="Magento.Files.LineLength">
- <properties>
- <property name="lineLimit" value="120"/>
- <property name="absoluteLineLimit" value="120"/>
- </properties>
- </rule>
- <rule ref="Magento.LiteralNamespaces.LiteralNamespaces">
- <exclude-pattern>*/_files/*</exclude-pattern>
- </rule>
- <rule ref="Magento.Commenting.FunctionComment">
- <exclude-pattern>*/dev/tests*</exclude-pattern>
- </rule>
- <rule ref="Magento.Commenting.VariableComment"/>
- <rule ref="Generic.Functions.CallTimePassByReference"/>
- <rule ref="Generic.PHP.DeprecatedFunctions"/>
- <rule ref="Squiz.Commenting.DocCommentAlignment"/>
- <rule ref="Squiz.Functions.GlobalFunction"/>
- <rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
- <!-- Codeception Webdriver violates this, cannot fix as we extend from them -->
- <rule ref="PSR2.Methods.MethodDeclaration.Underscore">
- <severity>0</severity>
- </rule>
- </ruleset>
|